|
|
|
@ -27,6 +27,7 @@ |
|
|
|
|
<a-select-option :value="0">全部</a-select-option> |
|
|
|
|
<a-select-option :value="'wechat'">微信支付</a-select-option> |
|
|
|
|
<a-select-option :value="'balance'">余额支付 </a-select-option> |
|
|
|
|
<a-select-option :value="'huifu'">银联支付 </a-select-option> |
|
|
|
|
</a-select> |
|
|
|
|
</a-form-item> |
|
|
|
|
<a-form-item label="付款时间"> |
|
|
|
@ -62,7 +63,7 @@ |
|
|
|
|
<span slot="year" slot-scope="text"> {{ text }}年 </span> |
|
|
|
|
<!-- 支付方式 --> |
|
|
|
|
<span slot="pay_method" slot-scope="text"> |
|
|
|
|
<a-tag v-if="text">{{ text == 'wechat' ? '微信支付' : '余额支付' }}</a-tag> |
|
|
|
|
<a-tag v-if="text">{{ PaymentMethodEnum[text].name }}</a-tag> |
|
|
|
|
</span> |
|
|
|
|
<!-- 状态 --> |
|
|
|
|
<span slot="pay_status" slot-scope="text"> |
|
|
|
@ -79,7 +80,9 @@ |
|
|
|
|
import * as Api from '@/api/setting/gmall' |
|
|
|
|
import { STable, UserItem } from '@/components/Table' |
|
|
|
|
import PayStatusEnum from '@/common/enum/recharge/order/PayStatus' |
|
|
|
|
import { PaymentMethodEnum } from '@/common/enum/payment' |
|
|
|
|
import moment from 'moment' |
|
|
|
|
import { inArray, assignment } from '@/utils/util' |
|
|
|
|
export default { |
|
|
|
|
name: 'Index', |
|
|
|
|
components: { |
|
|
|
@ -168,6 +171,12 @@ export default { |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
|
created() {}, |
|
|
|
|
beforeCreate () { |
|
|
|
|
// 批量给当前实例赋值 |
|
|
|
|
assignment(this, { |
|
|
|
|
PaymentMethodEnum, |
|
|
|
|
}) |
|
|
|
|
}, |
|
|
|
|
methods: { |
|
|
|
|
/** |
|
|
|
|
* 刷新列表 |
|
|
|
|