|
|
@ -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() |
|
|
|
// } |
|
|
|
// } |
|
|
|