This commit is contained in:
linfso 2024-12-29 10:51:18 +08:00
parent 56bf41e994
commit 4372ae69ca

View File

@ -1016,7 +1016,6 @@ created() {
if(this.$route.query.action=="copyOrder"){ if(this.$route.query.action=="copyOrder"){
// this.$router.meta.title="再来一单";
this.action=this.$route.query.action; this.action=this.$route.query.action;
this.billCode=this.$route.query.billCode; this.billCode=this.$route.query.billCode;
@ -1129,6 +1128,8 @@ methods: {
this.form.blAcceptMessage='1' this.form.blAcceptMessage='1'
this.form.billWeight='1' this.form.billWeight='1'
this.isNeedSave=true; this.isNeedSave=true;
this.form.blAgree=0;
this.form.pickStartDate=null;
// 获取默认专属业务员 // 获取默认专属业务员
this.initPrivSalesmen(); this.initPrivSalesmen();
@ -1207,18 +1208,13 @@ methods: {
return return
} }
// if(this.action!='add'){
// this.jumpToNewOrder();
// return
// }
let msgInfo="下单成功,运单号是["+this.billCode+"]请等待快递小哥上门取件~"; let msgInfo="下单成功,运单号是["+this.billCode+"]请等待快递小哥上门取件~";
if(this.form.pickMethod==1){ if(this.form.pickMethod==1){
msgInfo="下单成功,运单号是["+this.billCode+"]请联系仓库"; msgInfo="下单成功,运单号是["+this.billCode+"]请联系仓库";
} }
this.$confirm(msgInfo, "提示", { this.$confirm(msgInfo, "提示", {
confirmButtonText: "再下一单", confirmButtonText: "再下一单",
type: "success", type: "success",
distinguishCancelAndClose: true, distinguishCancelAndClose: true,
closeOnClickModal: false, closeOnClickModal: false,
@ -1227,8 +1223,7 @@ methods: {
}).then(() => { }).then(() => {
this.billCode=null; this.billCode=null;
this.form.billCode=null; this.form.billCode=null;
this.initData(); // this.initData();
}); });
}, },
jumpToNewOrder(){ jumpToNewOrder(){
@ -1382,6 +1377,7 @@ methods: {
extInfo:null, extInfo:null,
orderRemark:null, orderRemark:null,
filePath:null, filePath:null,
blAgree:null,
}; };
this.resetForm("form"); this.resetForm("form");
}, },