分销等级配置商品券

main
ztt 8 months ago
parent 23b0cfe578
commit 0195d3f088
  1. 4
      public/assets/js/backend/shopro/commission/level.js

@ -347,7 +347,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
Fast.api.open(`shopro/coupon/select?multiple=true&status=normal&use_scope=goods&ids=${ids.join(',')}`, "选择商品券", { Fast.api.open(`shopro/coupon/select?multiple=true&status=normal&use_scope=goods&ids=${ids.join(',')}`, "选择商品券", {
callback(data) { callback(data) {
console.log(JSON.parse(JSON.stringify(data))) console.log(JSON.parse(JSON.stringify(data)))
form.model.coupon_rules.programme_1 = data.data; form.model.coupon_rules.programme_1 = JSON.parse(JSON.stringify(data));
} }
}) })
} }
@ -360,7 +360,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
Fast.api.open(`shopro/coupon/select?multiple=true&status=normal&use_scope=goods&ids=${ids.join(',')}`, "选择商品券", { Fast.api.open(`shopro/coupon/select?multiple=true&status=normal&use_scope=goods&ids=${ids.join(',')}`, "选择商品券", {
callback(data) { callback(data) {
console.log(JSON.parse(JSON.stringify(data))) console.log(JSON.parse(JSON.stringify(data)))
form.model.coupon_rules.programme_2 = data.data; form.model.coupon_rules.programme_2 = JSON.parse(JSON.stringify(data));
} }
}) })
} }

Loading…
Cancel
Save