Authored by liuyue

基本信息字段校正

... ... @@ -15,7 +15,7 @@ var basicInfohtml = '',
},
grade: {
'1': '是',
'null': '否'
'0': '否'
},
isOutLets: {
'Y': '是',
... ... @@ -52,13 +52,16 @@ var basicInfohtml = '',
6: '秋冬'
},
seasons: {
0: '四季',
1: '春',
2: '夏',
3: '秋',
4: '冬',
5: '春夏',
6: '秋冬'
'seasons': '四季',
'spring': '春',
'summer': '夏',
'autumn': '秋',
'winter': '冬'
},
isVip: {
'Y': '是',
'N': '否',
'B': '品牌设置'
}
},
basicInfo = NETSALEDATA.baseProductInfo.baseProduct || '',
... ...
... ... @@ -5,48 +5,6 @@ exports.domain = require('../config/common.js').domain;
//商品管理路由配置
exports.res = [{
//商品审核
route: '/supplier/baseaudit/index',
method: 'GET',
view: 'pages/goods/index',
data: {
bottons: '{"detail":true}',
gridurl: '/goods/review/getList',
searchStatus: [{
name: "未审核",
value: "100"
}, {
name: "已通过",
value: "200"
}, {
name: "驳回",
value: "300"
}],
searchJIT: true,
pageTitle: "商品审核"
},
src: '/goods/index'
}, {
route: '/goods/review/getList',
method: 'POST',
url: '/goods/review/getReviewList',
params: [{
name: 'skn',
type: 'String'
}, {
name: 'brandName',
type: 'String'
}, {
name: 'storeName',
type: 'String'
}, {
name: 'status',
type: 'String'
}, {
name: 'jit',
type: 'String'
}]
}, {
//网销信息 -> 网销信息页面渲染
route: '/goods/netsale/index',
method: 'GET',
... ...
... ... @@ -84,7 +84,7 @@
<div class="col-sm-3">销售价:[[salesPrice]]</div>
</div>
<div class="form-group">
<div class="col-sm-3">是否VIP</div>
<div class="col-sm-3">是否VIP[[isVip]]</div>
<div class="col-sm-3">预计上架时间:[[expectShelfTime]]</div>
</div>
</script>
... ...