<@s.m "global.position"/>: <@s.m "order.function"/> - <@s.m "global.edit"/>
<@p.form id="jvForm" action="o_update.do" labelWidth="12">
<@p.td colspan="2">
<@s.m "order.product"/>@p.td><@p.tr/>
<@p.td colspan="2">
<@p.table value=order.items;item,i,has_next><#rt/>
<@p.column code="product.code" style="width:100px"><#if item.product.productExt??>${item.product.productExt.code!}#if>@p.column><#t/>
<@p.column code="product.name" align="left">

${item.product.name!} <#if item.productFash??>${item.productFash.attitude!}#if>@p.column><#t/>
<@p.column code="orderItem.finalPrice" style="width:110px">
<#if item.productFash??>
<#else>
#if>@p.column><#t/>
<@p.column code="单重" style="width:60px">
${item.product.weight}@p.column><#t/>
<@p.column code="orderItem.count" style="width:60px">
@p.column><#t/>
<@p.column code="orderItem.subtotal" style="width:100px">
<#if item.productFash??>${item.productFash.salePrice*item.count!0}
<#else>${item.product.salePrice*item.count!0}#if>
@p.column><#t/>
@p.table>
@p.td><@p.tr/>
<@p.td colspan="2">
<@s.m "order.info"/>@p.td><@p.tr/>
<@p.td colspan="1" width="50" label="订单编号">${order.code}@p.td>
<@p.td colspan="1" width="50" label="order.createTime">${order.createTime}@p.td><@p.tr/>
<@p.td colspan="1" width="50" label="order.status">
<@s.m "order.status.${order.status}"/>
@p.td>
<@p.td colspan="1" width="50" label="order.paymentStatus">
<@s.m "order.paymentStatus.${order.paymentStatus}"/>
@p.td>
<@p.tr/>
<@p.td colspan="1" width="50" label="order.shippingStatus">
<@s.m "order.shippingStatus.${order.shippingStatus}"/>
@p.td>
<@p.select colspan="1" width="50" label="order.shipping" id="shippingId" name="shippingId" value=order.shipping.id onchange="changeCount();" list=shippingList listKey="id" listValue="name"/>
<@p.tr/>
<@p.td colspan="1" width="50" label="order.productPrice">
${order.productPrice}@p.td>
<@p.td colspan="1" width="50" label="order.freight" required="true">
<@s.m "order.weight"/>:
${order.weight} g
@p.td><@p.tr/>
<@p.td colspan="1" width="50" label="order.total">
${order.total!0}
@p.td>
<@p.select colspan="1" width="50" label="order.payment" name="paymentId" value=order.payment.id list=paymentList listKey="id" listValue="name"/>
<@p.tr/>
<@p.td colspan="2">
收货人信息@p.td><@p.tr/>
<@p.td colspan="1" width="50" label="收货人姓名">${order.receiveName!}@p.td>
<@p.td colspan="1" width="50" label="收货人电话">${order.receiveMobile!}@p.td><@p.tr/>
<@p.td colspan="1" width="50" label="收货人固定电话">${order.receivePhone!}@p.td>
<@p.td colspan="1" width="50" label="收货人邮编">${order.receiveZip!}@p.td><@p.tr/>
<@p.td colspan="2" label="收货人地址">${order.receiveAddress!}@p.td><@p.tr/>
<@p.textarea colspan="2" label="order.comments" name="comments" value=order.comments cols="70" rows="3"/><@p.tr/>
<@p.td colspan="2">
<@p.hidden name="id" value=order.id/>
<@p.submit code="global.submit"/> <@p.reset code="global.reset"/>
@p.td>
@p.form>