Authored by dongjunjie

基础商品,展示平台批量+新增BLK展示平台

... ... @@ -81,7 +81,8 @@ module.exports={
{name: 'middleSortId', type: 'Number'},
{name: 'smallSortId', type: 'Number'},
{name: 'seasons', type: 'String'},
{name: 'productStandardRelationStr', type: 'String'}
{name: 'productStandardRelationStr', type: 'String'},
{name: 'appType', type: 'Number'}
]
},
queryProductColors:{
... ... @@ -131,7 +132,8 @@ module.exports={
{name: 'vipSetting', type: 'String'},
{name: 'stock', type: 'Number'},
{name: 'isAuditing', type: 'Number'},
{name: 'productStandardRelationStr', type: 'String'}
{name: 'productStandardRelationStr', type: 'String'},
{name: 'appType', type: 'Number'}
]
},
getBaseProduct:{
... ...
... ... @@ -44,6 +44,19 @@
3、<a href="/ajax/link/modifyFactoryCode">下载样例</a>
</td>
</tr>
<tr>
<td rowspan="2">展示平台</td>
<td>上传EXCEL:</td>
<td style="position: relative;"><input id="appTypeModify" name="file" data-type="" type="file" style="cursor: pointer; height: 37px; top: 8px;"></td>
</tr>
<tr>
<td>说明:</td>
<td colspan="2">
1、上传文件必须是<span style="color:red;">.xlsx</span>文件<br>
2、第一行标题栏:<span style="color: #67D267;">SKN,展示平台</span><br>
3、<a href="/ajax/link/batchModifyAppType">下载样例</a>
</td>
</tr>
</table>
</div>
<div class="panel-body red" id="message">
... ...
... ... @@ -19,17 +19,16 @@
<div class="panel-body">
<div class="row">
<div class="form-group">
<label class="col-sm-2 control-label">颜色分类 <span class="red">*</span></label>
<p>
<label class="col-sm-1 control-label">颜色分类 <span class="red">*</span></label>
<div class="col-sm-11">
<%if list%>
<%each list as item%>
<button type="button" class="btn btn-default sortadd btn-xs" style="margin-bottom: 5px" data-id="<%item.id%>"><%item.colorName%></button>
<%/each%>
<%/if%>
</p>
</div>
</div>
<div id="basicTable"></div>
</div>
</div>
... ... @@ -119,7 +118,7 @@
<div id="tree" style="width: 100%"></div>
</div>
<label class="col-sm-1 control-label">展示平台 <span class="red">*</span></label>
<div class="col-sm-2">
<div class="col-sm-2" style="margin-top: 3px">
<label class="radio-inline">
<input type="radio" name="appType" value="0">YOHO</label>
<label class="radio-inline">
... ...
... ... @@ -63,6 +63,8 @@ function batchExport(el, type) {
}
}
}
/*展示平台*/
common.edit.ajaxfileupload('#appTypeModify', batchExport('#sort-file', 'appTypeModify'));
/*奥莱*/
common.edit.ajaxfileupload('#outletModify', batchExport('#sort-file', 'outletModify'));
/*补货*/
... ...