Showing
4 changed files
with
22 additions
and
3 deletions
@@ -38,6 +38,7 @@ webpackJsonp([41],[ | @@ -38,6 +38,7 @@ webpackJsonp([41],[ | ||
38 | if (loadModal) { | 38 | if (loadModal) { |
39 | loadModal.close(); | 39 | loadModal.close(); |
40 | } | 40 | } |
41 | + common.util.__tip('处理失败!具体报错见页面下方!', 'warning'); | ||
41 | return false; | 42 | return false; |
42 | } | 43 | } |
43 | if (loadModal) { | 44 | if (loadModal) { |
@@ -59,6 +60,7 @@ webpackJsonp([41],[ | @@ -59,6 +60,7 @@ webpackJsonp([41],[ | ||
59 | common.edit.ajaxfileupload('#brand-file', batchExport('#brand-file', 'brandProperty')); | 60 | common.edit.ajaxfileupload('#brand-file', batchExport('#brand-file', 'brandProperty')); |
60 | common.edit.ajaxfileupload('#offShelve-file', batchExport('#offShelve-file', 'offShelveSkn')); | 61 | common.edit.ajaxfileupload('#offShelve-file', batchExport('#offShelve-file', 'offShelveSkn')); |
61 | common.edit.ajaxfileupload('#onShelve-file', batchExport('#onShelve-file', 'onShelveSkn')); | 62 | common.edit.ajaxfileupload('#onShelve-file', batchExport('#onShelve-file', 'onShelveSkn')); |
63 | + common.edit.ajaxfileupload('#phrase-file', batchExport('#phrase-file', 'productPhrase')); | ||
62 | 64 | ||
63 | 65 | ||
64 | function __ajaxCheckTask(unquid){ | 66 | function __ajaxCheckTask(unquid){ |
@@ -67,6 +67,23 @@ | @@ -67,6 +67,23 @@ | ||
67 | 6、<a href="/ajax/link/onShelveSkn">下载样例</a> | 67 | 6、<a href="/ajax/link/onShelveSkn">下载样例</a> |
68 | </td> | 68 | </td> |
69 | </tr> | 69 | </tr> |
70 | + <tr> | ||
71 | + <td rowspan="2">批量修改商品促销短语</td> | ||
72 | + <td>上传EXCEL:</td> | ||
73 | + <td style="position: relative;"> | ||
74 | + <input id="phrase-file" name="file" data-type="productPhrase" type="file" style="cursor: pointer; height: 37px; top: 8px;"> | ||
75 | + </td> | ||
76 | + </tr> | ||
77 | + <tr> | ||
78 | + <td>说明:</td> | ||
79 | + <td colspan="2"> | ||
80 | + 1、上传文件必须是<span style="color:red;">.xlsx</span>文件<br> | ||
81 | + 2、Excel表头为:<span style="color: #67D267;">SKN|促销短语(如果为空则清空促销短语)</span><br> | ||
82 | + 3、第一行为表头内容,第二行开始为正式内容<br> | ||
83 | + 4、每个文件控制在1000行以内<br> | ||
84 | + 5、<a href="/ajax/link/productPhrase">下载样例</a> | ||
85 | + </td> | ||
86 | + </tr> | ||
70 | </table> | 87 | </table> |
71 | </div> | 88 | </div> |
72 | </div> | 89 | </div> |
@@ -49,7 +49,7 @@ | @@ -49,7 +49,7 @@ | ||
49 | 49 | ||
50 | <div class="form-group"> | 50 | <div class="form-group"> |
51 | <label>促销短语:</label> | 51 | <label>促销短语:</label> |
52 | - <input id="salesPhrase" class="form-control" type="text" value="[[salesPhrase]]" style="display: inline-block;width: 280px;"> | 52 | + <input id="salesPhrase" class="form-control" type="text" value="[[salesPhrase]]" style="display: inline-block;width: 280px;" maxlength="12"> |
53 | </div> | 53 | </div> |
54 | <!-- | 54 | <!-- |
55 | <div class="form-group"> | 55 | <div class="form-group"> |
@@ -93,8 +93,8 @@ | @@ -93,8 +93,8 @@ | ||
93 | <div class="col-sm-1 control-label"> | 93 | <div class="col-sm-1 control-label"> |
94 | <label>店铺简介:</label> | 94 | <label>店铺简介:</label> |
95 | </div> | 95 | </div> |
96 | - <div class="col-sm-7"> | ||
97 | - <script id="edit-shop-intro" type="text/plain" style="width:100%;height:500px;"></script> | 96 | + <div class="col-sm-8"> |
97 | + <script id="edit-shop-intro" type="text/plain" style="width:89%;height:500px;"></script> | ||
98 | <input id="shopIntro" type="hidden" placeholder="店铺简介" value="<%data.shopIntro%>"> | 98 | <input id="shopIntro" type="hidden" placeholder="店铺简介" value="<%data.shopIntro%>"> |
99 | </div> | 99 | </div> |
100 | </div> | 100 | </div> |
-
Please register or login to post a comment