From bdc1dc9be9e0b41b55e4e86f72d2e4f0e1228535 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E8=96=AA=E5=90=8D?= <942005050@qq.com> Date: Thu, 4 Jan 2024 14:50:37 +0800 Subject: [PATCH] =?UTF-8?q?=E7=94=9F=E4=BA=A7=E8=AE=A1=E5=88=92=20?= =?UTF-8?q?=E9=A1=BA=E5=BA=8F=E8=B6=85=E9=95=BF=E9=99=90=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../productionplan/productionMain/productionMain.data.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/views/wms/productionManage/productionplan/productionMain/productionMain.data.ts b/src/views/wms/productionManage/productionplan/productionMain/productionMain.data.ts index d7d235a94..8a93dcb7f 100644 --- a/src/views/wms/productionManage/productionplan/productionMain/productionMain.data.ts +++ b/src/views/wms/productionManage/productionplan/productionMain/productionMain.data.ts @@ -39,6 +39,11 @@ export const ProductionMain = useCrudSchemas(reactive([ table: { width: 150 }, + form: { + componentProps: { + maxlength: 50 + } + } }, { label: '车间', @@ -429,7 +434,7 @@ export const ProductionMain = useCrudSchemas(reactive([ export const ProductionMainRules = reactive({ displayOrder: [ { required: true, message: '请输入顺序', trigger: 'blur' }, - { max: 50, message: '不得超过50个字符', trigger: 'blur' } + // { max: 50, message: '不得超过50个字符', trigger: 'blur' } ], workshop: [ { required: true, message: '请选择车间', trigger: 'change' }