From e10fc916bff4fbf4ec474425f7d31410b68a2dbf Mon Sep 17 00:00:00 2001 From: "zhaoxingchang.sd" Date: Fri, 6 Sep 2024 15:34:53 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E5=A4=8D=E5=88=B6=E5=8A=9F=E8=83=BD?= =?UTF-8?q?=E4=BC=A0=E5=8F=82=E9=97=AE=E9=A2=98=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/statistics/invoiceList.vue | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/src/views/statistics/invoiceList.vue b/src/views/statistics/invoiceList.vue index d2fac84..876d286 100644 --- a/src/views/statistics/invoiceList.vue +++ b/src/views/statistics/invoiceList.vue @@ -365,6 +365,7 @@ export default { return { fpzldmType:'', sureOrderModel:false, + saveList:{}, invoiceCopyRow:void 0, qrcodeModel:false, ewmSrc:'', @@ -1205,17 +1206,18 @@ export default { this.queryYwlx(); this.queryInvoices(); }, - saveBtn(){ + saveBtn(row){ this.sureOrderModel = true; - this.fpzldmType = void 0; + this.fpzldmType = '001'; + this.saveList = row }, sureCopyBtn(row){ showLoading() createOrderByCopyInvoiceApi({ fpzldm:JSON.stringify(this.fpzldmType), - entList:JSON.stringify([row.entId]), - fpqqlshList:JSON.stringify([row.fpqqlsh]), - xhfNsrsbh:JSON.stringify([row.xhfNsrsbh]), + entList:JSON.stringify([this.saveList.entId]), + fpqqlshList:JSON.stringify([this.saveList.fpqqlsh]), + xhfNsrsbh:JSON.stringify([this.saveList.xhfNsrsbh]), }).then((response) => { if (response.code == "0000") { this.$message({