From 128fbbb094380976adf8184a8d99e2849e85bd17 Mon Sep 17 00:00:00 2001
From: 吴羡 <16976746+Xian-TT3@user.noreply.gitee.com>
Date: 星期一, 28 九月 2026 14:53:51 +0800
Subject: [PATCH] 宁夏万通需求:生产领料取消必填;设备台账批量删除;来料检验质检方案不绑定物料

---
 src/views/erp/stock/record/data.ts |   11 ++++-------
 1 files changed, 4 insertions(+), 7 deletions(-)

diff --git a/src/views/erp/stock/record/data.ts b/src/views/erp/stock/record/data.ts
index e4e3d0e..25b9b03 100644
--- a/src/views/erp/stock/record/data.ts
+++ b/src/views/erp/stock/record/data.ts
@@ -4,9 +4,11 @@
 import { DICT_TYPE } from '@vben/constants';
 import { getDictOptions } from '@vben/hooks';
 
-import { getProductSimpleList } from '#/api/erp/product/product';
+import { markRaw } from 'vue';
+
 import { getWarehouseSimpleList } from '#/api/erp/stock/warehouse';
 import { getRangePickerDefaultProps } from '#/utils';
+import { MdmItemSelect } from '#/views/basicData/mdm/components';
 
 /** 鎼滅储琛ㄥ崟 */
 export function useGridFormSchema(): VbenFormSchema[] {
@@ -14,14 +16,9 @@
     {
       fieldName: 'productId',
       label: '浜у搧',
-      component: 'ApiSelect',
+      component: markRaw(MdmItemSelect),
       componentProps: {
         placeholder: '璇烽�夋嫨浜у搧',
-        allowClear: true,
-        showSearch: true,
-        api: getProductSimpleList,
-        labelField: 'name',
-        valueField: 'id',
       },
     },
     {

--
Gitblit v1.9.3