From 37c2e8ae1161c802f425ba7ec3dcbd38b0d9a950 Mon Sep 17 00:00:00 2001 From: binbin_pan Date: Mon, 1 Apr 2024 17:55:31 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=B0=E9=87=8F=E7=9B=98=E7=82=B9=E5=85=A5?= =?UTF-8?q?=E5=BA=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sgzb-ui/src/views/store/warehousing/putInStore.vue | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/sgzb-ui/src/views/store/warehousing/putInStore.vue b/sgzb-ui/src/views/store/warehousing/putInStore.vue index d0762a31..ff774c19 100644 --- a/sgzb-ui/src/views/store/warehousing/putInStore.vue +++ b/sgzb-ui/src/views/store/warehousing/putInStore.vue @@ -736,7 +736,7 @@ export default { if (this.isNumCheck) { // 判断 this.numTableList 中是否有 this.numTable 的数据, 如果有, 则不添加 if (this.numTableList.some(item => item.typeId == this.codeForm.typeId)) { - this.$message.error('请勿重复添加') + this.$message.warning('请勿重复添加') return } console.log('🚀 ~ fillCodeForm ~ this.numTable:', this.numTable); @@ -905,10 +905,6 @@ export default { }, // 入库数量输入框失去焦点 handlePutBlur(row) { - if (row.putInStoreNum > row.num) { - this.$message.error('入库数量不能大于当前库存') - row.putInStoreNum = row.num - } if (!row.putInStoreNum) { this.$message.warning('入库数量不能为空') row.putInStoreNum = 1