From a5140100123e73fd8fa65a21e5da9ddbbbd259bd Mon Sep 17 00:00:00 2001 From: A0010407 Date: Thu, 14 Sep 2023 16:12:29 +0800 Subject: [PATCH] =?UTF-8?q?=E5=9F=BA=E7=A1=80=E4=BF=A1=E6=81=AF=E8=AE=BE?= =?UTF-8?q?=E5=A4=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/wms/factory/index.vue | 25 +++++++++++++++++++++---- 1 file changed, 21 insertions(+), 4 deletions(-) diff --git a/src/views/wms/factory/index.vue b/src/views/wms/factory/index.vue index c50f95ac..996dc623 100644 --- a/src/views/wms/factory/index.vue +++ b/src/views/wms/factory/index.vue @@ -8,8 +8,15 @@ clearable @keyup.enter.native="handleQuery" /> - + + + - + @@ -178,8 +185,18 @@ export default { // 表单参数 form: {}, // 表单校验 - rules: { - } + // 表单校验 + rules: { + factoryCode: [ + { required: true, message: "组织编码不能为空", trigger: "blur" } + ], + factoryName: [ + { required: true, message: "组织名称不能为空", trigger: "blur" } + ], + status: [ + { required: true, message: "组织状态不能为空", trigger: "blur" } + ] + } }; }, created() {