分销等级配置商品券

main
ztt 8 months ago
parent a8038190c7
commit cc84e56bed
  1. 8
      public/assets/js/backend/shopro/commission/level.js

@ -346,8 +346,8 @@ 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(data) console.log(data.data)
form.model.coupon_rules.programme_1 = data; form.model.coupon_rules.programme_1 = data.data;
} }
}) })
} }
@ -359,8 +359,8 @@ 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(data) console.log(data.data)
form.model.coupon_rules.programme_2 = data; form.model.coupon_rules.programme_2 = data.data;
} }
}) })
} }

Loading…
Cancel
Save