From c0d59250dd2ad7dab34ab14d53e6b8935ef7fc97 Mon Sep 17 00:00:00 2001 From: sxu <602087911@qq.com> Date: Wed, 28 Aug 2024 12:22:04 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=80=E6=96=99=E6=8E=A5=E6=94=B6=E6=97=B6,?= =?UTF-8?q?=E6=A3=80=E6=9F=A5=E7=BB=93=E7=AE=97=E8=A1=A8=E6=8B=BF=E5=88=B0?= =?UTF-8?q?=E5=BE=85=E9=80=80=E6=96=99=E6=95=B0=E9=87=8F,=E9=98=B2?= =?UTF-8?q?=E6=AD=A2=E5=A4=9A=E9=80=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../claimAndreturn/return/receive/component/handlePage.vue | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/views/claimAndreturn/return/receive/component/handlePage.vue b/src/views/claimAndreturn/return/receive/component/handlePage.vue index a68141c..51ba0b8 100644 --- a/src/views/claimAndreturn/return/receive/component/handlePage.vue +++ b/src/views/claimAndreturn/return/receive/component/handlePage.vue @@ -180,7 +180,7 @@ (scope.row.partNum = scope.row.manageType == 0 || scope.row.manageType == 1 - ? scope.row.maxBackNum + ? scope.row.maxBackNum - scope.row.inCompletedBackNum : scope.row.partNum) }} @@ -230,7 +230,7 @@ !isView && (scope.row.manageType == '1' || scope.row.manageType == '2') && - scope.row.maxBackNum > 0 && + scope.row.maxBackNum - scope.row.inCompletedBackNum > 0 && (userId == scope.row.userId || userId == 1) " > @@ -934,7 +934,7 @@ export default { this.title = '数量退料' this.openNum = true this.dialogIsView = false - this.$set(row, 'backNum', row.maxBackNum) //退料数量 + this.$set(row, 'backNum', row.maxBackNum - row.inCompletedBackNum) //退料数量 this.returnNum = Number(row.maxBackNum) this.dialogData.typeMange = row.manageType this.dialogData.typeName = row.typeName