fix 79363、79372

This commit is contained in:
danshihao
2023-12-21 16:02:17 +08:00
parent f5193b82e0
commit 5528062c8e
5 changed files with 13 additions and 3 deletions
@@ -285,6 +285,11 @@ export default {
this.$message.warning(this.$t('addAtLeastOneRowOfData'))
throw new Error('base')
}
// fix 79372 稽查内容条数不能为空或0
if (this.$refs.inspectionProcessTable.dataSource.some(item => (!item.standardInspectContentCount || item.standardInspectContentCount === '0'))) {
this.$message.warning(this.$t('workCenter.esInspectionProcess.pleaseFillInspectionContent'))
throw new Error('base')
}
const params = {}
// 收集所有表单信息
let formDataList = []