Commit 5e9dcc5c authored by dragondean@qq.com's avatar dragondean@qq.com

优惠创建的时候给商品使用类型赋值

parent c7c74cd6
......@@ -662,7 +662,7 @@ export default {
}
})
this.$set(this.form, 'suitableProdType', this.isAllProduct ? 0 : 1)
let data = Object.assign({}, this.form, {discountDetailedVOs})
......@@ -681,6 +681,7 @@ export default {
if(this.form.type != 1 && !this.isAllProduct && !this.form.prodIds){
return this.$message.error('请选择商品')
}
this.$set(this.form, 'suitableProdType', this.isAllProduct ? 0 : 1)
// 修改的提交
if (data.couponId != null) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment