diff --git a/public/components/common/editHousekeepingServ/editHousekeepingServ.html b/public/components/common/editHousekeepingServ/editHousekeepingServ.html index 1cc475398..a54852d55 100644 --- a/public/components/common/editHousekeepingServ/editHousekeepingServ.html +++ b/public/components/common/editHousekeepingServ/editHousekeepingServ.html @@ -28,7 +28,7 @@
- @@ -48,7 +48,7 @@
- @@ -56,7 +56,7 @@
- @@ -67,7 +67,7 @@
- diff --git a/public/components/common/editProduct/editProduct.html b/public/components/common/editProduct/editProduct.html index e3c830479..55abc793b 100644 --- a/public/components/common/editProduct/editProduct.html +++ b/public/components/common/editProduct/editProduct.html @@ -17,7 +17,7 @@
- @@ -167,7 +167,7 @@
- diff --git a/public/components/common/editProduct/editProduct.js b/public/components/common/editProduct/editProduct.js index 83ebc7106..ca10cef44 100644 --- a/public/components/common/editProduct/editProduct.js +++ b/public/components/common/editProduct/editProduct.js @@ -137,7 +137,7 @@ } }; //发送get请求 - vc.http.apiGet('/productCategory/queryProductCategory', + vc.http.apiGet('/productCategory/queryAdminProductCategory', param, function (json, res) { let _productCategoryManageInfo = JSON.parse(json); diff --git a/public/pages/admin/storeOrderCartManage/storeOrderCartManage.html b/public/pages/admin/storeOrderCartManage/storeOrderCartManage.html index 5a63f21f8..b212e63cf 100755 --- a/public/pages/admin/storeOrderCartManage/storeOrderCartManage.html +++ b/public/pages/admin/storeOrderCartManage/storeOrderCartManage.html @@ -35,6 +35,17 @@ v-model="storeOrderCartManageInfo.conditions.prodName" class=" form-control">
+
+
+ +
+
+
- -
- @@ -107,7 +108,7 @@
- diff --git a/public/pages/admin/storeOrderCartManage/storeOrderCartManage.js b/public/pages/admin/storeOrderCartManage/storeOrderCartManage.js index 7ca42d806..77f755584 100755 --- a/public/pages/admin/storeOrderCartManage/storeOrderCartManage.js +++ b/public/pages/admin/storeOrderCartManage/storeOrderCartManage.js @@ -9,9 +9,11 @@ total: 0, records: 1, orderDetail: false, + shops:[], conditions: { cartId: '', state: '', + shopId: '', prodName: '' }, address: { @@ -24,6 +26,7 @@ }, _initMethod: function () { vc.component._listOrders(DEFAULT_PAGE, DEFAULT_ROWS); + vc.component._listOrderShops(DEFAULT_PAGE, DEFAULT_ROWS); }, _initEvent: function () { vc.on('storeOrderCartManage', 'goBack', function (_param) { @@ -44,7 +47,7 @@ params: vc.component.storeOrderCartManageInfo.conditions }; //发送get请求 - vc.http.apiGet('/storeOrder/queryStoreOrderCart', + vc.http.apiGet('/storeOrder/queryAdminStoreOrderCart', param, function (json, res) { var _storeOrderCartManageInfo = JSON.parse(json); @@ -74,6 +77,27 @@ } ); }, + _listOrderShops:function(_page, _rows){ + var param = { + params: { + page: _page, + row: _rows, + } + }; + + //发送get请求 + vc.http.apiGet('/shop/queryShopsByAdmin', + param, + function(json,res){ + var _shopManageInfo=JSON.parse(json); + vc.component.storeOrderCartManageInfo.total = _shopManageInfo.total; + vc.component.storeOrderCartManageInfo.records = _shopManageInfo.records; + vc.component.storeOrderCartManageInfo.shops = _shopManageInfo.data; + },function(errInfo,error){ + console.log('请求失败处理'); + } + ); + }, _queryOrdersMethod: function () { vc.component._listOrders(DEFAULT_PAGE, DEFAULT_ROWS); },