Authored by liuyue

店铺端

This diff could not be displayed because it is too large.
@@ -4,51 +4,7 @@ exports.domain = require('../config/common.js').domain; @@ -4,51 +4,7 @@ exports.domain = require('../config/common.js').domain;
4 //exports.domain = 'http://172.16.6.162:8088/platform'; //李建 4 //exports.domain = 'http://172.16.6.162:8088/platform'; //李建
5 5
6 //商品管理路由配置 6 //商品管理路由配置
7 -exports.res = [  
8 - /*{  
9 - //商品审核  
10 - route: '/supplier/baseaudit/index',  
11 - method: 'GET',  
12 - view: 'pages/goods/index',  
13 - data: {  
14 - bottons: '{"detail":true}',  
15 - gridurl: '/goods/review/getList',  
16 - searchStatus: [{  
17 - name: "未审核",  
18 - value: "100"  
19 - }, {  
20 - name: "已通过",  
21 - value: "200"  
22 - }, {  
23 - name: "驳回",  
24 - value: "300"  
25 - }],  
26 - searchJIT: true,  
27 - pageTitle: "商品审核"  
28 - },  
29 - src: '/goods/index'  
30 - }, {  
31 - route: '/goods/review/getList',  
32 - method: 'POST',  
33 - url: '/goods/review/getReviewList',  
34 - params: [{  
35 - name: 'skn',  
36 - type: 'String'  
37 - }, {  
38 - name: 'brandName',  
39 - type: 'String'  
40 - }, {  
41 - name: 'storeName',  
42 - type: 'String'  
43 - }, {  
44 - name: 'status',  
45 - type: 'String'  
46 - }, {  
47 - name: 'jit',  
48 - type: 'String'  
49 - }]  
50 - }, */  
51 - { 7 +exports.res = [{
52 //网销信息 -> 网销信息页面渲染 8 //网销信息 -> 网销信息页面渲染
53 route: '/goods/netsale/index', 9 route: '/goods/netsale/index',
54 method: 'GET', 10 method: 'GET',
@@ -714,6 +670,25 @@ exports.res = [ @@ -714,6 +670,25 @@ exports.res = [
714 name: 'brandId', 670 name: 'brandId',
715 type: 'Number' 671 type: 'Number'
716 }] 672 }]
  673 + }, {
  674 + // 店铺列表
  675 + route: '/ShopsRest/getShopsByName',
  676 + method: 'POST',
  677 + url: "/ShopsRest/selectCheckPassShopsByName",
  678 + params: [{
  679 + name: "idName",
  680 + type: "String"
  681 + }]
  682 + }, {
  683 + route: '/brand/getBrandNames',
  684 + method: 'POST',
  685 + url: '/erpproduct/brands/getBrandNames',
  686 + params: [{
  687 + name: 'idName',
  688 + type: 'String'
  689 + }, {
  690 + name: 'status',
  691 + type: 'Number'
  692 + }]
717 } 693 }
718 -  
719 ]; 694 ];
@@ -182,6 +182,7 @@ @@ -182,6 +182,7 @@
182 182
183 <input type="hidden" id="btnAuthority" value="{{bottons}}"> 183 <input type="hidden" id="btnAuthority" value="{{bottons}}">
184 <input type="hidden" id="gridurl" value="{{gridurl}}"> 184 <input type="hidden" id="gridurl" value="{{gridurl}}">
  185 +<input type="hidden" id="shopId" value="{{auth.shopId}}">
185 186
186 <script id="template" type="text/template"> 187 <script id="template" type="text/template">
187 188