[update] 修改标准化发起流程的保存
This commit is contained in:
+1
-1
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user