xuxueyang
2024-10-09 6dd1a191d22e8c3dd5ec985e356c495f6332a1ea
update 订单支付-确认收货
已修改3个文件
16 ■■■■ 文件已修改
pages/order/comment/order-comment.vue 7 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/order/order-detail.vue 4 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/order/order.vue 5 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pages/order/comment/order-comment.vue
@@ -308,7 +308,7 @@
                        await this.$message.confirm('是否确定收货')
                        var tryCallWx = false
                        // #ifdef MP
                        // #ifdef MPOLD
                        let tmp = this
                        if (wx.openBusinessView && tmp.dto && tmp.dto.paymentTrId) {
                            tryCallWx = true
@@ -344,6 +344,8 @@
                                        if (code === 0) {
                                            tmp.getDetail()
                                            tmp.$store.dispatch('getCurrentInfo')
                                            tmp.$message.showToast('收货失败')
                                        }
                                    }
@@ -376,6 +378,9 @@
                            this.$message.hideLoading()
                            if (code === 0) {
                                this.getDetail()
                                this.$store.dispatch('getCurrentInfo')
                                this.$message.showToast('收货失败')
                            }
                        }
pages/order/order-detail.vue
@@ -264,7 +264,7 @@
                        await this.$message.confirm('是否确定收货')
                        var tryCallWx = false
                        // #ifdef MP
                        // #ifdef MPOLD
                        let tmp = this
                        if (wx.openBusinessView && tmp.dto && tmp.dto.paymentTrId) {
                            tryCallWx = true
@@ -332,6 +332,8 @@
                            this.$message.hideLoading()
                            if (code === 0) {
                                this.getDetail()
                                this.$store.dispatch('getCurrentInfo')
                                this.$message.showToast('收货成功')
                            }
                        }
pages/order/order.vue
@@ -244,7 +244,7 @@
                    case 'confirm': {
                        await this.$message.confirm('是否确定收货')
                        var tryCallWx = false
                        // #ifdef MP
                        // #ifdef MPOLD
                        let tmp = this
                        if (wx.openBusinessView && item.paymentTrId) {
                            tryCallWx = true
@@ -313,6 +313,9 @@
                            this.$message.hideLoading()
                            if (code === 0) {
                                this.refreshList()
                                //刷新积分
                                this.$store.dispatch('getCurrentInfo')
                                this.$message.showToast('收货成功')
                            }
                        }