|
|
@ -422,7 +422,19 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
function onConfirm() { |
|
|
|
function onConfirm() { |
|
|
|
Fast.api.close(state.selected) |
|
|
|
let ids = state.ids.join(',') |
|
|
|
|
|
|
|
Fast.api.ajax({ |
|
|
|
|
|
|
|
url: 'shopro/coupon/select', |
|
|
|
|
|
|
|
type: 'GET', |
|
|
|
|
|
|
|
data: { |
|
|
|
|
|
|
|
type: 'select', |
|
|
|
|
|
|
|
search: JSON.stringify({ use_scope: 'goods','status':'normal' }) |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
}, function (ret, res) { |
|
|
|
|
|
|
|
Fast.api.close(res.data) |
|
|
|
|
|
|
|
return false |
|
|
|
|
|
|
|
}, function (ret, res) { }) |
|
|
|
|
|
|
|
// Fast.api.close(state.selected)
|
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
onMounted(() => { |
|
|
|
onMounted(() => { |
|
|
|