This commit is contained in:
linfso 2024-09-09 10:44:44 +08:00
parent 30396e6e74
commit 9577e2874b

View File

@ -936,17 +936,33 @@ export default {
handleSetSite(){
this.$refs.popoverRef1.doClose();
let orderSn=this.selectionList[0].orderSn;
console.log("====>handleSetTakeMan=orderSn=>",orderSn);
assignSendSite({orderSn:orderSn,sendSiteCode:this.queryParams.sendSiteCode}).then(response => {
this.$modal.msgSuccess("操作成功" );
this.getList();
});
let item0=this.selectionList[0];
if(item0.orderStatus==1){
this.$modal.msgError("已接单,不允许操作");
return;
}
let orderSn=this.selectionList[0].orderSn;
console.log("====>handleSetTakeMan=orderSn=>",orderSn);
assignSendSite({orderSn:orderSn,sendSiteCode:this.queryParams.sendSiteCode}).then(response => {
this.$modal.msgSuccess("操作成功" );
this.getList();
});
},
handleSetTakeMan(){
this.$refs.popoverRef2.doClose();
let item0=this.selectionList[0];
if(item0.orderStatus==1){
this.$modal.msgError("已接单,不允许操作");
return;
}
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 => {
this.$modal.msgSuccess("操作成功" );
this.getList();