update 国内标准编辑禁用修改
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
+1
-2
@@ -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']
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user