Gitea 2 years ago
parent eb7d50c86e
commit af4f8fa357
  1. 9
      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]{0,20}$/, message: ''},
// //{pattern: /^(?=.*([0-9a-zA-Z]){5}).[A-Za-z0-9]+$/, message: ''}, // //{pattern: /^(?=.*([0-9a-zA-Z]){5}).[A-Za-z0-9]+$/, message: ''},
// ], // ],
enterpriseId:[{required: true, message: '企业不能为空'}],
styleId: [ styleId: [
{required: true, message: '款式不能为空'}, {required: true, message: '款式不能为空'},
], ],
@ -183,13 +184,13 @@ export default {
// //
kuanshi(){ kuanshi(){
this.dict="zy_cloths_style,style_names,id,enterprise_id="+"'"+this.model.enterpriseId+"'"; this.dict="zy_cloths_style,style_names,id,enterprise_id="+"'"+this.model.enterpriseId+"'";
this.model.styleId=null // this.model.styleId=null
this.model.nums=null // this.model.nums=null
}, },
xiugai(){ xiugai(){
this.modenumber="zy_style_model,model_number,id,style_id="+"'"+this.model.styleId+"'" this.modenumber="zy_style_model,model_number,id,style_id="+"'"+this.model.styleId+"'"
this.model.stylemodelId=null // this.model.stylemodelId=null
this.model.nums=null // this.model.nums=null
// if(this.model.stylemodelId!=null&&this.model.enterpriseId!=null){ // if(this.model.stylemodelId!=null&&this.model.enterpriseId!=null){
// this.gaibian() // this.gaibian()
// } // }

Loading…
Cancel
Save