|
|
|
@ -289,6 +289,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin |
|
|
|
|
}); |
|
|
|
|
Fast.api.open(`shopro/goods/goods/select?multiple=true&ids=${ids.join(',')}`, "选择商品", { |
|
|
|
|
callback(data) { |
|
|
|
|
console.log(data) |
|
|
|
|
form.model.items_value = data; |
|
|
|
|
} |
|
|
|
|
}) |
|
|
|
@ -304,6 +305,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin |
|
|
|
|
}); |
|
|
|
|
Fast.api.open(`shopro/category/select?from=coupon&multiple=true`, "选择分类", { |
|
|
|
|
callback(data) { |
|
|
|
|
console.log(data) |
|
|
|
|
form.model.items_value = data.data; |
|
|
|
|
} |
|
|
|
|
}) |
|
|
|
|