md
This commit is contained in:
parent
30396e6e74
commit
9577e2874b
@ -936,6 +936,12 @@ export default {
|
|||||||
handleSetSite(){
|
handleSetSite(){
|
||||||
this.$refs.popoverRef1.doClose();
|
this.$refs.popoverRef1.doClose();
|
||||||
|
|
||||||
|
let item0=this.selectionList[0];
|
||||||
|
if(item0.orderStatus==1){
|
||||||
|
this.$modal.msgError("已接单,不允许操作");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
let orderSn=this.selectionList[0].orderSn;
|
let orderSn=this.selectionList[0].orderSn;
|
||||||
console.log("====>handleSetTakeMan=orderSn=>",orderSn);
|
console.log("====>handleSetTakeMan=orderSn=>",orderSn);
|
||||||
assignSendSite({orderSn:orderSn,sendSiteCode:this.queryParams.sendSiteCode}).then(response => {
|
assignSendSite({orderSn:orderSn,sendSiteCode:this.queryParams.sendSiteCode}).then(response => {
|
||||||
@ -945,8 +951,18 @@ export default {
|
|||||||
},
|
},
|
||||||
handleSetTakeMan(){
|
handleSetTakeMan(){
|
||||||
this.$refs.popoverRef2.doClose();
|
this.$refs.popoverRef2.doClose();
|
||||||
|
|
||||||
|
let item0=this.selectionList[0];
|
||||||
|
if(item0.orderStatus==1){
|
||||||
|
this.$modal.msgError("已接单,不允许操作");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
let orderSn=this.selectionList[0].orderSn;
|
let orderSn=this.selectionList[0].orderSn;
|
||||||
console.log("====>handleSetSite=orderSn=>",orderSn);
|
console.log("====>handleSetSite=orderSn=>",orderSn);
|
||||||
|
|
||||||
|
|
||||||
assignTakeMan({orderSn:orderSn,takePieceEmployeeCode:this.queryParams.takePieceEmployeeCode}).then(response => {
|
assignTakeMan({orderSn:orderSn,takePieceEmployeeCode:this.queryParams.takePieceEmployeeCode}).then(response => {
|
||||||
this.$modal.msgSuccess("操作成功" );
|
this.$modal.msgSuccess("操作成功" );
|
||||||
this.getList();
|
this.getList();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user