From 2b21c7185535c57ff4056dcee1a7f056bfb47c03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E8=83=9C=E6=A5=A0?= <2792649152@qq.com> Date: Wed, 29 Nov 2023 11:00:44 +0800 Subject: [PATCH] =?UTF-8?q?=E7=89=A9=E6=96=99=E6=B8=85=E5=8D=95=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../itemManage/bom/bom.data.ts | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/src/views/wms/basicDataManage/itemManage/bom/bom.data.ts b/src/views/wms/basicDataManage/itemManage/bom/bom.data.ts index 2eaf0f356..dcab0c973 100644 --- a/src/views/wms/basicDataManage/itemManage/bom/bom.data.ts +++ b/src/views/wms/basicDataManage/itemManage/bom/bom.data.ts @@ -4,6 +4,9 @@ import { dateFormatter } from '@/utils/formatTime' import * as ItembasicApi from '@/api/wms/itembasic' import { Itembasic } from './../itembasic/itembasic.data' +import * as ProcessApi from '@/api/wms/process' +import { Process } from '../../factoryModeling/process/process.data' + const { t } = useI18n() // 国际化 /** @@ -99,6 +102,22 @@ export const Bom = useCrudSchemas(reactive([ sort: 'custom', table: { width: 120 + }, + form: { + // labelMessage: '信息提示说明!!!', + componentProps: { + isSearchList: true, // 开启查询弹窗 + searchListPlaceholder: '请选择工序代码', // 输入框占位文本 + searchField: 'code', // 查询弹窗赋值字段 + searchTitle: '工序信息', // 查询弹窗标题 + searchAllSchemas: Process.allSchemas, // 查询弹窗所需类 + searchPage: ProcessApi.getProcessPage, // 查询弹窗所需分页方法 + searchCondition: [{ + key: 'available', + value: 'TRUE', + isMainValue: false + }] + } } }, {