update 国内标准编辑禁用修改

This commit is contained in:
赵霄
2023-09-22 11:36:05 +08:00
parent 666dd4033f
commit 7592e2f010
2 changed files with 3 additions and 5 deletions
@@ -19,7 +19,7 @@
:placeholder="$t('pleaseSelect') + $t('standardSelect.source')"
:type="'select'"
:triggerChange="false"
:dictCode="'project_health'" />
:dictCode="'split_standard_source'" />
</a-form-item>
</a-col>
<!--标准号-->
@@ -75,7 +75,6 @@
<script>
import JTable from '../../../../components/jero/JTable.vue'
import { postAction, httpAction } from '../../../../api/manage.js'
import { JeroListMixin } from '../../../../mixins/JeroListMixin.js'
import { addDocSplit } from '../../../../api/documentToolApi.js'
@@ -124,7 +123,7 @@ export default {
},
// 附件
{
dataIndex: 'file_name',
dataIndex: 'fileName',
title: this.$t('businessSupport.questionAnswer.attach'),
width: 150
}
@@ -64,10 +64,9 @@ export default {
computed: {
// 不可编辑的字段
disabledField () {
console.log(this.isEdit)
if (this.isEdit) {
// 标准编号,被代替标准号,被引用标准号
return ['standard_number', 'replaced_by_standard_number', 'referenced_standard']
return ['standard_number_temp', 'replaced_by_standard_number', 'referenced_standard']
}
return ['replaced_by_standard_number', 'referenced_standard']
}