From 67dc3f208a1d9bb27527ccea2e2040a4e2cdfd47 Mon Sep 17 00:00:00 2001 From: linfso Date: Thu, 26 Dec 2024 10:46:36 +0800 Subject: [PATCH] md --- src/views/emis/emisWaybill/waybillGot.vue | 21 ++++++++++++++++----- 1 file changed, 16 insertions(+), 5 deletions(-) diff --git a/src/views/emis/emisWaybill/waybillGot.vue b/src/views/emis/emisWaybill/waybillGot.vue index 7abdee1a..956ad85c 100644 --- a/src/views/emis/emisWaybill/waybillGot.vue +++ b/src/views/emis/emisWaybill/waybillGot.vue @@ -1201,12 +1201,18 @@ methods: { }, handleTestPrintPreview(){ + + + this.printerStatus=1; this.handlePrintPreview(); }, async handlePrintPreview(){ if(this.printerStatus == 1){ + + + if(this.form.billCode){ let printDataList=[] @@ -1295,11 +1301,16 @@ methods: { // showCancelButton: false, // showClose: false // }).then(() => { - // }); - this.billCode=null; - this.form.billCode=null; - this.initData(); + + if(this.action=='got'){ + this.jumpToOrderList(); + } + else{ + this.billCode=null; + this.form.billCode=null; + this.initData(); + } }, onDestCountryChange(item){ if(item){ @@ -1564,7 +1575,7 @@ methods: { }, jumpToOrderList(){ this.$store.dispatch("tagsView/delView", this.$route); - this.$router.replace({ path: '/d24/orderManagement/UserOrderList'}); + this.$router.replace({ path: '/d24/waybillManagement/WaybillRecord',query:{action:'add'}}); }, // 取消按钮 cancel() {