From 686a10f682733d21bd8cdd7b08625eb0087f30f2 Mon Sep 17 00:00:00 2001 From: wangyufei <2267742828@qq.com> Date: Wed, 14 Aug 2024 22:33:03 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BC=96=E8=BE=91=E6=95=B0=E9=87=8F=E7=BB=84?= =?UTF-8?q?=E4=BB=B6=E5=B0=81=E8=A3=85?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/mycomponents/qty/balanceQtyEdit.vue | 8 ++++++-- src/pages/inventoryMove/coms/comInventoryDetailCard.vue | 2 +- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/src/mycomponents/qty/balanceQtyEdit.vue b/src/mycomponents/qty/balanceQtyEdit.vue index e4c8c031..79109196 100644 --- a/src/mycomponents/qty/balanceQtyEdit.vue +++ b/src/mycomponents/qty/balanceQtyEdit.vue @@ -36,7 +36,7 @@ 数量 : + @confirm="confirm()" @input="checkNum" :maxlength="maxlength" :disabled="!allowEditQty" :style="allowEditQty?{}:{background:'#f5f5f5',color:'#bbbbbb'}"/> @@ -119,7 +119,11 @@ queryBalance: { type: Boolean, default: true - } + }, + allowEditQty: { + type: Boolean, + default: true + }, }, watch:{ 'allQty'(newVal){ diff --git a/src/pages/inventoryMove/coms/comInventoryDetailCard.vue b/src/pages/inventoryMove/coms/comInventoryDetailCard.vue index d01e273f..58125685 100644 --- a/src/pages/inventoryMove/coms/comInventoryDetailCard.vue +++ b/src/pages/inventoryMove/coms/comInventoryDetailCard.vue @@ -17,7 +17,7 @@ - +