#### <{t}>规格<{/t}> <{help docid="71" type="link"}>点击查看帮助<{/help}>

添加一个货品 <{help docid="80" type="link-small"}>点击查看货品说明<{/help}> | 选择规格项 关闭规格

货号 <{foreach from=$specname item=snItem key=key}> | <{$snItem.spec_name}> <{/foreach}> <{foreach from=$spec.idataInfo item=item key=key}> | <{$item}> <{/foreach}> | 库存 | 销售价 | 成本价 | 重量 | 操作
--- | --- | --- | --- | --- | --- | --- | ---
<{foreach from=$goods.products item=pro key=id}>
<{if $fromType == 'create'}> <{foreach from=$pro.sel_spec item=sitem }> | <{ if $sitem.spec_type == 'text' }> <{$sitem.spec_value}> <{else}> <{if $sitem.spec_image}> <{elseif $goods.spec_value_image[$sitem.spec_value_id]}> <{else}> <{/if}> <{/if}> <{/foreach}> <{else}> <{foreach from=$pro.props.spec item=specVar key=varid}> | <{assign var='psid' value=$pro.props.spec_private_value_id[$varid]}> <{assign var='sid' value=$pro.props.spec_value_id[$varid]}> <{ if $goods.spec_desc[$varid][$psid].spec_type == 'text' }> <{$specVar}> <{else}> <{if $goods.spec_desc[$varid][$psid].spec_image}> <{elseif $goods.specVdesc[$varid].value[$psid].spec_image}> <{else}> <{/if}> <{/if}> <{/foreach}> <{/if}> <{foreach from=$spec.idata item=item key=ikey}> | <{/foreach}> |  | 会员价 <{if $fromType == 'create'}> <{foreach from=$mLevels item=rows key=memlvid}> <{/foreach}> <{else}> <{foreach from=$pro.mprice item=rows key=memlvid}> <{/foreach}> <{/if}> |  |  | <{input type="hidden" name="disabled[]" value=$pro.disabled }>
<{/foreach}>

<{if $goods.spec_value_image}> <{foreach from=$goods.spec_value_image item=specImg key=svid}> <{/foreach}> <{else}> <{foreach from=$goods.prototype.spec item=sitem}> <{foreach from=$sitem.spec_value item=specImg key=svid}> <{/foreach}> <{/foreach}> <{/if}>