diff --git a/public/assets/js/backend/shopro/coupon.js b/public/assets/js/backend/shopro/coupon.js index 19283c9..02fba3b 100755 --- a/public/assets/js/backend/shopro/coupon.js +++ b/public/assets/js/backend/shopro/coupon.js @@ -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; } })