...
|
...
|
@@ -15,6 +15,9 @@ var artTemplate = common.artTemplate; |
|
|
//下拉框
|
|
|
new common.dropDown({el: '#filter-couponType'});
|
|
|
|
|
|
//下拉框
|
|
|
new common.dropDown({el: '#filter-feeSharingType'});
|
|
|
|
|
|
var couponTypes = ["平台券", "B券", "券码", "生日券", "免邮券","店铺券","分享券"];
|
|
|
var useLimitTypes = ["无限制", "货物件数限制", "订单金额限制"];
|
|
|
// var customTypes = ["新客户", "银卡会员", "金卡会员", "白金卡会员", "普通用户(不含新客)"];
|
...
|
...
|
@@ -113,6 +116,7 @@ var g = new common.grid({ |
|
|
couponName: common.util.__input("filter-couponName"),
|
|
|
department: common.util.__input("choose-department"),
|
|
|
couponType:common.util.__input("filter-couponType"),
|
|
|
feeSharingType:common.util.__input("filter-feeSharingType"),
|
|
|
status: t.active
|
|
|
};
|
|
|
},
|
...
|
...
|
@@ -151,6 +155,19 @@ var g = new common.grid({ |
|
|
}
|
|
|
},
|
|
|
{display: "优惠券说明", name: "explains"},
|
|
|
{display: "费用承担", render:function(item){
|
|
|
var feeType;
|
|
|
if(item.feeSharingType == 1){
|
|
|
feeType = "我司承担";
|
|
|
}else if(item.feeSharingType ==2){
|
|
|
feeType = "供应商承担"
|
|
|
}else if(item.feeSharingType ==3){
|
|
|
feeType = "分摊(合同结算)";
|
|
|
}else if(item.feeSharingType ==4){
|
|
|
feeType = "分摊-我司承担比例:"+item.feeSharingRatio;
|
|
|
}
|
|
|
return feeType;
|
|
|
}},
|
|
|
{
|
|
|
display: "驳回理由", hidden: true, name: "rejectReason", render: function (item) {
|
|
|
return "<p style='color: red'>" + item.rejectReason + "</p>"
|
...
|
...
|
|