This commit is contained in:
linfso 2024-07-18 21:33:52 +08:00
parent 88af779cad
commit 238f900011

View File

@ -1155,18 +1155,20 @@ methods: {
}
}
else{
this.$confirm("打印组件未连接,可【返回操作】稍后打印,或【操作下一单】", "提示", {
confirmButtonText: "操作下一单",
type: "warning",
distinguishCancelAndClose: true,
closeOnClickModal: false,
showCancelButton: false,
showClose: false
}).then(() => {
this.billCode=null;
this.form.billCode=null;
this.initData();
});
this.billCode=null;
this.form.billCode=null;
this.initData();
// this.$confirm("打印组件未连接,可【返回操作】稍后打印,或【操作下一单】", "提示", {
// confirmButtonText: "操作下一单",
// type: "warning",
// distinguishCancelAndClose: true,
// closeOnClickModal: false,
// showCancelButton: false,
// showClose: false
// }).then(() => {
// });
}
},
@ -1230,34 +1232,36 @@ methods: {
}
}
else{
this.$confirm("打印组件未连接,可【返回操作】稍后打印,或【操作下一单】", "提示", {
confirmButtonText: "操作下一单",
type: "warning",
distinguishCancelAndClose: true,
closeOnClickModal: false,
showCancelButton: false,
showClose: false
}).then(() => {
this.billCode=null;
this.form.billCode=null;
this.initData();
});
// this.$confirm("打印组件未连接,可【返回操作】稍后打印,或【操作下一单】", "提示", {
// confirmButtonText: "操作下一单",
// type: "warning",
// distinguishCancelAndClose: true,
// closeOnClickModal: false,
// showCancelButton: false,
// showClose: false
// }).then(() => {
// });
this.billCode=null;
this.form.billCode=null;
this.initData();
}
},
onComplete(){
this.$confirm("操作已完成是否【操作下一单】", "提示", {
confirmButtonText: "操作下一单",
type: "warning",
distinguishCancelAndClose: true,
closeOnClickModal: false,
showCancelButton: false,
showClose: false
}).then(() => {
// this.$confirm("操作已完成是否【操作下一单】", "提示", {
// confirmButtonText: "操作下一单",
// type: "warning",
// distinguishCancelAndClose: true,
// closeOnClickModal: false,
// showCancelButton: false,
// showClose: false
// }).then(() => {
// });
this.billCode=null;
this.form.billCode=null;
this.initData();
});
},
onDestCountryChange(item){
if(item){