[update] 企标计划立项变更流程联调

This commit is contained in:
lideqin
2023-10-30 16:49:32 +08:00
parent 93496eef14
commit 40cdef674c
4 changed files with 59 additions and 18 deletions
@@ -203,7 +203,7 @@
</div>
<!-- 人员信息 -->
<div v-show="switchValue === 'user'" class="detail-page-scroll-content p-0">
<process-detail-list :url="url">
<process-detail-list>
<personnel-info slot="personnelInfo" ref="personnelInfo" :data="personnelInfoData" :currentNode="currentNode + ''"></personnel-info>
</process-detail-list>
</div>
@@ -297,7 +297,8 @@ const approvalPersonalInfo = [ // 人员信息的数据
canChoose: true,
chooseType: 'checkbox',
chooseSource: 'workGroup',
fieldName: 'standardExpert'
fieldName: 'standardExpert',
minLength: 2
},
{
id: 4,
@@ -828,6 +829,10 @@ export default {
this.$message.warning(this.$t('pleaseEnterPersonnelInfo'))
return
}
// 专家审批至少需要选两个专家
if (personnelObj.standardExpert.split(',').length < 2) {
this.$message.warning(this.$t('workCenter.enterpriseInitChangePlan.pleaseSelectLeastTwoExpert'))
}
console.log(this.formInline)
this.processInfoForm.validateFields((err, values) => {
this.$refs.ruleForm.validate(valid => {