This commit is contained in:
parent
58e06eb19d
commit
2f73b2f94a
|
|
@ -1299,20 +1299,20 @@ export default {
|
||||||
let canSave = true
|
let canSave = true
|
||||||
if (this.leaseApplyDetails.length > 0) {
|
if (this.leaseApplyDetails.length > 0) {
|
||||||
this.queryParams.leaseApplyDetails = this.leaseApplyDetails
|
this.queryParams.leaseApplyDetails = this.leaseApplyDetails
|
||||||
// try {
|
try {
|
||||||
// this.queryParams.leaseApplyDetails.forEach((item) => {
|
this.queryParams.leaseApplyDetails.forEach((item) => {
|
||||||
// if (item.num == 0) {
|
// if (item.num == 0) {
|
||||||
// this.$message.error('机具类型库存量为零无法领料')
|
// this.$message.error('机具类型库存量为零无法领料')
|
||||||
// throw new Error()
|
// throw new Error()
|
||||||
// }
|
// }
|
||||||
// if (!item.childrenList && item.preNum == '') {
|
if (!item.childrenList && item.preNum == '') {
|
||||||
// this.$message.error('请填写预领数量')
|
this.$message.error('请填写预领数量')
|
||||||
// throw new Error()
|
throw new Error()
|
||||||
// }
|
}
|
||||||
// })
|
})
|
||||||
// } catch (e) {
|
} catch (e) {
|
||||||
// throw e
|
throw e
|
||||||
// }
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
this.leaseApplyDetails.forEach((e) => {
|
this.leaseApplyDetails.forEach((e) => {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue