fix 79939

This commit is contained in:
赵霄
2024-01-12 15:37:32 +08:00
parent 1fbb00f494
commit 5fe8f401f2
@@ -472,7 +472,12 @@ export default {
// 变更且从标准编辑处跳转
if (this.isFromList && this.$route.query.operateType === OperationType.CHANGE.value) {
// 标准名称,被代替标准号,被引用标准号,标准类别,年代号
return ['standard_number_temp', 'replaced_by_standard_number', 'referenced_standard', 'standard_class', 'year_number']
const fields = ['standard_number_temp', 'replaced_by_standard_number', 'referenced_standard', 'standard_class', 'year_number']
// 废止状态的标准,标准状态不可以编辑
if (this.standardGetState === StandardStatus.ABOLISH.value) {
fields.push('standard_state')
}
return fields
}
// 标准法规变更
if (this.formInline.operateType === OperationType.CHANGE.value) {