Authored by liyalin

量贩商品优化

... ... @@ -12,6 +12,7 @@ module.exports={
{name: 'checkStatusArr', type: 'String'},
{name: 'shopsId', type: 'Number'},
{name: 'vipStatus', type: 'Number'},
{name: 'vipFlag', type: 'String'},
{name: 'size', type: 'Number'},
{name: 'page', type: 'Number'}
]
... ...
... ... @@ -33,7 +33,8 @@ var g1 = new common.grid({
"checkStatusArr": "200,300,900",
"blkCheckStatus": 200,
"shopsId": common.util.__input("shop-name"),
"vipStatus": common.util.__input("vip-status")
"vipStatus": common.util.__input("vip-status"),
"vipFlag": "1"
};
},
columns: [
... ... @@ -70,7 +71,7 @@ var g1 = new common.grid({
display: "操作", name: "", render: function (item) {
var HtmArr = [];
if (+item.contractVipStatus == 1) {
if (+item.agreementVipStatus == 1) {
if (+item.vipStatus == 1) {
HtmArr.push('<a href="javascript:void(0);" data-id="' + item.shopsId + '" data-status="2" class="btn btn-danger btn-xs delete">关闭</a>');
} else {
... ...