[update] 修改标准化发起流程的保存

This commit is contained in:
lideqin
2024-02-04 15:45:38 +08:00
parent c9c8086fd4
commit d8c37e2d34
@@ -379,7 +379,7 @@ export default {
const ruleForm = this.$refs.baseInfoRef.getData() const ruleForm = this.$refs.baseInfoRef.getData()
const form = { ...processInfoForm, ...approvalInfoForm, ...personnelObj } const form = { ...processInfoForm, ...approvalInfoForm, ...personnelObj }
const flag = Object.values(form).some(v => !!v || v === 0) const flag = Object.values(form).some(v => !!v || v === 0)
if (!flag || ruleForm.dataSource.length <= 0) { if (!flag && ruleForm.dataSource.length <= 0) {
// 提示至少填写一项 // 提示至少填写一项
this.$message.warning(this.$t('pleaseFillInAtLeastOneItem')) this.$message.warning(this.$t('pleaseFillInAtLeastOneItem'))
return return