#
zjj
2024-05-30 2be033f7a563a6b589ea4dbe7a4b671b7533052f
#
1个文件已修改
17 ■■■■ 已修改文件
pages/order/orderDetlList.vue 17 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/order/orderDetlList.vue
@@ -20,19 +20,20 @@
            }
        },
        onLoad() {
        },
        onShow() {
            let that = this
            // const eventChannel = this.$scope.eventChannel; // 兼容APP-NVUE
            const eventChannel = this.getOpenerEventChannel();
            that.baseUrl = uni.getStorageSync('baseUrl');
            that.token = uni.getStorageSync('token');
            const eventChannel = that.getOpenerEventChannel();
            eventChannel.on('order', function(data) {
                // console.log(data.item);
                that.orderNo = data.orderNo
                that.getOrderNoList(that.orderNo)
            })
        },
        onShow() {
            this.baseUrl = uni.getStorageSync('baseUrl');
            this.token = uni.getStorageSync('token');
            this.getOrderNoList(this.orderNo)
        },
        methods: {
            getOrderNoList(orderNo) {