[update] 解决禅道上一部分企标bug

This commit is contained in:
lideqin
2023-10-30 15:42:54 +08:00
parent e24aaf8415
commit d76927714c
12 changed files with 86 additions and 19 deletions
@@ -13,8 +13,8 @@
<a-spin :spinning="confirmLoading" style="width: 100%;height:100%">
<add-form ref="addForm"
flag="3"
:defaultValue="{year_number: new Date().getFullYear() + ''}"
:disabledFieldList="['standard_number', 'replaced_standard_num', 'referenced_standard']"
:defaultValue="{year_number: new Date().getFullYear() + '', trial_period: '24'}"
:disabledFieldList="['standard_number', 'replaced_by_standard_number', 'referenced_standard']"
:hiddenFieldList="hiddenFieldList"
:get-form-func="getFormFunc"
:get-document-info-func="getDocumentInfoFunc"
@@ -98,11 +98,21 @@ export default {
dataIndex: 'requirement',
scopedSlots: { customRender: 'text' }
},
{ // 整改部门
title: this.$t('enterpriseStandardLibrary.standard.rectificationDepartment'),
align: 'center',
width: 200,
dataIndex: 'rectificationDepartment',
customRender: (value, row, index) => {
return <j-select-depart v-model={this.dataSource[index].rectificationDepartment}
backDepart={true} />
}
},
{
title: this.$t('operation'),
scopedSlots: { customRender: 'action' },
align: 'center',
width: 200
width: 150
}
],
dataSource: [],