...
|
...
|
@@ -11,10 +11,9 @@ var g = new common.grid({ |
|
|
async:false,
|
|
|
parms:function(){
|
|
|
return {
|
|
|
couponName: common.util.__input("filter-couponName"),
|
|
|
couponCode: common.util.__input("filter-couponCode"),
|
|
|
orderCode: common.util.__input("filter-orderCode"),
|
|
|
uid: common.util.__input("filter-uid")
|
|
|
uid: common.util.__input("filter-uid"),
|
|
|
orderCode: common.util.__input("filter-orderCode")
|
|
|
};
|
|
|
},
|
|
|
columns:[
|
...
|
...
|
@@ -53,6 +52,7 @@ var g = new common.grid({ |
|
|
}}
|
|
|
]
|
|
|
});
|
|
|
g.init([]);
|
|
|
/**
|
|
|
* 通用对象
|
|
|
* @type {{toast: Bll.toast}}
|
...
|
...
|
@@ -84,7 +84,15 @@ var Bll = { |
|
|
};
|
|
|
|
|
|
$(document).on("click", "#filter-btn", function() {
|
|
|
var couponCode = common.util.__input("filter-couponCode");
|
|
|
var uid = common.util.__input("filter-uid");
|
|
|
var orderCode = common.util.__input("filter-orderCode");
|
|
|
|
|
|
if(uid=="" && couponCode=="" && orderCode==""){
|
|
|
common.util.__tip("优惠券ID,单券号,订单号,不能全为空!");
|
|
|
}else{
|
|
|
g.init("/couponLogs/queryUserCouponLogsList");
|
|
|
}
|
|
|
});
|
|
|
|
|
|
//延长有效期
|
...
|
...
|
|