...
|
...
|
@@ -750,6 +750,7 @@ function addQueryPage(skup, order_code, id) { |
|
|
function deliverGoods(id){
|
|
|
var expressCompanyId = $("#expressCompany").myCombobox("getValue");
|
|
|
var waybillCode = $("#waybillCode").textbox("getValue");
|
|
|
var mobile = $("#receiveInfo_mobile").val();
|
|
|
if(expressCompanyId==''){
|
|
|
alert("请选择快递公司!");
|
|
|
return;
|
...
|
...
|
@@ -758,11 +759,16 @@ function deliverGoods(id){ |
|
|
alert("请填写快递单号!");
|
|
|
return;
|
|
|
}
|
|
|
if(!mobile){
|
|
|
alert("收货人手机号为空!");
|
|
|
return;
|
|
|
}
|
|
|
$.post(contextPath + "/buyerOrder/updateOrderStatus", {
|
|
|
id : id,
|
|
|
status : 4,
|
|
|
expressCompanyId : expressCompanyId,
|
|
|
waybillCode : waybillCode,
|
|
|
mobile:mobile,
|
|
|
depotNo: $("#depotNo").combobox("getValue")
|
|
|
}, function(data) {
|
|
|
if (data.code == 200) {
|
...
|
...
|
@@ -785,6 +791,7 @@ function deliverGoods(id){ |
|
|
function reBackGoods(id){
|
|
|
var expressCompanyId = $("#expressCompany").myCombobox("getValue");
|
|
|
var waybillCode = $("#waybillCode").textbox("getValue");
|
|
|
var mobile = $("#sendBackInfo_mobile").val();
|
|
|
if(expressCompanyId==''){
|
|
|
alert("请选择快递公司!");
|
|
|
return;
|
...
|
...
|
@@ -793,11 +800,16 @@ function reBackGoods(id){ |
|
|
alert("请填写快递单号!");
|
|
|
return;
|
|
|
}
|
|
|
if(!mobile){
|
|
|
alert("收货人手机号为空!");
|
|
|
return;
|
|
|
}
|
|
|
$.post(contextPath + "/buyerOrder/returnBackOrder", {
|
|
|
id : id,
|
|
|
status : 17,
|
|
|
expressCompanyId : expressCompanyId,
|
|
|
waybillCode : waybillCode,
|
|
|
mobile:mobile,
|
|
|
depotNo: $("#depotNo").combobox("getValue")
|
|
|
}, function(data) {
|
|
|
if (data.code == 200) {
|
...
|
...
|
@@ -818,6 +830,7 @@ function reBackGoods(id){ |
|
|
function sendBackGoods(id){
|
|
|
var expressCompanyId = $("#expressCompany").myCombobox("getValue");
|
|
|
var waybillCode = $("#waybillCode").textbox("getValue");
|
|
|
var mobile = $("#sendBackInfo_mobile").val();
|
|
|
if(expressCompanyId==''){
|
|
|
alert("请选择快递公司!");
|
|
|
return;
|
...
|
...
|
@@ -826,11 +839,16 @@ function sendBackGoods(id){ |
|
|
alert("请填写快递单号!");
|
|
|
return;
|
|
|
}
|
|
|
if(!mobile){
|
|
|
alert("收货人手机号为空!");
|
|
|
return;
|
|
|
}
|
|
|
$.post(contextPath + "/buyerOrder/updateOrderStatus", {
|
|
|
id : id,
|
|
|
status : 13,
|
|
|
expressCompanyId : expressCompanyId,
|
|
|
waybillCode : waybillCode,
|
|
|
mobile:mobile,
|
|
|
depotNo: $("#depotNo").combobox("getValue")
|
|
|
}, function(data) {
|
|
|
if (data.code == 200) {
|
...
|
...
|
|