分销等级配置商品券

main
ztt 8 months ago
parent 29836f1554
commit c276ada366
  1. 4
      public/assets/js/backend/shopro/commission/level.js

@ -345,6 +345,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
// });
Fast.api.open(`shopro/coupon/select?multiple=true&status=normal`, "选择商品", {
callback(data) {
console.log(data)
form.model.coupon_rules.programme_1 = data;
}
})
@ -355,8 +356,9 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
// form.model.coupon_rules.programme_2.forEach((i) => {
// ids.push(i.id);
// });
Fast.api.open(`shopro/coupon/select?multiple=true&status=normal`, "选择商品", {
Fast.api.open(`shopro/coupon/select?multiple=true&status=normal`, "选择商品", {
callback(data) {
console.log(data)
form.model.coupon_rules.programme_2 = data;
}
})

Loading…
Cancel
Save