From a6c0f9cf82b9df0c0055c8626306824bc6288afa Mon Sep 17 00:00:00 2001 From: linfso Date: Tue, 4 Jun 2024 22:31:32 +0800 Subject: [PATCH] md --- .../emis/EmisBaseTools/TanexPrinterPanel.vue | 7 +- .../emis/emisWaybill/A4WaybillIPrinted.vue | 86 ++++++------ .../emis/emisWaybill/waybillIsPrinted.vue | 122 +++++++++--------- 3 files changed, 109 insertions(+), 106 deletions(-) diff --git a/src/views/emis/EmisBaseTools/TanexPrinterPanel.vue b/src/views/emis/EmisBaseTools/TanexPrinterPanel.vue index 23f9c63e..09518d43 100644 --- a/src/views/emis/EmisBaseTools/TanexPrinterPanel.vue +++ b/src/views/emis/EmisBaseTools/TanexPrinterPanel.vue @@ -200,8 +200,11 @@ this.printTplList=[]; this.printTplList=this.tanexPrinter.getPrintTplList(); - const newList=this.printTplList.filter(item=>item.tplCode == 'A4-EP'); - this.printTplList=newList; + + if(this.isInitA4){ + const newList=this.printTplList.filter(item=>item.tplCode == 'A4-EP'); + this.printTplList=newList; + } // console.log(this.printTplList) diff --git a/src/views/emis/emisWaybill/A4WaybillIPrinted.vue b/src/views/emis/emisWaybill/A4WaybillIPrinted.vue index 318a495b..4bab2c40 100644 --- a/src/views/emis/emisWaybill/A4WaybillIPrinted.vue +++ b/src/views/emis/emisWaybill/A4WaybillIPrinted.vue @@ -73,7 +73,7 @@ slot-scope="slotProps" :height="(slotProps.contentHeight)+'px'" - v-loading="loading" + v-loading="loading" border stripe size="small" :data="emisWaybillList" @@ -147,7 +147,7 @@ - +