This commit is contained in:
lixin
2018-11-27 17:38:59 +08:00
parent 6223ebf82f
commit c3758ec048
2 changed files with 4 additions and 3 deletions

View File

@@ -831,12 +831,13 @@ export default {
this.dialogFormVisible = true
this.purchaseDetailNum = row.采购合同明细流水号
this.materialLocate = row.物料与货位对照流水号
this.enableOut = row.货位存量
this.enableOut = row.货位存量 - row.待出库数量
},
execaddListDetail(formName) {
if (this.pickingListNumberx === '') {
this.$message.error('请选择领料单')
} else if (this.form2.OutNumber === '' || this.form2.OutNumber > this.enableOut) {
console.log(this.enableOut)
this.$message.error('请正确输入领用数量')
} else {
this.$refs[formName].validate((valid) => {