|
|
|
@ -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; |
|
|
|
|
} |
|
|
|
|
}) |
|
|
|
|