分销等级配置商品券

main
ztt 8 months ago
parent c9e33694d1
commit 9bd92b0470
  1. 5
      public/assets/js/backend/shopro/coupon.js

@ -423,13 +423,14 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
}
function onChangeSelection(val) {
state.selected = JSON.parse(JSON.stringify(val))
state.selected = val
console.log(val)
console.log(JSON.parse(JSON.stringify(val)))
}
function onConfirm() {
let ids = state.selected.map(obj => obj.id)
let selectObj = JSON.parse(JSON.stringify(state.selected))
let ids = selectObj.map(obj => obj.id)
Fast.api.ajax({
url: 'shopro/coupon/select',
type: 'GET',

Loading…
Cancel
Save