分销等级配置商品券

main
ztt 8 months ago
parent 0195d3f088
commit cb94dedb6b
  1. 2
      public/assets/js/backend/shopro/commission/level.js

@ -348,6 +348,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
callback(data) { callback(data) {
console.log(JSON.parse(JSON.stringify(data))) console.log(JSON.parse(JSON.stringify(data)))
form.model.coupon_rules.programme_1 = JSON.parse(JSON.stringify(data)); form.model.coupon_rules.programme_1 = JSON.parse(JSON.stringify(data));
console.log(form.model.coupon_rules.programme_1)
} }
}) })
} }
@ -361,6 +362,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
callback(data) { callback(data) {
console.log(JSON.parse(JSON.stringify(data))) console.log(JSON.parse(JSON.stringify(data)))
form.model.coupon_rules.programme_2 = JSON.parse(JSON.stringify(data)); form.model.coupon_rules.programme_2 = JSON.parse(JSON.stringify(data));
console.log(form.model.coupon_rules.programme_2)
} }
}) })
} }

Loading…
Cancel
Save