领料出库
This commit is contained in:
parent
af79db9774
commit
ec96e712b6
|
|
@ -263,7 +263,7 @@
|
|||
v-model="scope.row.preNum"
|
||||
type="text"
|
||||
style="width: 100%"
|
||||
:disabled="scope.row.alNum && scope.row.alNum != 0"
|
||||
:disabled="scope.row.alNum && scope.row.alNum != 0 ? true : false"
|
||||
@input="handlePreNum(scope.row, $event, 'input')"
|
||||
@blur="handlePreNum(scope.row, $event, 'blur')"
|
||||
/>
|
||||
|
|
@ -899,7 +899,7 @@ export default {
|
|||
this.$message.error(`第 ${i + 1} 行的 ${'预领数量必须大于0'} `);
|
||||
return
|
||||
}
|
||||
if(this.equipmentList[i].preNum>this.equipmentList[i].storageNum){
|
||||
if(this.equipmentList[i].preNum - this.equipmentList[i].alNum > this.equipmentList[i].storageNum){
|
||||
this.$message.error(`第 ${i + 1} 行的 ${'预领数量不可大于库存量'} `);
|
||||
return
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue