diff --git a/src/views/plugins/couponmall/order/index.vue b/src/views/plugins/couponmall/order/index.vue index a6da1faa64cefbe93c99387004dad9956e35f775..15c7c1fd4191a2d864b3694c96436c488750253b 100644 --- a/src/views/plugins/couponmall/order/index.vue +++ b/src/views/plugins/couponmall/order/index.vue @@ -112,6 +112,7 @@ 微信支付 + 支付宝支付 @@ -444,7 +445,12 @@ export default { label: '支付方式', width: '100', render: (h, params) => { - return h('el-tag', { props: { type: 'success' }}, '微信支付') + const { payType } = params.payType + if (payType === 20) { + return h('el-tag', { props: { type: 'success' }}, '支付宝支付') + } else { + return h('el-tag', { props: { type: 'success' }}, '微信支付') + } } }, { @@ -631,7 +637,7 @@ export default { this.$set(item, 'totalFee', item.totalFee ? this.$u.amount.F2Y(item.totalFee) : '') this.$set(item, 'discFee', item.discFee ? this.$u.amount.F2Y(item.discFee) : '') this.$set(item, 'paidFee', item.paidFee ? this.$u.amount.F2Y(item.paidFee) : '') - this.$set(item, 'payType', item.payType === 21 ? '微信支付' : '') + this.$set(item, 'payType', item.payType === 21 ? '微信支付' : item.payType === 20 ? '支付宝支付' : '') // this.$set(item, 'fullRefund', item.fullRefund === 1 ? '是' : '否') this.$set(item, 'refundFee', item.refundFee ? this.$u.amount.F2Y(item.refundFee) : '') // this.$set(item, 'discInfo', item.discInfo ? this.formatDiscInfo(item.discInfo) : '')