分销等级配置商品券

main
ztt 8 months ago
parent e796245c2e
commit c9e33694d1
  1. 3
      public/assets/js/backend/shopro/coupon.js

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

Loading…
Cancel
Save