分销等级配置商品券

main
ztt 8 months ago
parent 813d55bf48
commit cb6bb65681
  1. 3
      public/assets/js/backend/shopro/coupon.js

@ -425,6 +425,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
function onChangeSelection(val) {
state.selected = val
console.log(val)
console.log(JSON.parse(JSON.stringify(val)))
state.ids.push(val)
}
@ -438,8 +439,8 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
search: JSON.stringify({ use_scope: ['goods','='],status:['normal','='],id: [ids, 'in'] })
},
}, function (ret, res) {
Fast.api.close(state.selected)
Fast.api.close(res.data)
Fast.api.close(state.selected)
return false
}, function (ret, res) { })
// Fast.api.close(state.selected)

Loading…
Cancel
Save