|
|
|
@ -426,11 +426,10 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin |
|
|
|
|
state.selected = JSON.parse(JSON.stringify(val)) |
|
|
|
|
console.log(val) |
|
|
|
|
console.log(JSON.parse(JSON.stringify(val))) |
|
|
|
|
state.ids = state.selected |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
function onConfirm() { |
|
|
|
|
let ids = state.ids.join(',') |
|
|
|
|
let ids = state.selected.map(obj => obj.id) |
|
|
|
|
Fast.api.ajax({ |
|
|
|
|
url: 'shopro/coupon/select', |
|
|
|
|
type: 'GET', |
|
|
|
|