Showing
4 changed files
with
26 additions
and
4 deletions
@@ -45,6 +45,7 @@ module.exports={ | @@ -45,6 +45,7 @@ module.exports={ | ||
45 | url: '/salesCategory/addSC', | 45 | url: '/salesCategory/addSC', |
46 | params: [ | 46 | params: [ |
47 | {name: 'categoryName', type: 'string'}, | 47 | {name: 'categoryName', type: 'string'}, |
48 | + {name: 'appType', type: 'number'}, | ||
48 | {name: 'relationParameter', type: 'string'}, | 49 | {name: 'relationParameter', type: 'string'}, |
49 | {name: 'relationUrl', type: 'string'}, | 50 | {name: 'relationUrl', type: 'string'}, |
50 | {name: 'parentId', type: 'string'}, | 51 | {name: 'parentId', type: 'string'}, |
@@ -58,6 +59,7 @@ module.exports={ | @@ -58,6 +59,7 @@ module.exports={ | ||
58 | params: [ | 59 | params: [ |
59 | {name: 'categoryId', type: 'string'}, | 60 | {name: 'categoryId', type: 'string'}, |
60 | {name: 'categoryName', type: 'string'}, | 61 | {name: 'categoryName', type: 'string'}, |
62 | + {name: 'appType', type: 'number'}, | ||
61 | {name: 'relationParameter', type: 'string'}, | 63 | {name: 'relationParameter', type: 'string'}, |
62 | {name: 'relationUrl', type: 'string'}, | 64 | {name: 'relationUrl', type: 'string'}, |
63 | {name: 'parentId', type: 'string'}, | 65 | {name: 'parentId', type: 'string'}, |
@@ -30,6 +30,15 @@ | @@ -30,6 +30,15 @@ | ||
30 | {{/unless}} | 30 | {{/unless}} |
31 | 31 | ||
32 | <div class="form-group"> | 32 | <div class="form-group"> |
33 | + <label class="col-sm-2 control-label">是否BLK:</label> | ||
34 | + <div class="col-sm-8"> | ||
35 | + <select class="form-control" id="appType" value="[[appType]]"> | ||
36 | + <option value="0">否</option> | ||
37 | + <option value="1">是</option> | ||
38 | + </select> | ||
39 | + </div> | ||
40 | + </div> | ||
41 | + <div class="form-group"> | ||
33 | <label class="col-sm-2 control-label">分类名称</label> | 42 | <label class="col-sm-2 control-label">分类名称</label> |
34 | <div class="col-sm-8"><input type="text" id="categoryName" name="categoryName" class="form-control" placeholder="分类名称" value="{{categoryName}}"></div> | 43 | <div class="col-sm-8"><input type="text" id="categoryName" name="categoryName" class="form-control" placeholder="分类名称" value="{{categoryName}}"></div> |
35 | </div> | 44 | </div> |
@@ -37,6 +37,15 @@ | @@ -37,6 +37,15 @@ | ||
37 | <div class="col-sm-8 height40">[[parentName]]</div> | 37 | <div class="col-sm-8 height40">[[parentName]]</div> |
38 | </div> | 38 | </div> |
39 | <div class="form-group"> | 39 | <div class="form-group"> |
40 | + <label class="col-sm-2 control-label">是否BLK:</label> | ||
41 | + <div class="col-sm-8"> | ||
42 | + <select class="form-control" id="appType" value="[[appType]]"> | ||
43 | + <option value="0">否</option> | ||
44 | + <option value="1">是</option> | ||
45 | + </select> | ||
46 | + </div> | ||
47 | + </div> | ||
48 | + <div class="form-group"> | ||
40 | <label class="col-sm-2 control-label">分类名称:</label> | 49 | <label class="col-sm-2 control-label">分类名称:</label> |
41 | <div class="col-sm-8"> | 50 | <div class="col-sm-8"> |
42 | <div class="form-inline"> | 51 | <div class="form-inline"> |
@@ -87,7 +96,8 @@ | @@ -87,7 +96,8 @@ | ||
87 | <div class="level-hd clearfix"> | 96 | <div class="level-hd clearfix"> |
88 | <span class="folder"></span> | 97 | <span class="folder"></span> |
89 | <span style="width: 5%">ID</span> | 98 | <span style="width: 5%">ID</span> |
90 | - <span style="width: 20%">品类名称</span> | 99 | + <span style="width: 5%">BLK商品</span> |
100 | + <span style="width: 15%">品类名称</span> | ||
91 | <span>所属分类</span> | 101 | <span>所属分类</span> |
92 | <span>分类图标</span> | 102 | <span>分类图标</span> |
93 | <span class="orderby">排序</span> | 103 | <span class="orderby">排序</span> |
@@ -199,7 +209,8 @@ | @@ -199,7 +209,8 @@ | ||
199 | <script type="text/template" id="tableTemp2"> | 209 | <script type="text/template" id="tableTemp2"> |
200 | <span class="folder"></span> | 210 | <span class="folder"></span> |
201 | <span style="width: 5%">[[categoryId]]</span> | 211 | <span style="width: 5%">[[categoryId]]</span> |
202 | - <span style="width: 20%">[[categoryName]]</span> | 212 | + <span style="width: 5%">[[if appType=="1"]]是[[/if]][[if appType=="0"]]否[[/if]]</span> |
213 | + <span style="width: 15%">[[categoryName]]</span> | ||
203 | <span>[[levelNumber]]级分类</span> | 214 | <span>[[levelNumber]]级分类</span> |
204 | <span><img src="[[icon]]" alt=""></span> | 215 | <span><img src="[[icon]]" alt=""></span> |
205 | <span class="orderby"> <input type="text" class="form-control saleCategoryNumInput" value="[[orderBy]]" categoryId="[[categoryId]]" /></span> | 216 | <span class="orderby"> <input type="text" class="form-control saleCategoryNumInput" value="[[orderBy]]" categoryId="[[categoryId]]" /></span> |
@@ -23,7 +23,7 @@ | @@ -23,7 +23,7 @@ | ||
23 | <div class="panel-col"> | 23 | <div class="panel-col"> |
24 | <select name="status" id="yohoStatus" tabindex="-1" title="" class="form-control"> | 24 | <select name="status" id="yohoStatus" tabindex="-1" title="" class="form-control"> |
25 | <option value="" selected="">有货状态</option> | 25 | <option value="" selected="">有货状态</option> |
26 | - <option value="0">待装修</option> | 26 | + <option value="1">待装修</option> |
27 | <option value="100">暂存</option> | 27 | <option value="100">暂存</option> |
28 | <option value="200">待审核</option> | 28 | <option value="200">待审核</option> |
29 | <option value="300">审核通过</option> | 29 | <option value="300">审核通过</option> |
@@ -33,7 +33,7 @@ | @@ -33,7 +33,7 @@ | ||
33 | <div class="panel-col"> | 33 | <div class="panel-col"> |
34 | <select name="status" id="blkStatus" tabindex="-1" title="" class="form-control"> | 34 | <select name="status" id="blkStatus" tabindex="-1" title="" class="form-control"> |
35 | <option value="" selected="">BLK状态</option> | 35 | <option value="" selected="">BLK状态</option> |
36 | - <option value="0">待装修</option> | 36 | + <option value="1">待装修</option> |
37 | <option value="100">暂存</option> | 37 | <option value="100">暂存</option> |
38 | <option value="200">待审核</option> | 38 | <option value="200">待审核</option> |
39 | <option value="300">审核通过</option> | 39 | <option value="300">审核通过</option> |
-
Please register or login to post a comment