From b40b72d026d52423d11f1d88ec41261bc4b100ab Mon Sep 17 00:00:00 2001 From: Vayne Date: Tue, 4 Apr 2023 22:57:28 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../scm/basicInformation/purchaseorder/index.vue | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/SC-web/src/views/scm/basicInformation/purchaseorder/index.vue b/SC-web/src/views/scm/basicInformation/purchaseorder/index.vue index c45c4df9..bc680dd8 100644 --- a/SC-web/src/views/scm/basicInformation/purchaseorder/index.vue +++ b/SC-web/src/views/scm/basicInformation/purchaseorder/index.vue @@ -103,7 +103,7 @@ {{ scope.row.currency | dynamicText(currencyOptions) }} - + @@ -707,7 +707,7 @@ } var flag = true; this.multipleSelectionItem[0].poundlistEntityList.forEach((item,index) => { - if (item.salesStatus > 0){ + if (item.salesStatus == 1 || item.salesStatus == 2 || item.salesStatus == 3){ flag = false; } }) @@ -787,6 +787,15 @@ }); return } + if(row.isPayment == '1'){ + debugger + this.$message({ + type: 'error', + message: '付款申请中,无法编辑', + duration: 2500 + }); + return + } } this.formVisible = true this.$nextTick(() => {