diff --git a/pages/bind/bind_cloudCard.vue b/pages/bind/bind_cloudCard.vue index c32cf2f..9c01296 100644 --- a/pages/bind/bind_cloudCard.vue +++ b/pages/bind/bind_cloudCard.vue @@ -136,7 +136,7 @@ console.log("params+++++++++++++++", params); _this.$api.receiveTransferGoods(params).then((resp) => { - bus.$emit('order', "监听回调"); + // bus.$emit('order', "监听回调"); // setTimeout(() => { // uni.$emit('order', "监听回调") // }, 500) diff --git a/pages/bind/bind_pickUpCard.vue b/pages/bind/bind_pickUpCard.vue index 0cf1b9c..e73f872 100644 --- a/pages/bind/bind_pickUpCard.vue +++ b/pages/bind/bind_pickUpCard.vue @@ -128,7 +128,7 @@ // } let _this = this _this.$api.bindAllCard(this.page).then((resp) => { - bus.$emit('order', "监听回调"); + // bus.$emit('order', "监听回调"); // setTimeout(() => { // uni.$emit('order', "监听回调") // }, 500) diff --git a/pages/bind/bind_pickUpCard2.vue b/pages/bind/bind_pickUpCard2.vue index 3633ca4..0d8d89e 100644 --- a/pages/bind/bind_pickUpCard2.vue +++ b/pages/bind/bind_pickUpCard2.vue @@ -55,17 +55,17 @@ - + @click="scan" /> - + { - bus.$emit('order', "监听回调"); + // bus.$emit('order', "监听回调"); uni.switchTab({ url: '/pages/home/myCellar' }) diff --git a/pages/home/myCellar.vue b/pages/home/myCellar.vue index 6a804e2..828eb3d 100644 --- a/pages/home/myCellar.vue +++ b/pages/home/myCellar.vue @@ -431,8 +431,8 @@ _this.data = resp _this.pickingUpGoods = [] _this.baseDataSuccess = true - _this.getgoods() _this.selectIndex = 0 + _this.getgoods() }).catch(e => { _this.$nextTick(() => { _this.$refs.pageView.setLoadState(1) @@ -447,6 +447,7 @@ affiliation: this.data[this.selectIndex].id } + _this.$api.vegeCellarList(params).then((resp) => { _this.goods = resp