<#include "/jspgou_sys/head.html"/>
<div id="cp{0}" class="country-price"> <div><@s.m "shipping.firstPrice"/>: <input type="text" name="firstPrice{0}" vld="{required:function(){var m=$('input[name=method]:checked').val(); return m=='3';},number:true,maxlength:20}" size="7"/> <@s.m "shipping.additionalPrice"/>: <input type="text" name="additionalPrice{0}" vld="{required:function(){var m=$('input[name=method]:checked').val(); return m=='3';},number:true,maxlength:20}" size="7"/> <input type="button" value="<@s.m "shipping.deleteLine"/>" onclick="$('#cp{0}').remove();"/></div> </div>
<@s.m "global.position"/>: <@s.m "shipping.function"/> - <@s.m "global.edit"/>
" onclick="this.form.action='v_list.do';"/>
<@p.form id="jvForm" action="o_update.do"> <@p.text label="shipping.name" name="name" value=shipping.name required="true" class="required" size="40" maxlength="150"/> <@p.select label="物流公司" name="logisticsId" value=((shipping.logistics!).id!) list=list listKey="id" listValue="name" required="true"/> <@p.select label="物流类型" name="logisticsType" required="true" value=shipping.logisticsType list={"EXPRESS":"快递","POST":"平邮","EMS":"EMS"} /> <@p.td label="shipping.method" required="true"> <@p.radio name="method" required="true" value=shipping.method list={"1":"shipping.uniformPrice","2":"shipping.byWeight"} onclick="methodChange();"/>
<@s.m "shipping.uniformPrice"/>:
<@s.m "shipping.firstWeight"/>: g <@s.m "shipping.additionalWeight"/>: g
<@s.m "shipping.firstPrice"/>: <@s.m "shipping.additionalPrice"/>:
<@p.tr/> <@p.text label="shipping.priority" name="priority" value=shipping.priority required="true" class="required digits" size="7" maxlength="10"/> <@p.radio label="shipping.disabled" name="disabled" value=shipping.disabled required="true" list={"false":"global.true","true":"global.false"}/> <@p.radio label="是否默认" name="isDefault" list={"true":"global.true","false":"global.false"} value=shipping.isDefault required="true" class="required"/> <@p.textarea label="shipping.description" name="description" value=shipping.description cols="70" rows="3" maxlength="255"/> <@p.td><@p.submit code="global.submit"/> <@p.reset code="global.reset"/>