...
|
...
|
@@ -98,6 +98,8 @@ var Bll = { |
|
|
|
|
|
new common.dropDown({el: '#filter-couponType'});
|
|
|
|
|
|
new common.dropDown({el: '#checkRequired'});
|
|
|
|
|
|
common.util.__ajax({
|
|
|
url: "/coupon/getAllDepartment",//获取所有部门
|
|
|
data: {size: 1000}
|
...
|
...
|
@@ -347,6 +349,15 @@ $(document).on("change", "#useRange", function () { |
|
|
Bll.__render(couponBean, type);
|
|
|
});
|
|
|
|
|
|
|
|
|
$(document).on("change", "#checkRequired", function () {
|
|
|
var couponTypeVal = $(this).val();
|
|
|
couponBean.checkRequired = $(this).val();
|
|
|
|
|
|
$.extend(window.ViewModel, couponBean);
|
|
|
Bll.__render(couponBean, type);
|
|
|
});
|
|
|
|
|
|
$(document).on("change", "#filter-couponType", function () {
|
|
|
var couponTypeVal = $(this).val();
|
|
|
couponBean.couponType = $(this).val();
|
...
|
...
|
|