...
|
...
|
@@ -165,10 +165,10 @@ $(function() { |
|
|
iconCls : "icon-search",
|
|
|
onClick : function() {
|
|
|
var status = $("#status").val();
|
|
|
if(status>3){
|
|
|
alert("没有需要更新的数据!");
|
|
|
if(status==2||status==31){
|
|
|
updateOrderInfo(orderCode);
|
|
|
}else{
|
|
|
updateOrderInfo(orderCode);
|
|
|
alert("订单状态不允许更改数据!");
|
|
|
}
|
|
|
|
|
|
}
|
...
|
...
|
@@ -317,13 +317,7 @@ function getOrderInfo(orderCode){ |
|
|
|
|
|
//收货信息
|
|
|
//鉴定前,买家可联系客服修改收货信息
|
|
|
if(result.data.status > 3){
|
|
|
$("#receiveName").html(result.data.receiveName);
|
|
|
$("#receiveMobile").html(result.data.receiveMobile);
|
|
|
$("#receiveAddress").html(result.data.receiveAddress);
|
|
|
$("#receiveAddressDetail").html(result.data.receiveAddressDetail);
|
|
|
$("#zipCode").html(result.data.zipCode);
|
|
|
}else{
|
|
|
if(result.data.status==2 ||result.data.status==31){
|
|
|
$("#receiveName").html('<input id="input_receiveName" type="text" class="easyui-textbox" value="' + result.data.receiveName + '"/>');
|
|
|
$("#receiveMobile").html('<input id="input_receiveMobile" type="text" class="easyui-textbox" value="' + result.data.receiveMobile + '"/>');
|
|
|
$("#receiveAddressDetail").html('<input id="input_receiveAddressDetail" type="text" class="easyui-textbox" value="' + result.data.receiveAddressDetail + '"/>');
|
...
|
...
|
@@ -335,7 +329,13 @@ function getOrderInfo(orderCode){ |
|
|
+ '<input id="jiedao" class="easyui-combobox" style="width:150px">';
|
|
|
$("#receiveAddress").html(addressStr);
|
|
|
initAreaDropDown(result.data.receiveAreaCode);
|
|
|
}
|
|
|
}else{
|
|
|
$("#receiveName").html(result.data.receiveName);
|
|
|
$("#receiveMobile").html(result.data.receiveMobile);
|
|
|
$("#receiveAddress").html(result.data.receiveAddress);
|
|
|
$("#receiveAddressDetail").html(result.data.receiveAddressDetail);
|
|
|
$("#zipCode").html(result.data.zipCode);
|
|
|
}
|
|
|
|
|
|
//卖家信息
|
|
|
$("#sellerName").html(result.data.sellerName);
|
...
|
...
|
|