From ead9635b902a060599264d2bdcb5399d5938cadd Mon Sep 17 00:00:00 2001
From: zhuzhuanzhuan
Date: 星期五, 10 五月 2024 16:05:05 +0800
Subject: [PATCH] 设备加工工件报表页面修复点击左侧树右侧无法正常展示数据问题
---
src/views/eam/modules/dailyInspectionStandard/DailylnspectionStandardModal.vue | 40 +++++++++++++++++++++-------------------
1 files changed, 21 insertions(+), 19 deletions(-)
diff --git a/src/views/eam/modules/dailyInspectionStandard/DailylnspectionStandardModal.vue b/src/views/eam/modules/dailyInspectionStandard/DailylnspectionStandardModal.vue
index b2f3d01..cca34ff 100644
--- a/src/views/eam/modules/dailyInspectionStandard/DailylnspectionStandardModal.vue
+++ b/src/views/eam/modules/dailyInspectionStandard/DailylnspectionStandardModal.vue
@@ -129,22 +129,20 @@
</a-col> -->
</a-row>
<a-row :gutter="24">
- <!-- <a-col :span="12">
+ <a-col :span="12">
<a-form-item
- label="娲惧伐鏂瑰紡"
+ label="绠$悊鍒跺害"
:labelCol="labelCol"
:wrapperCol="wrapperCol"
>
- <j-dict-select-tag
+ <a-input
allow-clear
- :disabled="disableSubmit"
- :placeholder="disableSubmit?'':'璇烽�夋嫨娲惧伐鏂瑰紡'"
- :triggerChange="true"
- dictCode="assign_mode"
- v-decorator="['assignMode', validatorRules.assignMode]"
+ :disabled="false"
+ :placeholder="disableSubmit?'':'璇疯緭鍏ョ鐞嗗埗搴�'"
+ v-decorator="['disUda1', validatorRules.disUda1 ]"
/>
</a-form-item>
- </a-col> -->
+ </a-col>
<a-col :span="12">
<a-form-item
label="鐗堟湰"
@@ -326,7 +324,7 @@
dataIndex: 'name'
},
{
- title: '妫�娴嬫爣鍑�',
+ title: '瀹屾垚鏁版嵁/瑕佹眰',
align: 'center',
dataIndex: 'detectionStandard'
},
@@ -350,7 +348,6 @@
align: 'center',
dataIndex: 'inspectionCycleId',
scopedSlots: { customRender: 'inspectionCycleId' },
- width: 170,
},
// {
// title: '绀烘剰鍥�',
@@ -359,13 +356,13 @@
// scopedSlots: { customRender: 'photo' },
// width: 170,
// },
- {
- title: '閮ㄤ綅',
- align: 'center',
- dataIndex: 'location',
- scopedSlots: { customRender: 'location' },
- width: 170,
- },
+ // {
+ // title: '閮ㄤ綅',
+ // align: 'center',
+ // dataIndex: 'location',
+ // scopedSlots: { customRender: 'location' },
+ // width: 170,
+ // },
{
title: '鎿嶄綔',
align: 'center',
@@ -418,6 +415,11 @@
historyVersion: {
rules: [
{ required: true, message: '璇疯緭鍏ュ巻鍙茬増鏈�!' },
+ ]
+ },
+ disUda1: {
+ rules: [
+ { required: true, message: '璇疯緭鍏ョ鐞嗗埗搴�!' },
]
},
},
@@ -485,7 +487,7 @@
that.dataSource = temp;
}
that.$nextTick(() => {
- that.form.setFieldsValue(pick(that.model, 'num', 'equipmentId', 'equipmentName', 'useDepartName', 'useId', 'teamName', 'assignMode', 'version', 'remark'));
+ that.form.setFieldsValue(pick(that.model, 'num', 'equipmentId', 'equipmentName', 'useDepartName', 'disUda1', 'useId', 'teamName', 'assignMode', 'version', 'remark'));
});
if (record.id) {
that.codeDisable = true;
--
Gitblit v1.9.3