From af4f8fa3570e485aab179cb4867b87b8fc6025ec Mon Sep 17 00:00:00 2001 From: Gitea Date: Mon, 15 May 2023 15:17:38 +0800 Subject: [PATCH] bug --- .../views/zyclothsample/modules/ZyClothSampleForm.vue | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/ant-design-vue-jeecg/src/views/zyclothsample/modules/ZyClothSampleForm.vue b/ant-design-vue-jeecg/src/views/zyclothsample/modules/ZyClothSampleForm.vue index 1a81430f..7b9a8901 100644 --- a/ant-design-vue-jeecg/src/views/zyclothsample/modules/ZyClothSampleForm.vue +++ b/ant-design-vue-jeecg/src/views/zyclothsample/modules/ZyClothSampleForm.vue @@ -138,6 +138,7 @@ export default { // { pattern: /^[0-9A-Za-z]{0,20}$/, message: '编号太长'}, // //{pattern: /^(?=.*([0-9a-zA-Z]){5}).[A-Za-z0-9]+$/, message: '编号为四位'}, // ], + enterpriseId:[{required: true, message: '企业不能为空'}], styleId: [ {required: true, message: '款式不能为空'}, ], @@ -183,13 +184,13 @@ export default { // kuanshi(){ this.dict="zy_cloths_style,style_names,id,enterprise_id="+"'"+this.model.enterpriseId+"'"; - this.model.styleId=null - this.model.nums=null + // this.model.styleId=null + // this.model.nums=null }, xiugai(){ this.modenumber="zy_style_model,model_number,id,style_id="+"'"+this.model.styleId+"'" - this.model.stylemodelId=null - this.model.nums=null + // this.model.stylemodelId=null + // this.model.nums=null // if(this.model.stylemodelId!=null&&this.model.enterpriseId!=null){ // this.gaibian() // }