<#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.edit"/>
" onclick="var f=this.form;f.action='v_list.do';f.submit();"/>
<#include "/common/image_upload.html"/> <@p.form id="jvForm" action="o_update.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 value=product.name 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 value=product.category.id 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=((product.brand!).id!) 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 required="true" colspan=item.single?string("2","1") width="${item.single?string(100,50)}"> <@s.m "product.marketPrice"/>: <@p.text name="marketPrice" value=product.marketPrice style="width:50px" class="required number"/>   <@s.m "product.salePrice"/>: <@p.text name="salePrice" value=product.salePrice style="width:50px" class="required number"/>   <@s.m "product.costPrice"/>: <@p.text name="costPrice" value=product.costPrice 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 value=product.stockCount size="10" 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" value=productKeywords! maxlength="255" 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" value=product.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" value=product.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" value=product.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" valueList=product.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" value=product.productExt.coverImg size="30" class="required"/> " onclick="clearImg(100);"/>
" onclick="upload(100);"/>
<@p.td colspan="1" width="50"> <@s.m 160*160" src="${product.productExt.coverImg!}" style="width:100px;height:100px;background-color:#CCCCCC;border:1px solid #333"/> <#if count%2==0><@p.tr/> <#elseif item.field="productstyle"> *商品款式集: <#list product.pictures as pic> <#if pic_index=0>
切换图片预览60*60 大图片预览380*380 放大图片预览600*600
预览


<#if pic_index!=0> 删除 *
预览
*
预览
*
<#list map?keys as mykey> <#assign mapUser=map[mykey]> <#assign st=map1[mykey] > <#if st.dataType==1> <@p.select name="exended_${st.field}" value=map2[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}" value=map2[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} <#list psList as ps> <#if standardType.id=ps.type.id> <#list psList as ps> <#if standardType.id=ps.type.id>
${ps.standard.name}
43*43

<#else> ${standardType.name} <#list psList as ps> <#if standardType.id=ps.type.id> ${ps.standard.name}   <#list standardTypeList as standardType> <#list product.fashions as fash> <#list standardTypeList as standardType>
默认款式${standardType.name} 商品库存 销售价 市场价 成本价 移除
checked/> value="true"<#else>value="false"/> <#list fash.standards as standard> <#if standard.type.id=standardType.id> ${standard.name!}
<#elseif item.field="shareContent"> <@p.textarea label=item.propertyName name="shareContent" value=product.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" value=product.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" value=product.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" value=product.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="islimitTime"> <@p.radio label=item.propertyName name="islimitTime" value=product.productExt.islimitTime! list={"true":"是","false":"否"} onclick="seeTime(this.value);" id="limTime" colspan=item.single?string("2","1") width="${item.single?string(100,50)}"/><#if count%2==0><@p.tr/> <#elseif item.field="timeLimit"> <@p.td label=item.propertyName colspan=item.single?string("2","1") width="${item.single?string(100,50)}"> <#if isLimit??&&isLimit> <#else>
<#if count%2==0><@p.tr/> <#elseif item.field="isLimit"> <@p.td label=item.propertyName colspan=item.single?string("2","1") width="${item.single?string(100,50)}"> <#if isLimit??&&isLimit> <#else>
<#if count%2==0><@p.tr/> <#elseif item.field="text"> <@p.editor label=item.propertyName name="text" value=product.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" value=product.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=product.attr[item.field] 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!/> <@p.hidden name="id" value=product.id/> value="true"<#else> value="false" />   <@p.reset code="global.reset"/>