From b76061257eb60ff8f293d6f9ef348934e07a059f Mon Sep 17 00:00:00 2001 From: Your Name Date: Sun, 17 Sep 2023 23:50:37 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../common/chooseResourceStore/chooseResourceStore.js | 5 ++++- .../allocationStorehouseApply/allocationStorehouseApply.js | 5 +++-- 2 files changed, 7 insertions(+), 3 deletions(-) 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请求