<{if count($goodsItems) > 0}>

<{t}>货号<{/t}> | <{t}>商品名称<{/t}> | <{t}>分类<{/t}> | <{t}>价格<{/t}> | <{t}>购买量<{/t}> | <{t}>已发货量<{/t}> <{foreach from=$goodsItems item=aGoods name="item"}>
--- | --- | --- | --- | --- | ---
<{$aGoods.bn}> | href="../index.php?ctl=product&act=index&p[0]=<{$aGoods.goods_id}>" <{else}>href="../index.php?ctl=package&act=index"<{/if}> target="_blank"><{$aGoods.name}> <{if is_array($aGoods.minfo)}> <{foreach from=$aGoods.minfo item=minfo key=name}> <{$minfo.label}>：<{$minfo.value}> <{/foreach}> <{/if}><{if $aGoods.is_type == 'goods' && $aGoods.small_pic}> <{/if}> | <{$aGoods.cat_name}> | <{$aGoods.price}> | <{$aGoods.nums}> | <{$aGoods.sendnum}>
<{/foreach}>

<{/if}> <{if count($giftItems) > 0}>

<{t}>赠品名称<{/t}> | <{t}>积分<{/t}> | <{t}>兑换量<{/t}> | <{t}>已发货量<{/t}>
--- | --- | --- | ---
<{foreach from=$giftItems item=aGift}>
<{$aGift.name}> | <{$aGift.point}> | <{$aGift.nums}> | <{$aGift.sendnum}>
<{/foreach}>

<{/if}>