<#include "/jspgou_sys/head.html"/> <#include "/common/image_switch_upload.html"/> <#include "/common/image_big_upload.html"/> <#include "/common/image_amp_upload.html"/> <#include "/common/image_upload.html"/>
<@s.m "global.position"/>: <@s.m "shop.function.product"/> - <@s.m "product.function"/> - <@s.m "global.add"/>
" onclick="this.form.action='v_list.do';"/>
<@p.form id="jvForm" action="o_save.do" labelWidth="12" enctype="multipart/form-data"> <#assign count=0/> <#list itemList as item> <#if !item.single><#assign count=count+1/> <#if !item.custom> <#if item.field=="name"> <@p.text label=item.propertyName name=item.field size="40" required="true" class="required" maxlength="150" colspan=item.single?string("2","1") width="${item.single?string(100,50)}"/><#if count%2==0><@p.tr/> <#elseif item.field="categoryId"> <@p.select label=item.propertyName name=item.field list=categoryList listKey="id" listValue="name" listDeep="deep" required="true" colspan=item.single?string("2","1") width="${item.single?string(100,50)}"/><#if count%2==0><@p.tr/> <#elseif item.field="brandId"> <@p.select label=item.propertyName name=item.field list=category.brands value=brandId! listKey="id" listValue="name" headerKey="" headerValue="global.none" colspan=item.single?string("2","1") width="${item.single?string(100,50)}"/><#if count%2==0><@p.tr/> <#elseif item.field="price"> <#if !category.colorsize> <@p.td label=item.propertyName colspan=item.single?string("2","1") required="true" width="${item.single?string(100,50)}"> <@s.m "product.salePrice"/>: <@p.text name="salePrice" value="0" style="width:50px" class="required number"/>   <@s.m "product.marketPrice"/>: <@p.text name="marketPrice" value="0" style="width:50px" class="required number"/>   <@s.m "product.costPrice"/>: <@p.text name="costPrice" value="0" style="width:50px" class="required number"/>   <#if count%2==0><@p.tr/> <#elseif item.field="stockCount"> <#if !category.colorsize> <@p.text label=item.propertyName id=item.field name=item.field size="10" value="0" required="true" class="required digits" maxlength="10" help="" helpPosition="2" colspan=item.single?string("2","1") width="${item.single?string(100,50)}"/><#if count%2==0><@p.tr/> <#elseif item.field="attr"> <@p.td label=item.propertyName colspan=item.single?string("2","1") width="${item.single?string(100,50)}"> <#if count%2==0><@p.tr/> <#elseif item.field="productKeywords"> <@p.text label=item.propertyName name="productKeywords" maxlength="255" size="60" help="product.keywords.help" colspan=item.single?string("2","1") width="${item.single?string(100,50)}"/><#if count%2==0><@p.tr/> <#elseif item.field="weight"> <@p.text label=item.propertyName name="weight" size="10" help="product.weight.help" class="digits" maxlength="10" colspan=item.single?string("2","1") width="${item.single?string(100,50)}"/><#if count%2==0><@p.tr/> <#elseif item.field="score"> <@p.text label=item.propertyName name="score" maxlength="10" colspan=item.single?string("2","1") width="${item.single?string(100,50)}"/><#if count%2==0><@p.tr/> <#elseif item.field="alertInventory"> <@p.text label=item.propertyName name="alertInventory" maxlength="10" colspan=item.single?string("2","1") width="${item.single?string(100,50)}"/><#if count%2==0><@p.tr/> <#elseif item.field="tagIds"> <@p.checkboxlist label=item.propertyName name="tagIds" list=tagList listKey="id" listValue="name" colspan=item.single?string("2","1") width="${item.single?string(100,50)}"/><#if count%2==0><@p.tr/> <#elseif item.field="coverImg"> <@p.td label=item.propertyName colspan="1" width="50" noHeight="true" required="true"> <@p.text id="uploadImgPath100" name="coverImg" size="30" class="required"/> " onclick="clearImg(100);"/>
" onclick="upload(100);"/>
<@p.td colspan="1" width="50"> <@s.m 160*160" style="width:100px;height:100px;background-color:#CCCCCC;border:1px solid #333"/> <#if count%2==0><@p.tr/> <#elseif item.field="productstyle"> *商品款式集:
切换图片预览60*60 大图片预览380*380 放大图片预览600*600



*

*

*
<#list map?keys as mykey> <#assign mapUser=map[mykey]> <#assign st=map1[mykey] > <#if st.dataType==1> <@p.select name="exended_${st.field}" label=st.name list=mapUser listKey="id" listValue="name" colspan="2" width="100" headerKey="" headerValue="global.none"/><@p.tr/> <#else> <@p.radio name="exended_${st.field}" label=st.name list=mapUser listKey="id" listValue="name" colspan="2" width="100" /><@p.tr/> <#if category.colorsize> *规格:
<#list standardTypeList as standardType> <#if standardType.dataType> ${standardType.name}
<#else> ${standardType.name}
<#list standardTypeList as standardType>
默认款式${standardType.name} 商品库存 销售价 市场价 成本价 移除
<#elseif item.field="shareContent"> <@p.textarea label=item.propertyName name="shareContent" rows="3" cols="70" maxlength="255" colspan=item.single?string("2","1") width="${item.single?string(100,50)}"/><#if count%2==0><@p.tr/> <#elseif item.field="mtitle"> <@p.text label=item.propertyName name="mtitle" size="30" maxlength="255" colspan=item.single?string("2","1") width="${item.single?string(100,50)}"/><#if count%2==0><@p.tr/> <#elseif item.field="mkeywords"> <@p.text label=item.propertyName name="mkeywords" size="30" maxlength="255" colspan=item.single?string("2","1") width="${item.single?string(100,50)}"/><#if count%2==0><@p.tr/> <#elseif item.field="mdescription"> <@p.text label=item.propertyName name="mdescription" size="60" maxlength="255" colspan=item.single?string("2","1") width="${item.single?string(100,50)}"/><#if count%2==0><@p.tr/> <#elseif item.field="text"> <@p.editor label=item.propertyName name="text" colspan=item.single?string("2","1") width="${item.single?string(100,50)}"/><#if count%2==0><@p.tr/> <#elseif item.field="text1"> <@p.editor label=item.propertyName name="text1" colspan=item.single?string("2","1") width="${item.single?string(100,50)}"/><#if count%2==0><@p.tr/> <#else> <@p.selfDefineWidget name="attr_${item.field}" value=item.defValue list="${item.optValue!}" rows="${item.rows!}" cols="${item.cols!}" label=item.propertyName colspan=item.single?string("2","1") width="${item.single?string(100,50)}" type="${item.dataType}"/><#if count%2==0><@p.tr/> <@p.td colspan="2"> <@p.hidden name="ctgId" value=ctgId/> value="true"<#else>value="false" />   <@p.reset code="global.reset"/>
<#include "/common/alert_message.html"/>