Authored by mali

店铺添加BLK类型

... ... @@ -17,7 +17,8 @@ module.exports={
{name:"otherUrl",type:"String"},
{name:"shopAddress",type:"String"},
{name:"onCheck",type:"Number"},
{name:"shopRelation",type:"String"}
{name:"shopRelation",type:"String"},
{name:"appType",type:"Number"}
]
},
... ...
... ... @@ -14,7 +14,8 @@ module.exports={
{name: 'vipStatus', type: 'Number'},
{name: 'vipFlag', type: 'String'},
{name: 'size', type: 'Number'},
{name: 'page', type: 'Number'}
{name: 'page', type: 'Number'},
{name:"appType",type:"Number"}
]
},
... ... @@ -34,7 +35,8 @@ module.exports={
{name:"shopLogo",type:"String"},
{name:"shopIntro",type:"String"},
{name:"onCheck",type:"Number"},
{name:"shopRelation",type:"String"}
{name:"shopRelation",type:"String"},
{name:"appType",type:"Number"}
]
},
... ...
... ... @@ -48,6 +48,18 @@
</div>
<div class="form-group">
<div class="col-sm-1 control-label">
<label>是否BLK店铺:<span class="red">*</span></label>
</div>
<div class="col-sm-8">
<label class="radio-inline">
<input type="radio" name="appType" value="1"/></label>
<label class="radio-inline">
<input type="radio" name="appType" value="0"/></label>
</div>
<input type="hidden" id="appType" value="<%data.appType%>" for="radio" required>
</div>
<div class="form-group">
<div class="col-sm-1 control-label">
<label>官方网址:</label>
</div>
<div class="col-sm-9">
... ...
... ... @@ -52,6 +52,13 @@
</select>
</div>
<div class="panel-col2">
<select name="appType" id="appType" style="width: 280px;" tabindex="-1" title="" class="form-control">
<option value="" selected="">是否BLK店铺</option>
<option value="1"></option>
<option value="0"></option>
</select>
</div>
<div class="panel-col2">
<a id="filter-btn" href="javascript:;" class="btn btn-info">筛选</a>
<a id="all-btn" href="" class="btn btn-info">全部</a>
</div>
... ...
... ... @@ -22,6 +22,12 @@
<div class="col-xs-8 col-sm-8 col-md-8 col-lg-8"><%data.shopDomain%></div>
</div>
<div class="row show-grid">
<div class="col-xs-3 col-sm-3 col-md-3 col-lg-3">是否BLK店铺:</div>
<div class="col-xs-8 col-sm-8 col-md-8 col-lg-8">
<input id="appType" type="hidden" value="<%data.appType%>">
</div>
</div>
<div class="row show-grid">
<div class="col-xs-3 col-sm-3 col-md-3 col-lg-3">官网地址:</div>
<div id='otherUrlValue' class="col-xs-8 col-sm-8 col-md-8 col-lg-8">
<input id="otherUrl" type="hidden" value="<%data.otherUrl%>">
... ...
... ... @@ -4,7 +4,8 @@ var $ = require('jquery'),
common=require('../../common/common');
var ENUM={// 审核状态;100 暂存 200 待审核 300 审核通过 900 驳回
status:{100:'暂存',200:'审核中',300:'通过',900:'驳回'}
status : {100:'暂存',200:'审核中',300:'通过',900:'驳回'},
appType : {1:'是', 0 : '否'}
};
//basicTab
... ... @@ -82,7 +83,8 @@ var g = new common.grid({
"operationStatus": authority.operationStatus,
"checkStatusArr": authority.checkStatusArr,
"blkCheckStatus": 200,
"shopsId": common.util.__input("shop-name")
"shopsId": common.util.__input("shop-name"),
"appType": common.util.__input("appType")
};
},
columns: [
... ... @@ -104,6 +106,11 @@ var g = new common.grid({
},
{display: "创建时间", name: "createTime"},
{display: "更新时间", name: "updateTime"},
{display: "是否BLK", name: "appType", render: function (item)
{
return ENUM.appType[item.appType];
}
},
{
display: "状态", name: "checkStatus", render: function (item) {
var status = '';
... ...
... ... @@ -13,7 +13,8 @@ var ENUM={
shopsType:{1:'单品店',2:'多品店'},
checkStatus:{100:'暂存',200:'审核中',300:'通过',900:'驳回'},
opt:{"add":"添加","delete":"删除"},
href:{"info":"/supplier/store/index","info2":"/supplier/check/index","info3":"/supplier/store/examine"}
href:{"info":"/supplier/store/index","info2":"/supplier/check/index","info3":"/supplier/store/examine"},
appType:{1:'是',0:'否'}
};
var Bll={
... ...