Commit baacb789 authored by 邓春圆's avatar 邓春圆

已加入的商品为默认选择活动 bug修复

parent 7e17a235
...@@ -500,7 +500,7 @@ export default { ...@@ -500,7 +500,7 @@ export default {
}) })
this.open = true; this.open = true;
this.title = this.$t("修改商品"); this.title = this.$t("修改商品");
product_coupon_newProd().then(r => { product_coupon_newProd({prodId:id}).then(r => {
this.preferentialList = r.data this.preferentialList = r.data
this.form.couponIds = this.preferentialList.filter(i => i.isDefault).map(i => i.couponId) this.form.couponIds = this.preferentialList.filter(i => i.isDefault).map(i => i.couponId)
// this.reset() // this.reset()
......
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