|  |  | 
 |  |  |                         await this.$message.confirm('是否确定收货') | 
 |  |  |  | 
 |  |  |                         var tryCallWx = false | 
 |  |  |                         // #ifdef MP | 
 |  |  |                         // #ifdef MPOLD | 
 |  |  |                         let tmp = this | 
 |  |  |                         if (wx.openBusinessView && tmp.dto && tmp.dto.paymentTrId) { | 
 |  |  |                             tryCallWx = true | 
 |  |  | 
 |  |  |                                         if (code === 0) { | 
 |  |  |                                             tmp.getDetail() | 
 |  |  |                                             tmp.$store.dispatch('getCurrentInfo') | 
 |  |  |                                             tmp.$message.showToast('收货失败') | 
 |  |  | 											 | 
 |  |  |                                         } | 
 |  |  |  | 
 |  |  |                                     } | 
 |  |  | 
 |  |  |                             this.$message.hideLoading() | 
 |  |  |                             if (code === 0) { | 
 |  |  |                                 this.getDetail() | 
 |  |  |                                 this.$store.dispatch('getCurrentInfo') | 
 |  |  |                                 this.$message.showToast('收货失败') | 
 |  |  | 								 | 
 |  |  |                             } | 
 |  |  |                         } | 
 |  |  |  | 
 
 |  |  | 
 |  |  |                         await this.$message.confirm('是否确定收货') | 
 |  |  |  | 
 |  |  |                         var tryCallWx = false | 
 |  |  |                         // #ifdef MP | 
 |  |  |                         // #ifdef MPOLD | 
 |  |  |                         let tmp = this | 
 |  |  |                         if (wx.openBusinessView && tmp.dto && tmp.dto.paymentTrId) { | 
 |  |  |                             tryCallWx = true | 
 |  |  | 
 |  |  |                             this.$message.hideLoading() | 
 |  |  |                             if (code === 0) { | 
 |  |  |                                 this.getDetail() | 
 |  |  |                                 this.$store.dispatch('getCurrentInfo') | 
 |  |  |                                 this.$message.showToast('收货成功') | 
 |  |  |                             } | 
 |  |  |                         } | 
 |  |  |  | 
 
 |  |  | 
 |  |  |                     case 'confirm': { | 
 |  |  |                         await this.$message.confirm('是否确定收货') | 
 |  |  |                         var tryCallWx = false | 
 |  |  |                         // #ifdef MP | 
 |  |  |                         // #ifdef MPOLD | 
 |  |  |                         let tmp = this | 
 |  |  |                         if (wx.openBusinessView && item.paymentTrId) { | 
 |  |  |                             tryCallWx = true | 
 |  |  | 
 |  |  |                             this.$message.hideLoading() | 
 |  |  |                             if (code === 0) { | 
 |  |  |                                 this.refreshList() | 
 |  |  |                                 //刷新积分 | 
 |  |  |                                 this.$store.dispatch('getCurrentInfo') | 
 |  |  |                                 this.$message.showToast('收货成功') | 
 |  |  |                             } | 
 |  |  |                         } | 
 |  |  |  |