From 2b0cc9463fa433ea31998acd4ae0e06687fd8906 Mon Sep 17 00:00:00 2001 From: TengXF <302828528@qq.com> Date: Sun, 11 Aug 2024 14:59:39 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8C=85=E8=A3=85=E4=BF=A1=E6=81=AF=E9=9A=90?= =?UTF-8?q?=E8=97=8F=E6=A0=87=E7=AD=BE=E6=95=B0=E9=87=8F=EF=BC=8C=E7=94=9F?= =?UTF-8?q?=E4=BA=A7=E7=BA=BF=E6=94=B9=E4=B8=BA=E6=94=BE=E5=A4=A7=E9=95=9C?= =?UTF-8?q?=E9=80=89=E6=8B=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../inventoryManage/package/package.data.ts | 23 ++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/src/views/wms/inventoryManage/package/package.data.ts b/src/views/wms/inventoryManage/package/package.data.ts index bedbf8751..6104f4829 100644 --- a/src/views/wms/inventoryManage/package/package.data.ts +++ b/src/views/wms/inventoryManage/package/package.data.ts @@ -20,6 +20,10 @@ import { formatTime } from '@/utils/index' import { Supplieritem } from "@/views/wms/basicDataManage/supplierManage/supplieritem/supplieritem.data"; +import { + Productionline +} from "@/views/wms/basicDataManage/factoryModeling/productionline/productionline.data"; +import * as ProductionlineApi from "@/api/wms/productionline"; // 表单校验 export const PackageRules = reactive({ @@ -502,7 +506,7 @@ export const Package = useCrudSchemas(reactive([ label: '标签数量', field: 'count', sort: 'custom', - isTable: true, + isTable: false, table: { width: 150 }, @@ -570,6 +574,23 @@ export const Package = useCrudSchemas(reactive([ table: { width: 150, }, + form: { + // labelMessage: '信息提示说明!!!', + componentProps: { + isSearchList: true, // 开启查询弹窗 + searchListPlaceholder: '请选择生产线代码', // 输入框占位文本 + multiple:true, + searchField: 'code', // 查询弹窗赋值字段 + searchTitle: '生产线信息', // 查询弹窗标题 + searchAllSchemas: Productionline.allSchemas, // 查询弹窗所需类 + searchPage: ProductionlineApi.getProductionlinePage, // 查询弹窗所需分页方法 + searchCondition: [{ + key: 'available', + value: 'TRUE', + isMainValue: false + }] + } + } }, // { // label: '班组代码',