bug新增秒杀拼团报错
This commit is contained in:
@ -774,6 +774,8 @@ export default {
|
|||||||
that.formValidate.header = [];
|
that.formValidate.header = [];
|
||||||
that.generate(data.productId);
|
that.generate(data.productId);
|
||||||
that.manyFormValidate = data.attrs;
|
that.manyFormValidate = data.attrs;
|
||||||
|
that.form1.good.productId = data.productId;
|
||||||
|
that.form1.good.image = data.image
|
||||||
if(data.spec_type === 0){
|
if(data.spec_type === 0){
|
||||||
that.manyFormValidate = [];
|
that.manyFormValidate = [];
|
||||||
}else {
|
}else {
|
||||||
@ -796,12 +798,10 @@ export default {
|
|||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
that.treeSelect = res.cateList;
|
that.treeSelect = res.cateList;
|
||||||
that.ruleList = res.ruleList;
|
that.ruleList = res.ruleList;
|
||||||
that.templateList = res.tempList;
|
that.templateList = res.tempList;
|
||||||
that.form1.good.productId = data.productId;
|
|
||||||
that.form1.good.image = data.image
|
|
||||||
}).catch(res => {
|
}).catch(res => {
|
||||||
console.log('err:'+res)
|
console.log('err:'+res)
|
||||||
return this.$message({
|
return this.$message({
|
||||||
|
@ -730,11 +730,9 @@ export default {
|
|||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
that.treeSelect = res.cateList;
|
that.treeSelect = res.cateList;
|
||||||
that.ruleList = res.ruleList;
|
that.ruleList = res.ruleList;
|
||||||
that.templateList = res.tempList;
|
that.templateList = res.tempList;
|
||||||
|
|
||||||
}).catch(res => {
|
}).catch(res => {
|
||||||
console.log('err:'+res)
|
console.log('err:'+res)
|
||||||
return this.$message({
|
return this.$message({
|
||||||
@ -759,6 +757,8 @@ export default {
|
|||||||
that.formValidate.header = [];
|
that.formValidate.header = [];
|
||||||
that.formValidate.image = data.image
|
that.formValidate.image = data.image
|
||||||
that.formValidate.sliderImageArr = data.slider_image
|
that.formValidate.sliderImageArr = data.slider_image
|
||||||
|
that.form1.good.productId = data.productId
|
||||||
|
that.form1.good.image = data.image
|
||||||
that.generate(data.productId);
|
that.generate(data.productId);
|
||||||
that.manyFormValidate = data.attrs;
|
that.manyFormValidate = data.attrs;
|
||||||
if(data.spec_type === 0){
|
if(data.spec_type === 0){
|
||||||
@ -783,8 +783,7 @@ export default {
|
|||||||
]
|
]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
that.form1.good.productId = data.productId
|
|
||||||
that.form1.good.image = data.image
|
|
||||||
that.treeSelect = res.cateList;
|
that.treeSelect = res.cateList;
|
||||||
that.ruleList = res.ruleList;
|
that.ruleList = res.ruleList;
|
||||||
that.templateList = res.tempList;
|
that.templateList = res.tempList;
|
||||||
@ -797,8 +796,6 @@ export default {
|
|||||||
});
|
});
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
||||||
// 提交
|
// 提交
|
||||||
handleSubmit (name) {
|
handleSubmit (name) {
|
||||||
this.$refs[name].validate((valid) => {
|
this.$refs[name].validate((valid) => {
|
||||||
|
Reference in New Issue
Block a user