bug新增秒杀拼团报错

This commit is contained in:
xuwenbo
2020-09-04 11:33:23 +08:00
parent 453f1ed0ee
commit 8ff0eef01f
2 changed files with 6 additions and 9 deletions

View File

@ -774,6 +774,8 @@ export default {
that.formValidate.header = [];
that.generate(data.productId);
that.manyFormValidate = data.attrs;
that.form1.good.productId = data.productId;
that.form1.good.image = data.image
if(data.spec_type === 0){
that.manyFormValidate = [];
}else {
@ -796,12 +798,10 @@ export default {
]
}
}
that.treeSelect = res.cateList;
that.ruleList = res.ruleList;
that.templateList = res.tempList;
that.form1.good.productId = data.productId;
that.form1.good.image = data.image
}).catch(res => {
console.log('err:'+res)
return this.$message({