Showing
3 changed files
with
20 additions
and
1 deletions
@@ -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"> |
@@ -34,6 +34,7 @@ function batchExport(el, type) { | @@ -34,6 +34,7 @@ function batchExport(el, type) { | ||
34 | if (loadModal) { | 34 | if (loadModal) { |
35 | loadModal.close(); | 35 | loadModal.close(); |
36 | } | 36 | } |
37 | + common.util.__tip('处理失败!具体报错见页面下方!', 'warning'); | ||
37 | return false; | 38 | return false; |
38 | } | 39 | } |
39 | if (loadModal) { | 40 | if (loadModal) { |
@@ -55,6 +56,7 @@ common.edit.ajaxfileupload('#sort-file', batchExport('#sort-file', 'searchSort') | @@ -55,6 +56,7 @@ common.edit.ajaxfileupload('#sort-file', batchExport('#sort-file', 'searchSort') | ||
55 | common.edit.ajaxfileupload('#brand-file', batchExport('#brand-file', 'brandProperty')); | 56 | common.edit.ajaxfileupload('#brand-file', batchExport('#brand-file', 'brandProperty')); |
56 | common.edit.ajaxfileupload('#offShelve-file', batchExport('#offShelve-file', 'offShelveSkn')); | 57 | common.edit.ajaxfileupload('#offShelve-file', batchExport('#offShelve-file', 'offShelveSkn')); |
57 | common.edit.ajaxfileupload('#onShelve-file', batchExport('#onShelve-file', 'onShelveSkn')); | 58 | common.edit.ajaxfileupload('#onShelve-file', batchExport('#onShelve-file', 'onShelveSkn')); |
59 | +common.edit.ajaxfileupload('#phrase-file', batchExport('#phrase-file', 'productPhrase')); | ||
58 | 60 | ||
59 | 61 | ||
60 | function __ajaxCheckTask(unquid){ | 62 | function __ajaxCheckTask(unquid){ |
-
Please register or login to post a comment