|
|
@ -340,6 +340,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin |
|
|
|
|
|
|
|
|
|
|
|
function onSelectCoupon1() { |
|
|
|
function onSelectCoupon1() { |
|
|
|
let ids = []; |
|
|
|
let ids = []; |
|
|
|
|
|
|
|
console.log(form.model.coupon_rules.programme_1) |
|
|
|
form.model.coupon_rules.programme_1.forEach((i) => { |
|
|
|
form.model.coupon_rules.programme_1.forEach((i) => { |
|
|
|
ids.push(i.id); |
|
|
|
ids.push(i.id); |
|
|
|
}); |
|
|
|
}); |
|
|
|