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({