数量盘点入库
This commit is contained in:
parent
a56b7d44ea
commit
51af555aa6
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue