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