Authored by mali

可销售平台

... ... @@ -31,7 +31,8 @@ module.exports={
{name:'skcOnsaleStatus', type:'string'},
{name:'factoryCode',type:'String'},
{name:'skuFactoryCode',type:'String'},
{name: 'appType', type: 'Number'}
{name: 'appType', type: 'Number'},
{name: 'salePlatform', type: 'Number'}
]
},
queryTabProductNum:{
... ... @@ -58,7 +59,8 @@ module.exports={
{name:'skcOnsaleStatus', type:'string'},
{name:'factoryCode',type:'String'},
{name: 'appType', type: 'Number'},
{name:'skuFactoryCode',type:'String'}
{name:'skuFactoryCode',type:'String'},
{name: 'salePlatform', type: 'Number'}
]
},
updateProductSknTimingInfo:{
... ...
... ... @@ -125,6 +125,14 @@
</select>
</div>
<div class="panel-col">
<select id="salePlatform" class="form-control height40">
<option value="">可售平台</option>
<option value="1">线上线下均可售</option>
<option value="2">仅线上可售</option>
<option value="3">仅线下可售</option>
</select>
</div>
<div class="panel-col">
<a id="filter-btn" href="javascript:;" class="btn btn-info">筛选</a>
<a id="all-btn" href="" class="btn btn-info">全部</a>
</div>
... ...
... ... @@ -77,6 +77,11 @@ var ENUM = {
traderFlag : {
'1':'量贩',
'0':'非量贩'
},
salePlatform : {
'1':'线上线下均可售',
'2':'仅线上可售',
'3':'仅线下可售'
}
};
... ... @@ -191,7 +196,8 @@ var g = new common.grid({
isAdvance: refreshHelper.inputHelper("isAdvance"),
factoryCode: refreshHelper.inputHelper("factoryCode"),
skuFactoryCode: refreshHelper.inputHelper("skuFactoryCode"),
appType: refreshHelper.inputHelper("appType")
appType: refreshHelper.inputHelper("appType"),
salePlatform: refreshHelper.inputHelper("salePlatform")
};
},
columns: [{
... ... @@ -254,7 +260,8 @@ var g = new common.grid({
html += '<strong>品牌:</strong>' + brandName + '</br>';
html += '<strong>类目:</strong>' + sortName + '</br>';
html += '<strong>店铺:</strong>' + item.shopName + '</br>';
html += '<strong>经营模式:</strong>' + (item.sellType ? item.sellType : '');
html += '<strong>经营模式:</strong>' + (item.sellType ? item.sellType : '') + '</br>';
html += '<strong>可售平台:</strong>' + (ENUM.salePlatform[item.salePlatform] ? ENUM.salePlatform[item.salePlatform] : '');
return html;
}
}, {
... ...