Showing
4 changed files
with
23 additions
and
7 deletions
@@ -81,7 +81,8 @@ module.exports={ | @@ -81,7 +81,8 @@ module.exports={ | ||
81 | {name: 'middleSortId', type: 'Number'}, | 81 | {name: 'middleSortId', type: 'Number'}, |
82 | {name: 'smallSortId', type: 'Number'}, | 82 | {name: 'smallSortId', type: 'Number'}, |
83 | {name: 'seasons', type: 'String'}, | 83 | {name: 'seasons', type: 'String'}, |
84 | - {name: 'productStandardRelationStr', type: 'String'} | 84 | + {name: 'productStandardRelationStr', type: 'String'}, |
85 | + {name: 'appType', type: 'Number'} | ||
85 | ] | 86 | ] |
86 | }, | 87 | }, |
87 | queryProductColors:{ | 88 | queryProductColors:{ |
@@ -131,7 +132,8 @@ module.exports={ | @@ -131,7 +132,8 @@ module.exports={ | ||
131 | {name: 'vipSetting', type: 'String'}, | 132 | {name: 'vipSetting', type: 'String'}, |
132 | {name: 'stock', type: 'Number'}, | 133 | {name: 'stock', type: 'Number'}, |
133 | {name: 'isAuditing', type: 'Number'}, | 134 | {name: 'isAuditing', type: 'Number'}, |
134 | - {name: 'productStandardRelationStr', type: 'String'} | 135 | + {name: 'productStandardRelationStr', type: 'String'}, |
136 | + {name: 'appType', type: 'Number'} | ||
135 | ] | 137 | ] |
136 | }, | 138 | }, |
137 | getBaseProduct:{ | 139 | getBaseProduct:{ |
@@ -44,6 +44,19 @@ | @@ -44,6 +44,19 @@ | ||
44 | 3、<a href="/ajax/link/modifyFactoryCode">下载样例</a> | 44 | 3、<a href="/ajax/link/modifyFactoryCode">下载样例</a> |
45 | </td> | 45 | </td> |
46 | </tr> | 46 | </tr> |
47 | + <tr> | ||
48 | + <td rowspan="2">展示平台</td> | ||
49 | + <td>上传EXCEL:</td> | ||
50 | + <td style="position: relative;"><input id="appTypeModify" name="file" data-type="" type="file" style="cursor: pointer; height: 37px; top: 8px;"></td> | ||
51 | + </tr> | ||
52 | + <tr> | ||
53 | + <td>说明:</td> | ||
54 | + <td colspan="2"> | ||
55 | + 1、上传文件必须是<span style="color:red;">.xlsx</span>文件<br> | ||
56 | + 2、第一行标题栏:<span style="color: #67D267;">SKN,展示平台</span><br> | ||
57 | + 3、<a href="/ajax/link/batchModifyAppType">下载样例</a> | ||
58 | + </td> | ||
59 | + </tr> | ||
47 | </table> | 60 | </table> |
48 | </div> | 61 | </div> |
49 | <div class="panel-body red" id="message"> | 62 | <div class="panel-body red" id="message"> |
@@ -19,17 +19,16 @@ | @@ -19,17 +19,16 @@ | ||
19 | <div class="panel-body"> | 19 | <div class="panel-body"> |
20 | <div class="row"> | 20 | <div class="row"> |
21 | <div class="form-group"> | 21 | <div class="form-group"> |
22 | - <label class="col-sm-2 control-label">颜色分类 <span class="red">*</span></label> | ||
23 | - <p> | 22 | + <label class="col-sm-1 control-label">颜色分类 <span class="red">*</span></label> |
23 | + <div class="col-sm-11"> | ||
24 | <%if list%> | 24 | <%if list%> |
25 | <%each list as item%> | 25 | <%each list as item%> |
26 | <button type="button" class="btn btn-default sortadd btn-xs" style="margin-bottom: 5px" data-id="<%item.id%>"><%item.colorName%></button> | 26 | <button type="button" class="btn btn-default sortadd btn-xs" style="margin-bottom: 5px" data-id="<%item.id%>"><%item.colorName%></button> |
27 | <%/each%> | 27 | <%/each%> |
28 | <%/if%> | 28 | <%/if%> |
29 | - </p> | 29 | + </div> |
30 | </div> | 30 | </div> |
31 | <div id="basicTable"></div> | 31 | <div id="basicTable"></div> |
32 | - | ||
33 | </div> | 32 | </div> |
34 | </div> | 33 | </div> |
35 | 34 | ||
@@ -119,7 +118,7 @@ | @@ -119,7 +118,7 @@ | ||
119 | <div id="tree" style="width: 100%"></div> | 118 | <div id="tree" style="width: 100%"></div> |
120 | </div> | 119 | </div> |
121 | <label class="col-sm-1 control-label">展示平台 <span class="red">*</span></label> | 120 | <label class="col-sm-1 control-label">展示平台 <span class="red">*</span></label> |
122 | - <div class="col-sm-2"> | 121 | + <div class="col-sm-2" style="margin-top: 3px"> |
123 | <label class="radio-inline"> | 122 | <label class="radio-inline"> |
124 | <input type="radio" name="appType" value="0">YOHO</label> | 123 | <input type="radio" name="appType" value="0">YOHO</label> |
125 | <label class="radio-inline"> | 124 | <label class="radio-inline"> |
@@ -63,6 +63,8 @@ function batchExport(el, type) { | @@ -63,6 +63,8 @@ function batchExport(el, type) { | ||
63 | } | 63 | } |
64 | } | 64 | } |
65 | } | 65 | } |
66 | +/*展示平台*/ | ||
67 | +common.edit.ajaxfileupload('#appTypeModify', batchExport('#sort-file', 'appTypeModify')); | ||
66 | /*奥莱*/ | 68 | /*奥莱*/ |
67 | common.edit.ajaxfileupload('#outletModify', batchExport('#sort-file', 'outletModify')); | 69 | common.edit.ajaxfileupload('#outletModify', batchExport('#sort-file', 'outletModify')); |
68 | /*补货*/ | 70 | /*补货*/ |
-
Please register or login to post a comment