style="display:none" <{/if}> >

##### 礼包商品

货号 | 商品名称 | 规格 | 购买数量 | 商品价格 | 操作
--- | --- | --- | --- | --- | ---
<{foreach from=$conf.objs item=obj}> <{foreach from=$obj.order_items item=item}> <{if $item.delete == 'true'}> <{assign var='giftpackage_del' value="true"}> <{else}> <{assign var='giftpackage_del' value="false"}> <{/if}> <{/foreach}>
style="background-color: #D8D8D8;" giftpackage-del='b'<{else}> giftpackage-del="a"<{/if}>> | <{$obj.name}> | 礼包商品 | disabled="true"<{/if}> onchange="total();" /> | disabled="true"<{/if}> onchange="total();" /> | <{if empty($item.make_nums)}> <{if $giftpackage_del == 'true'}> <{button type="button" label="恢复" id="bt_{$obj.goods_id}" onclick="del_giftpackage('{$obj.goods_id}')" }> <{else}> <{button type="button" label="删除" id="bt_{$obj.goods_id}" onclick="del_giftpackage('{$obj.goods_id}')" }> <{/if}> <{else}> <{if $obj.left_nums <= 0}>已拆分完<{else}>部分拆分<{/if}> <{/if}>
<{foreach from=$obj.order_items item=item}>
style="background-color: #D8D8D8;" giftpackage-del="b"<{else}> giftpackage-del="a"<{/if}>> <{$item.bn}> | <{$item.name}> | <{$item.addon}> | disabled="true"<{/if}> value="<{$item.quantity/$obj.quantity}>" /> |  |
<{/foreach}> <{/foreach}>