This commit is contained in:
BianLzhaoMin 2025-03-10 16:48:07 +08:00
parent 58e06eb19d
commit 2f73b2f94a
1 changed files with 14 additions and 14 deletions

View File

@ -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) => {