数量盘点入库

This commit is contained in:
binbin_pan 2024-04-01 17:55:31 +08:00 committed by liang.chao
parent e8969befbc
commit 37c2e8ae11
1 changed files with 1 additions and 5 deletions

View File

@ -736,7 +736,7 @@ export default {
if (this.isNumCheck) { if (this.isNumCheck) {
// this.numTableList this.numTable , , // this.numTableList this.numTable , ,
if (this.numTableList.some(item => item.typeId == this.codeForm.typeId)) { if (this.numTableList.some(item => item.typeId == this.codeForm.typeId)) {
this.$message.error('请勿重复添加') this.$message.warning('请勿重复添加')
return return
} }
console.log('🚀 ~ fillCodeForm ~ this.numTable:', this.numTable); console.log('🚀 ~ fillCodeForm ~ this.numTable:', this.numTable);
@ -905,10 +905,6 @@ export default {
}, },
// //
handlePutBlur(row) { handlePutBlur(row) {
if (row.putInStoreNum > row.num) {
this.$message.error('入库数量不能大于当前库存')
row.putInStoreNum = row.num
}
if (!row.putInStoreNum) { if (!row.putInStoreNum) {
this.$message.warning('入库数量不能为空') this.$message.warning('入库数量不能为空')
row.putInStoreNum = 1 row.putInStoreNum = 1