|
|
|
@ -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(',')}`, "选择商品券", { |
|
|
|
|
callback(data) { |
|
|
|
|
console.log(JSON.parse(JSON.stringify(data))) |
|
|
|
|
form.model.coupon_rules.programme_1 = JSON.parse(JSON.stringify(data)); |
|
|
|
|
// console.log(JSON.parse(JSON.stringify(data)))
|
|
|
|
|
form.model.coupon_rules.programme_1 = data; |
|
|
|
|
console.log(form.model.coupon_rules.programme_1) |
|
|
|
|
} |
|
|
|
|
}) |
|
|
|
@ -360,8 +360,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(',')}`, "选择商品券", { |
|
|
|
|
callback(data) { |
|
|
|
|
console.log(JSON.parse(JSON.stringify(data))) |
|
|
|
|
form.model.coupon_rules.programme_2 = JSON.parse(JSON.stringify(data)); |
|
|
|
|
// console.log(JSON.parse(JSON.stringify(data)))
|
|
|
|
|
form.model.coupon_rules.programme_2 = data; |
|
|
|
|
console.log(form.model.coupon_rules.programme_2) |
|
|
|
|
} |
|
|
|
|
}) |
|
|
|
|