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