diff --git a/public/components/common/chooseResourceStore/chooseResourceStore.js b/public/components/common/chooseResourceStore/chooseResourceStore.js index 913d2a428..6e4db5c7c 100644 --- a/public/components/common/chooseResourceStore/chooseResourceStore.js +++ b/public/components/common/chooseResourceStore/chooseResourceStore.js @@ -57,7 +57,7 @@ }, methods: { _loadAllResourceStoreInfo: function(_page, _row, _name) { - var param = { + let param = { params: { page: _page, row: _row, @@ -71,6 +71,9 @@ shId: $that.chooseResourceStoreInfo.shId } }; + if($that.chooseResourceStoreInfo.shId){ + param.params.communityId = ''; + } //发送get请求 vc.http.apiGet('/resourceStore.listResourceStores', param, diff --git a/public/pages/common/allocationStorehouseApply/allocationStorehouseApply.js b/public/pages/common/allocationStorehouseApply/allocationStorehouseApply.js index 3960a88d8..55e7f6d23 100644 --- a/public/pages/common/allocationStorehouseApply/allocationStorehouseApply.js +++ b/public/pages/common/allocationStorehouseApply/allocationStorehouseApply.js @@ -113,15 +113,16 @@ _openAllocationStorehouseModel: function() { vc.emit('chooseResourceStore', 'openChooseResourceStoreModel', { resOrderType: '20000', - shId: $that.allocationStorehouseApplyInfo.shId + shId: $that.allocationStorehouseApplyInfo.shId, }); }, _listAllocationStorehouse: function(_page, _rows) { + //communityId: vc.getCurrentCommunity().communityId let param = { params: { page: 1, row: 100, - communityId: vc.getCurrentCommunity().communityId + } }; //发送get请求