From db8b77856f3efc3f07e60fdd55a73707dddc7d94 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B7=AF=E6=98=8E=E6=85=A7?= <1191093413@qq.com> Date: Mon, 26 Feb 2024 11:23:25 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=81=E4=B8=9A=E7=AE=A1=E7=90=86=EF=BC=9A?= =?UTF-8?q?=E5=89=8D=E7=AB=AF=E6=B7=BB=E5=8A=A0=E4=BC=81=E4=B8=9A=E7=A8=8E?= =?UTF-8?q?=E5=8F=B7=E5=92=8C=E5=90=8D=E7=A7=B0=E4=B8=BA=E7=A9=BA=E6=A0=A1?= =?UTF-8?q?=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jianshui-ui/src/views/system/companyservice/index.vue | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/jianshui-ui/src/views/system/companyservice/index.vue b/jianshui-ui/src/views/system/companyservice/index.vue index 4c7a938..6d6b87f 100644 --- a/jianshui-ui/src/views/system/companyservice/index.vue +++ b/jianshui-ui/src/views/system/companyservice/index.vue @@ -203,7 +203,14 @@ export default { // 表单参数 form: {}, // 表单校验 - rules: {} + rules: { + sellertax: [ + { required: true, message: "属性不能为空", trigger: "blur" } + ], + sellername: [ + { required: true, message: "值不能为空", trigger: "blur" } + ] + } }; }, created() {