|
|
@ -425,6 +425,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin |
|
|
|
function onChangeSelection(val) { |
|
|
|
function onChangeSelection(val) { |
|
|
|
state.selected = val |
|
|
|
state.selected = val |
|
|
|
console.log(val) |
|
|
|
console.log(val) |
|
|
|
|
|
|
|
console.log(JSON.parse(JSON.stringify(val))) |
|
|
|
state.ids.push(val) |
|
|
|
state.ids.push(val) |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
@ -438,8 +439,8 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin |
|
|
|
search: JSON.stringify({ use_scope: ['goods','='],status:['normal','='],id: [ids, 'in'] }) |
|
|
|
search: JSON.stringify({ use_scope: ['goods','='],status:['normal','='],id: [ids, 'in'] }) |
|
|
|
}, |
|
|
|
}, |
|
|
|
}, function (ret, res) { |
|
|
|
}, function (ret, res) { |
|
|
|
Fast.api.close(state.selected) |
|
|
|
|
|
|
|
Fast.api.close(res.data) |
|
|
|
Fast.api.close(res.data) |
|
|
|
|
|
|
|
Fast.api.close(state.selected) |
|
|
|
return false |
|
|
|
return false |
|
|
|
}, function (ret, res) { }) |
|
|
|
}, function (ret, res) { }) |
|
|
|
// Fast.api.close(state.selected)
|
|
|
|
// Fast.api.close(state.selected)
|
|
|
|