From c342391e6569e33e656cb981ff2998bbb42f5af1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=83=91=E6=98=8E=E6=A2=81?= <2429105222@qq.com> Date: Wed, 26 Jul 2023 17:59:03 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=91=E7=A5=A8bug=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/inout/InvoiceRegByFp.vue | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/views/inout/InvoiceRegByFp.vue b/src/views/inout/InvoiceRegByFp.vue index 3c6fb6ac..9a21419f 100644 --- a/src/views/inout/InvoiceRegByFp.vue +++ b/src/views/inout/InvoiceRegByFp.vue @@ -449,7 +449,7 @@ export default { imgList: [], imgViewerVisible: false, - + cowEn:null, //单据相关参数 orderLoading: false, orderList: [], @@ -686,6 +686,7 @@ export default { // this.resultDetailList = []; }, handleInvoiceChange(val) { + this.cowEn=val; this.getOrderList(val) this.getProductDetailList(val) }, @@ -694,11 +695,11 @@ export default { getProductDetailList(row) { this.productDetailLoading = true this.productDetailList = [] - if (row == null || isBlank(row.invoiceEncode)) { + if (this.cowEn == null || isBlank(this.cowEn.invoiceEncode)) { this.$message.error('请选择对应发票!') return } - this.productQuery.invoiceEncode = row.invoiceEncode + this.productQuery.invoiceEncode = this.cowEn.invoiceEncode productDetail(this.productQuery).then((res) => { this.productDetailLoading = false if (res.code === 20000) {