From cd8b52bdf89a4d1101f72e0ece9f4df22a3d3f7a Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期四, 15 十月 2026 16:03:32 +0800
Subject: [PATCH] feat(mdm): 物料列表隐藏辅单位与销售价列

---
 src/views/mes/qc/oqc/data.ts |   31 ++++++++++++++++++++++++++-----
 1 files changed, 26 insertions(+), 5 deletions(-)

diff --git a/src/views/mes/qc/oqc/data.ts b/src/views/mes/qc/oqc/data.ts
index 54b6766..e3c4a4c 100644
--- a/src/views/mes/qc/oqc/data.ts
+++ b/src/views/mes/qc/oqc/data.ts
@@ -13,7 +13,7 @@
 import { generateAutoCode } from '#/api/mes/md/autocode/record';
 import { getTemplateItemOptionList } from '#/api/mes/qc/template/item';
 import { getSimpleUserList } from '#/api/system/user';
-import { getRangePickerDefaultProps } from '#/utils';
+import { getDateRangePickerDefaultProps } from '#/utils';
 import CrmCustomerSelect from '#/components/crm-customer-select.vue';
 import { MdmItemSelect } from '#/views/basicData/mdm/components';
 
@@ -166,14 +166,15 @@
       label: '瀹㈡埛',
       component: markRaw(CrmCustomerSelect),
       componentProps: {
-        placeholder: '璇烽�夋嫨瀹㈡埛',
+        allowClear: true,
+        placeholder: '璇烽�夋嫨瀹㈡埛锛堝彲涓嶅~锛�',
       },
-      rules: 'selectRequired',
       dependencies: {
         triggerFields: ['sourceDocId'],
         componentProps: (values) => ({
           disabled: !!values.sourceDocId,
-          placeholder: '璇烽�夋嫨瀹㈡埛',
+          allowClear: true,
+          placeholder: '璇烽�夋嫨瀹㈡埛锛堝彲涓嶅~锛�',
         }),
       },
     },
@@ -370,11 +371,25 @@
       },
     },
     {
+      fieldName: 'inspectorUserId',
+      label: '妫�娴嬩汉鍛�',
+      component: 'ApiSelect',
+      componentProps: {
+        allowClear: true,
+        api: getSimpleUserList,
+        labelField: 'nickname',
+        placeholder: '璇烽�夋嫨妫�娴嬩汉鍛�',
+        showSearch: true,
+        optionFilterProp: 'label',
+        valueField: 'id',
+      },
+    },
+    {
       fieldName: 'inspectDate',
       label: '妫�娴嬫棩鏈�',
       component: 'RangePicker',
       componentProps: {
-        ...getRangePickerDefaultProps(),
+        ...getDateRangePickerDefaultProps(),
       },
     },
   ];
@@ -449,6 +464,12 @@
       },
     },
     {
+      field: 'indicatorResultSummary',
+      title: '妫�娴嬬粨鏋滐紙妫�楠岄」锛�',
+      minWidth: 200,
+      showOverflow: 'tooltip',
+    },
+    {
       field: 'outDate',
       title: '鍑鸿揣鏃ユ湡',
       width: 120,

--
Gitblit v1.9.3