分销等级配置商品券

main
ztt 8 months ago
parent c276ada366
commit 13fce08425
  1. 2
      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;
}
})

Loading…
Cancel
Save