...
|
...
|
@@ -45,10 +45,11 @@ var g = new common.grid({ |
|
|
display: '是否启用',
|
|
|
name: "status",
|
|
|
render: function(item) {
|
|
|
var name;
|
|
|
if(item.status==1){
|
|
|
var name ="已启用" ;
|
|
|
name ="已启用" ;
|
|
|
}else {
|
|
|
var name ="未启用" ;
|
|
|
name ="未启用" ;
|
|
|
}
|
|
|
return name;
|
|
|
}
|
...
|
...
|
@@ -56,11 +57,14 @@ var g = new common.grid({ |
|
|
display: '优惠券限制使用',
|
|
|
name: "status",
|
|
|
render: function(item) {
|
|
|
if(item.status==1){
|
|
|
var name ="是" ;
|
|
|
}else {
|
|
|
var name ="否" ;
|
|
|
}
|
|
|
var name="促销条件未设置";
|
|
|
if(item.promotionParams&&item.promotionParams.limitParam){
|
|
|
if(item.promotionParams.limitParam==1){
|
|
|
name ="是" ;
|
|
|
}else {
|
|
|
name ="否" ;
|
|
|
}
|
|
|
}
|
|
|
return name;
|
|
|
}
|
|
|
}, {
|
...
|
...
|
|