...
|
...
|
@@ -656,6 +656,7 @@ function addRejectPage(id) { |
|
|
function deliverGoods(id){
|
|
|
var expressCompanyId = $("#expressCompany").myCombobox("getValue");
|
|
|
var waybillCode = $("#waybillCode").textbox("getValue");
|
|
|
var mobile = $("#receiveInfo_mobile").val();
|
|
|
if(expressCompanyId==''){
|
|
|
alert("请选择快递公司!");
|
|
|
return;
|
...
|
...
|
@@ -664,11 +665,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) {
|
...
|
...
|
@@ -691,6 +697,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;
|
...
|
...
|
@@ -699,11 +706,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) {
|
...
|
...
|
@@ -724,6 +736,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;
|
...
|
...
|
@@ -732,11 +745,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) {
|
...
|
...
|
|