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