From f33dda0870fbd91675f8587e33c9a7dc77654c4b Mon Sep 17 00:00:00 2001 From: liudan <18634735655@163.com> Date: Sun, 29 Oct 2023 17:34:43 +0800 Subject: [PATCH] 1 --- pages/qianggou/productList.vue | 7 ++++++- pages/qianggou/qianggou.vue | 1 + unpackage/dist/build/h5/index.html | 2 +- .../h5/static/js/{index.a4bfbdeb.js => index.f66a71ba.js} | 2 +- .../h5/static/js/pages-qianggou-productList.4706927c.js | 1 + .../h5/static/js/pages-qianggou-productList.94b45c5f.js | 1 - .../build/h5/static/js/pages-qianggou-qianggou.426aa324.js | 1 - .../build/h5/static/js/pages-qianggou-qianggou.f423623a.js | 1 + 8 files changed, 11 insertions(+), 5 deletions(-) rename unpackage/dist/build/h5/static/js/{index.a4bfbdeb.js => index.f66a71ba.js} (99%) create mode 100644 unpackage/dist/build/h5/static/js/pages-qianggou-productList.4706927c.js delete mode 100644 unpackage/dist/build/h5/static/js/pages-qianggou-productList.94b45c5f.js delete mode 100644 unpackage/dist/build/h5/static/js/pages-qianggou-qianggou.426aa324.js create mode 100644 unpackage/dist/build/h5/static/js/pages-qianggou-qianggou.f423623a.js diff --git a/pages/qianggou/productList.vue b/pages/qianggou/productList.vue index 4587990..365fac4 100644 --- a/pages/qianggou/productList.vue +++ b/pages/qianggou/productList.vue @@ -119,7 +119,12 @@ export default { }, onLoad(option) { - this.warehouse_id = option.id + if(option.id){ + this.warehouse_id = option.id + }else{ + this.warehouse_id = uni.getStorageSync('warehouseId') + + } this.getGoodsList() }, diff --git a/pages/qianggou/qianggou.vue b/pages/qianggou/qianggou.vue index 4c2b751..4ebe163 100644 --- a/pages/qianggou/qianggou.vue +++ b/pages/qianggou/qianggou.vue @@ -134,6 +134,7 @@ export default{ }) }, goProductList(item){ + uni.setStorageSync('warehouseId',item.id) if(item.status=="normal"){ if(item.is_allow_access==0){ this.$refs.uToast.show({ diff --git a/unpackage/dist/build/h5/index.html b/unpackage/dist/build/h5/index.html index d80862b..98bc8fa 100644 --- a/unpackage/dist/build/h5/index.html +++ b/unpackage/dist/build/h5/index.html @@ -1,2 +1,2 @@