<{if $goods.image_default}> <{else}>



<{t}>此处显示商品页默认图片<{/t}>
<{t}>[您还未上传商品图片!]<{/t}>

<{/if}>
<{if $goods.image_file}> <{foreach from=$goods.image_file item=image}>
<{include file="product/gimage.html"}>
<{/foreach}>
<{/if}>
<{t}>上传商品图片<{/t}><{t}>商品列表页缩图<{/t}> <{if $goods.udfimg}> <{input id="udfimg" name="goods[udfimg]" type="hidden" value=$goods.udfimg}> <{else}> <{input id="udfimg" name="goods[udfimg]" type="hidden" value="false"}> <{/if}> <{input name="goods[db_thumbnail_pic]" type="hidden" value=$goods.thumbnail_pic}> <{input name="goods[db_small_pic]" type="hidden" value=$goods.small_pic}> <{input name="goods[db_big_pic]" type="hidden" value=$goods.big_pic}>
注:列表页缩略图默认由商品图片自动生成,无需上传。如果您不需要自动生成,可单独上传。
<{t}>单独上传:<{/t}><{input name="goods_thumbnail_pic" type="file" size='9' onmouseover="this.title=this.value"}><{t}>预览<{/t}>
<{if $prototype.setting.use_brand}> <{/if}> <{if $prototype.is_physical}> <{/if}> <{if $prototype.setting.use_props}> <{foreach from=$prototype.props key=key item=aProp}> <{/foreach}> <{/if}> <{if $point_setting == 2}> <{/if}>
<{t}>商品名称:<{/t}> <{input type="text" id="id_gname" name="goods[name]" required="true" value=$goods.name }>*
<{t}>货号:<{/t}> <{input type="text" name="goods[bn]" value=$goods.bn }>
<{t}>品牌:<{/t}> <{input type="select" name="goods[brand_id]" nulloption="1" rows=$brandList valueColumn="brand_id" labelColumn="brand_name" value=$goods.brand_id}>
<{t}>计量单位:<{/t}> <{input type="text" value=$goods.unit name="goods[unit]" maxlength="25" }>
<{t}>重量:<{/t}> <{input type="unsigned" value=$goods.weight name="goods[weight]" maxlength="25" }><{t}>克(g)<{/t}>
<{t}>简介:<{/t}> <{input type="text" value=$goods.brief name="goods[brief]" maxlength="250" }>
<{t}>是否上架销售:<{/t}> checked="checked"<{/if}> value="true" >是 checked="checked"<{/if}> value="false" ><{t}>否<{/t}>
<{$aProp.name}>: <{assign var="p_col" value=p_$key}> <{if $aProp.type eq 'select'}> <{input name="goods[p_$key]" type="select" nulloption="1" options=$aProp.options value=$goods.$p_col }> <{else}> <{input type="text" value=$goods.$p_col name="goods[p_$key]" maxlength="25"}> <{/if}>
<{t}>积分:<{/t}> <{input type="digits" value=$goods.score name="goods[score]" maxlength="25" }>
<{t}>市场价格:<{/t}> <{input type="unsigned" value=$goods.mktprice name="goods[mktprice]" maxlength="25" }>
<{if !$prototype.setting.use_spec or count($goods.products)==0}> <{include file="product/nospec.html"}> <{else}> <{include file="product/spec.html"}> <{/if}>