<{capture name="header"}> <{css app="ome" src="ome.css"}> <{css app="ome" src="style.css"}> <{script src="coms/modedialog.js" app="desktop"}> <{script src="coms/autocompleter.js" app="desktop"}> <{script src="coms/pager.js" app="desktop"}> <{/capture}>

<{if $history}>《快照》<{/if}>查看销售商品基本信息

销售商品名称: *
销售商品编码: <{$material_info.sales_material_bn}> *
商品类型: <{if $readonly.type == true}> <{if $material_info.sales_material_type == 1}>普通 <{elseif $material_info.sales_material_type ==2}>组合 <{elseif $material_info.sales_material_type ==3}>赠品 <{/if}>   (已有关联订单或店铺冻结不能修改) <{else}>
checked="checked"<{/if}> /> checked="checked"<{/if}> /> checked="checked"<{/if}> />
<{/if}>
所属店铺: <{if $readonly.shop == true}> <{foreach from=$shops item=shop}><{if $material_info.shop_id == $shop.shop_id }><{$shop.name}><{/if}><{/foreach}>   (已有关联订单不能修改) <{else}> <{/if}>
style="display:none"<{/if}>> 关联基础商品: <{input class='form-input' type='material_object' object='basic_material@material' breakpoint='0' name='bm_id' textcol='material_name' value=$bind_bm_id callback='material_object_callback' replacehtml=$replacehtml emptytext='选取基础商品' style='float:left;width:200px;' filter='visibled=1' }>
style="margin-top:10px;"<{else}>style="margin-top:10px;display:none"<{/if}> >

组合关联基础商品

<{if $readonly.bind_item == true && $material_info.sales_material_type == 2}>  (绑定商品已有关联订单不能修改) <{else}> <{button label="商品库频道" id="material-find-btn" }> <{/if}>
编码 名称 成本价 数量 组合价格贡献占比(1-100整数数值) 删除
暂无商品信息
<{button type="button" label="按成本价计算贡献比" }> <{if $readonly.bind_item == true && $material_info.sales_material_type == 2}>   <{else}>   <{button type="button" id="material-delall-btn" label="全部删除" }> <{/if}>
style="margin-top:10px;" <{else}>style="margin-top:10px;display:none"<{/if}> >

赠品关联基础商品

<{if $readonly.bind_item == true && $material_info.sales_material_type == 3}>   (绑定商品已有关联订单不能修改) <{else}> <{button label="基础商品列表" id="gift-material-find-btn" }> <{/if}>
编码 名称 成本价 数量 删除
暂无商品信息
<{if $readonly.bind_item == true && $material_info.sales_material_type == 3}>   <{else}>   <{button type="button" id="gift-material-delall-btn" label="全部删除" }> <{/if}>