|
@@ -750,6 +750,7 @@ function addQueryPage(skup, order_code, id) { |
|
@@ -750,6 +750,7 @@ function addQueryPage(skup, order_code, id) { |
750
|
function deliverGoods(id){
|
750
|
function deliverGoods(id){
|
751
|
var expressCompanyId = $("#expressCompany").myCombobox("getValue");
|
751
|
var expressCompanyId = $("#expressCompany").myCombobox("getValue");
|
752
|
var waybillCode = $("#waybillCode").textbox("getValue");
|
752
|
var waybillCode = $("#waybillCode").textbox("getValue");
|
|
|
753
|
+ var mobile = $("#receiveInfo_mobile").val();
|
753
|
if(expressCompanyId==''){
|
754
|
if(expressCompanyId==''){
|
754
|
alert("请选择快递公司!");
|
755
|
alert("请选择快递公司!");
|
755
|
return;
|
756
|
return;
|
|
@@ -758,11 +759,16 @@ function deliverGoods(id){ |
|
@@ -758,11 +759,16 @@ function deliverGoods(id){ |
758
|
alert("请填写快递单号!");
|
759
|
alert("请填写快递单号!");
|
759
|
return;
|
760
|
return;
|
760
|
}
|
761
|
}
|
|
|
762
|
+ if(!mobile){
|
|
|
763
|
+ alert("收货人手机号为空!");
|
|
|
764
|
+ return;
|
|
|
765
|
+ }
|
761
|
$.post(contextPath + "/buyerOrder/updateOrderStatus", {
|
766
|
$.post(contextPath + "/buyerOrder/updateOrderStatus", {
|
762
|
id : id,
|
767
|
id : id,
|
763
|
status : 4,
|
768
|
status : 4,
|
764
|
expressCompanyId : expressCompanyId,
|
769
|
expressCompanyId : expressCompanyId,
|
765
|
waybillCode : waybillCode,
|
770
|
waybillCode : waybillCode,
|
|
|
771
|
+ mobile:mobile,
|
766
|
depotNo: $("#depotNo").combobox("getValue")
|
772
|
depotNo: $("#depotNo").combobox("getValue")
|
767
|
}, function(data) {
|
773
|
}, function(data) {
|
768
|
if (data.code == 200) {
|
774
|
if (data.code == 200) {
|
|
@@ -785,6 +791,7 @@ function deliverGoods(id){ |
|
@@ -785,6 +791,7 @@ function deliverGoods(id){ |
785
|
function reBackGoods(id){
|
791
|
function reBackGoods(id){
|
786
|
var expressCompanyId = $("#expressCompany").myCombobox("getValue");
|
792
|
var expressCompanyId = $("#expressCompany").myCombobox("getValue");
|
787
|
var waybillCode = $("#waybillCode").textbox("getValue");
|
793
|
var waybillCode = $("#waybillCode").textbox("getValue");
|
|
|
794
|
+ var mobile = $("#sendBackInfo_mobile").val();
|
788
|
if(expressCompanyId==''){
|
795
|
if(expressCompanyId==''){
|
789
|
alert("请选择快递公司!");
|
796
|
alert("请选择快递公司!");
|
790
|
return;
|
797
|
return;
|
|
@@ -793,11 +800,16 @@ function reBackGoods(id){ |
|
@@ -793,11 +800,16 @@ function reBackGoods(id){ |
793
|
alert("请填写快递单号!");
|
800
|
alert("请填写快递单号!");
|
794
|
return;
|
801
|
return;
|
795
|
}
|
802
|
}
|
|
|
803
|
+ if(!mobile){
|
|
|
804
|
+ alert("收货人手机号为空!");
|
|
|
805
|
+ return;
|
|
|
806
|
+ }
|
796
|
$.post(contextPath + "/buyerOrder/returnBackOrder", {
|
807
|
$.post(contextPath + "/buyerOrder/returnBackOrder", {
|
797
|
id : id,
|
808
|
id : id,
|
798
|
status : 17,
|
809
|
status : 17,
|
799
|
expressCompanyId : expressCompanyId,
|
810
|
expressCompanyId : expressCompanyId,
|
800
|
waybillCode : waybillCode,
|
811
|
waybillCode : waybillCode,
|
|
|
812
|
+ mobile:mobile,
|
801
|
depotNo: $("#depotNo").combobox("getValue")
|
813
|
depotNo: $("#depotNo").combobox("getValue")
|
802
|
}, function(data) {
|
814
|
}, function(data) {
|
803
|
if (data.code == 200) {
|
815
|
if (data.code == 200) {
|
|
@@ -818,6 +830,7 @@ function reBackGoods(id){ |
|
@@ -818,6 +830,7 @@ function reBackGoods(id){ |
818
|
function sendBackGoods(id){
|
830
|
function sendBackGoods(id){
|
819
|
var expressCompanyId = $("#expressCompany").myCombobox("getValue");
|
831
|
var expressCompanyId = $("#expressCompany").myCombobox("getValue");
|
820
|
var waybillCode = $("#waybillCode").textbox("getValue");
|
832
|
var waybillCode = $("#waybillCode").textbox("getValue");
|
|
|
833
|
+ var mobile = $("#sendBackInfo_mobile").val();
|
821
|
if(expressCompanyId==''){
|
834
|
if(expressCompanyId==''){
|
822
|
alert("请选择快递公司!");
|
835
|
alert("请选择快递公司!");
|
823
|
return;
|
836
|
return;
|
|
@@ -826,11 +839,16 @@ function sendBackGoods(id){ |
|
@@ -826,11 +839,16 @@ function sendBackGoods(id){ |
826
|
alert("请填写快递单号!");
|
839
|
alert("请填写快递单号!");
|
827
|
return;
|
840
|
return;
|
828
|
}
|
841
|
}
|
|
|
842
|
+ if(!mobile){
|
|
|
843
|
+ alert("收货人手机号为空!");
|
|
|
844
|
+ return;
|
|
|
845
|
+ }
|
829
|
$.post(contextPath + "/buyerOrder/updateOrderStatus", {
|
846
|
$.post(contextPath + "/buyerOrder/updateOrderStatus", {
|
830
|
id : id,
|
847
|
id : id,
|
831
|
status : 13,
|
848
|
status : 13,
|
832
|
expressCompanyId : expressCompanyId,
|
849
|
expressCompanyId : expressCompanyId,
|
833
|
waybillCode : waybillCode,
|
850
|
waybillCode : waybillCode,
|
|
|
851
|
+ mobile:mobile,
|
834
|
depotNo: $("#depotNo").combobox("getValue")
|
852
|
depotNo: $("#depotNo").combobox("getValue")
|
835
|
}, function(data) {
|
853
|
}, function(data) {
|
836
|
if (data.code == 200) {
|
854
|
if (data.code == 200) {
|