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

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

<{t}>货号<{/t}> <{foreach from=$specname item=snItem key=key}> | <{$snItem.spec_name|escape:'html'}> <{/foreach}> <{foreach from=$spec.idataInfo item=item key=key}> | <{$item}> <{/foreach}> | <{t}>库存<{/t}> | <{t}>销售价<{/t}> | <{t}>成本价<{/t}> | <{t}>市场价<{/t}> | <{t}>重量<{/t}> <{if $env.conf.storeplace.display.switch}> | <{t}>货位<{/t}> <{/if}> | <{t}>上架<{/t}> | 操作
--- | --- | --- | --- | --- | --- | --- | --- | --- | --- | ---
<{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}>

<{input type="text" value=$pro.store name="store[]" size=4 vtype="number"}>

<{t}>会员价<{/t}> <{if $fromType == 'create'}> <{foreach from=$mLevels item=rows key=memlvid}> <{/foreach}> <{else}> <{foreach from=$pro.mprice item=rows key=memlvid}> <{/foreach}> <{/if}>

<{if $env.conf.storeplace.display.switch}>

<{/if}>

checked<{/if}>/> true<{else}>false<{/if}>'/>

<{/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}>