From 6b137f12e92356784df74a5de0b72bbdbd11007b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=88=E8=96=AA=E5=90=8D?= <942005050@qq.com> Date: Sat, 25 May 2024 17:30:31 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AF=BC=E5=85=A5=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/wms/basicDataManage/factoryModeling/dock/dock.data.ts | 2 +- .../factoryModeling/productionline/productionline.data.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/views/wms/basicDataManage/factoryModeling/dock/dock.data.ts b/src/views/wms/basicDataManage/factoryModeling/dock/dock.data.ts index cbd6b2916..3e4336b4b 100644 --- a/src/views/wms/basicDataManage/factoryModeling/dock/dock.data.ts +++ b/src/views/wms/basicDataManage/factoryModeling/dock/dock.data.ts @@ -251,7 +251,7 @@ export const DockRules = reactive({ { validator:validateYS, message: '请输入正确的代码', trigger: 'blur'} ], name: [ - { max: 50, message: '不得超过50个字符', trigger: 'blur' } + { required: true,max: 50, message: '不得超过50个字符', trigger: 'blur' } ], city: [ { max: 50, message: '不得超过50个字符', trigger: 'blur' } diff --git a/src/views/wms/basicDataManage/factoryModeling/productionline/productionline.data.ts b/src/views/wms/basicDataManage/factoryModeling/productionline/productionline.data.ts index 3ff8f8bd0..9892ad75b 100644 --- a/src/views/wms/basicDataManage/factoryModeling/productionline/productionline.data.ts +++ b/src/views/wms/basicDataManage/factoryModeling/productionline/productionline.data.ts @@ -243,7 +243,7 @@ export const ProductionlineRules = reactive({ { validator:validateYS, message: '请输入正确的代码', trigger: 'blur'} ], name: [ - { max: 50, message: '不得超过50个字符', trigger: 'blur' } + { required: true,max: 50, message: '不得超过50个字符', trigger: 'blur' } ], workshopCode: [ { required: true, message: '请输入车间代码', trigger: 'change' }