From 768087461d165cfd60074d9425f260f81056c7e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E4=B8=96=E5=BC=BA?= Date: Tue, 28 Mar 2023 09:13:37 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E4=BB=98=E6=AC=BE=E9=99=90?= =?UTF-8?q?=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/scm/basicInformation/paymentdoc/index.vue | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/SC-web/src/views/scm/basicInformation/paymentdoc/index.vue b/SC-web/src/views/scm/basicInformation/paymentdoc/index.vue index 9b4f860c..e351617f 100644 --- a/SC-web/src/views/scm/basicInformation/paymentdoc/index.vue +++ b/SC-web/src/views/scm/basicInformation/paymentdoc/index.vue @@ -412,9 +412,13 @@ }, fukuanHandle(id, flowState, isSubmit, isStop) { var flag = true; - this.list.poundlistEntityList.forEach((item,index) => { - if (item.isInvoicing == '0' || (item.advance == '0' && item.isCollection == '0')){ - flag = false; + this.list.forEach((item,index) => { + if (item.id == id) { + item.poundlistEntityList.forEach((item1, index) => { + if (item1.isInvoicing == '0' || (item1.advance == '0' && item1.isCollection == '0')) { + flag = false; + } + }) } }) if (!flag){