fix 79939
This commit is contained in:
@@ -472,7 +472,12 @@ export default {
|
|||||||
// 变更且从标准编辑处跳转
|
// 变更且从标准编辑处跳转
|
||||||
if (this.isFromList && this.$route.query.operateType === OperationType.CHANGE.value) {
|
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) {
|
if (this.formInline.operateType === OperationType.CHANGE.value) {
|
||||||
|
|||||||
Reference in New Issue
Block a user