...
|
...
|
@@ -34,7 +34,9 @@ var g = new common.grid({ |
|
|
checkStatus: common.util.__input("yohoStatus"),
|
|
|
blkCheckStatus: common.util.__input("blkStatus"),
|
|
|
supplierId: common.util.__input("supplier-name"),
|
|
|
brandId: common.util.__input("brand-name")
|
|
|
brandId: common.util.__input("brand-name"),
|
|
|
shopStatus: common.util.__input("shopStatus"),
|
|
|
blkShopStatus: common.util.__input("blkShopStatus")
|
|
|
};
|
|
|
},
|
|
|
columns: [{
|
...
|
...
|
@@ -61,16 +63,6 @@ var g = new common.grid({ |
|
|
}
|
|
|
}
|
|
|
}, {
|
|
|
display: "创建时间",
|
|
|
name: "createTime",
|
|
|
render: function(item) {
|
|
|
if (item.createTime) {
|
|
|
return common.util.__dateFormat(new Date(item.createTime * 1000), "yyyy-MM-dd hh:mm:ss");
|
|
|
} else {
|
|
|
return '';
|
|
|
}
|
|
|
}
|
|
|
}, {
|
|
|
display: "更新时间",
|
|
|
name: "updateTime",
|
|
|
render: function(item) {
|
...
|
...
|
@@ -81,6 +73,20 @@ var g = new common.grid({ |
|
|
}
|
|
|
}
|
|
|
}, {
|
|
|
display: "开店时间",
|
|
|
render: function(item) {
|
|
|
var htmArr = [];
|
|
|
if(item.openTime && item.openTime != 0) {
|
|
|
htmArr.push("<p>有货店铺: " + common.util.__dateFormat(new Date(item.openTime * 1000), "yyyy-MM-dd hh:mm:ss" + "</p>"));
|
|
|
}
|
|
|
|
|
|
if(item.blkOpenTime && item.blkOpenTime != 0) {
|
|
|
htmArr.push("<p>BLK店铺: " + common.util.__dateFormat(new Date(item.blkOpenTime * 1000), "yyyy-MM-dd hh:mm:ss" + "</p>"));
|
|
|
}
|
|
|
|
|
|
return htmArr.join(' ');
|
|
|
}
|
|
|
}, {
|
|
|
display: "有货状态",
|
|
|
name: "checkStatus",
|
|
|
render: function(item) {
|
...
|
...
|
|