Commit 4fbe7aa4 by gonglei

修改保证金支付流程

1 parent 1f21abc0
...@@ -56,7 +56,8 @@ ...@@ -56,7 +56,8 @@
{{ $t('enum.transaction.transactionType.' + record.transaction.transactionType) }} {{ $t('enum.transaction.transactionType.' + record.transaction.transactionType) }}
</template> </template>
<template v-if="column.key === 'depositState'"> <template v-if="column.key === 'depositState'">
<deposit-state-tag :deposit-state="record.depositState"></deposit-state-tag> <deposit-state-tag v-if="record.paymentTime" :deposit-state="record.depositState"></deposit-state-tag>
<a-tag v-else>未支付</a-tag>
</template> </template>
</template> </template>
...@@ -73,7 +74,6 @@ import {Operator, Order} from "autumn-vue/lib/core/page/Pagination"; ...@@ -73,7 +74,6 @@ import {Operator, Order} from "autumn-vue/lib/core/page/Pagination";
import {DepositController} from "@/api/DepositController"; import {DepositController} from "@/api/DepositController";
import {DepositStat} from "lib/src/entity/finance/domain/DepositStat"; import {DepositStat} from "lib/src/entity/finance/domain/DepositStat";
import DepositStateTag from "@/views/finance/deposit/DepositStateTag.vue"; import DepositStateTag from "@/views/finance/deposit/DepositStateTag.vue";
import {TransactionController} from "@/api/TransactionController";
import {ExportUtil} from "@/common/ExportUtil"; import {ExportUtil} from "@/common/ExportUtil";
import {Security} from "@/store"; import {Security} from "@/store";
...@@ -167,6 +167,7 @@ export default class DepositPage extends PaginationComponent<Deposit> { ...@@ -167,6 +167,7 @@ export default class DepositPage extends PaginationComponent<Deposit> {
}], }],
amount: [null, {label: '冻结金额', field: 'transaction.amount', fieldName2: 'amount2', operator: Operator.numberBetween, type: 'number-range'}], amount: [null, {label: '冻结金额', field: 'transaction.amount', fieldName2: 'amount2', operator: Operator.numberBetween, type: 'number-range'}],
}); });
// this.pagination.addDefaultFilter('paymentTime',null,Operator.isNotNull);
this.pagination.setDefaultSort('createTime', Order.desc); this.pagination.setDefaultSort('createTime', Order.desc);
this.pageLoad(); this.pageLoad();
DepositController.getDepositStat(this.axios).then(response => { DepositController.getDepositStat(this.axios).then(response => {
......
...@@ -59,7 +59,8 @@ ...@@ -59,7 +59,8 @@
{{ $t('enum.transaction.transactionType.' + record.transaction.transactionType) }} {{ $t('enum.transaction.transactionType.' + record.transaction.transactionType) }}
</template> </template>
<template v-if="column.key === 'depositState'"> <template v-if="column.key === 'depositState'">
<deposit-state-tag :deposit-state="record.depositState"></deposit-state-tag> <deposit-state-tag v-if="record.paymentTime" :deposit-state="record.depositState"></deposit-state-tag>
<a-tag v-else>未支付</a-tag>
</template> </template>
<template v-if="column.key === 'orderState'"> <template v-if="column.key === 'orderState'">
<auction-order-state-tag v-if="record.auctionOrder" :order-state="record.auctionOrder.orderState"></auction-order-state-tag> <auction-order-state-tag v-if="record.auctionOrder" :order-state="record.auctionOrder.orderState"></auction-order-state-tag>
...@@ -161,12 +162,12 @@ export default class DepositRefundPage extends PaginationComponent<Deposit> { ...@@ -161,12 +162,12 @@ export default class DepositRefundPage extends PaginationComponent<Deposit> {
sourceNo: [null, {label: '车源号', field: 'auctionVehicle.vehicle.baseInfo.sourceNo', operator: Operator.like}], sourceNo: [null, {label: '车源号', field: 'auctionVehicle.vehicle.baseInfo.sourceNo', operator: Operator.like}],
carSeriesName: [null, {label: '车系名称', field: 'auctionVehicle.vehicle.baseInfo.carSeriesName', operator: Operator.like}], carSeriesName: [null, {label: '车系名称', field: 'auctionVehicle.vehicle.baseInfo.carSeriesName', operator: Operator.like}],
carTypeName: [null, {label: '车型名称', field: 'auctionVehicle.vehicle.baseInfo.carTypeName', operator: Operator.like}], carTypeName: [null, {label: '车型名称', field: 'auctionVehicle.vehicle.baseInfo.carTypeName', operator: Operator.like}],
transactionType: [null, { // transactionType: [null, {
label: '交易类型', field: 'transaction.transactionType', type: 'select', allowClear: true, optionItems: [ // label: '交易类型', field: 'transaction.transactionType', type: 'select', allowClear: true, optionItems: [
{label: this.$t('enum.transaction.transactionType.FREEZE'), value: 'FREEZE'}, // {label: this.$t('enum.transaction.transactionType.FREEZE'), value: 'FREEZE'},
{label: this.$t('enum.transaction.transactionType.UNFREEZE'), value: 'UNFREEZE'} // {label: this.$t('enum.transaction.transactionType.UNFREEZE'), value: 'UNFREEZE'}
], operator: Operator.eq // ], operator: Operator.eq
}], // }],
depositState: [null, { depositState: [null, {
label: '交易状态', field: 'depositState', type: 'select', allowClear: true, optionItems: [ label: '交易状态', field: 'depositState', type: 'select', allowClear: true, optionItems: [
{label: this.$t('enum.deposit.depositState.FREEZE'), value: 'FREEZE'}, {label: this.$t('enum.deposit.depositState.FREEZE'), value: 'FREEZE'},
...@@ -175,6 +176,7 @@ export default class DepositRefundPage extends PaginationComponent<Deposit> { ...@@ -175,6 +176,7 @@ export default class DepositRefundPage extends PaginationComponent<Deposit> {
}], }],
amount: [null, {label: '冻结金额', field: 'transaction.amount', fieldName2: 'amount2', operator: Operator.numberBetween, type: 'number-range'}], amount: [null, {label: '冻结金额', field: 'transaction.amount', fieldName2: 'amount2', operator: Operator.numberBetween, type: 'number-range'}],
}); });
this.pagination.addDefaultFilter('paymentTime',null,Operator.isNotNull);
this.pagination.setDefaultSort('createTime', Order.desc); this.pagination.setDefaultSort('createTime', Order.desc);
this.pageLoad(); this.pageLoad();
DepositController.getDepositStat(this.axios).then(response => { DepositController.getDepositStat(this.axios).then(response => {
......
...@@ -6,11 +6,11 @@ PUBLISH_PATH = '/' ...@@ -6,11 +6,11 @@ PUBLISH_PATH = '/'
# 平台端请求路径 # 平台端请求路径
# 生产环境 # 生产环境
# VITE_APP_API_URL = 'http://aapp.link:6911/api/' VITE_APP_API_URL = 'http://aapp.link:6911/api/'
# VITE_APP_API_BASE_URL = 'http://aapp.link:6911/' VITE_APP_API_BASE_URL = 'http://aapp.link:6911/'
VITE_APP_API_URL = 'https://aus.glsx.com.cn/app/api/' # VITE_APP_API_URL = 'https://aus.glsx.com.cn/app/api/'
VITE_APP_API_BASE_URL = 'https://aus.glsx.com.cn/app/' # VITE_APP_API_BASE_URL = 'https://aus.glsx.com.cn/app/'
VITE_APP_TOKEN= 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJmYWN0b3JJZCI6MSwic3ViIjoiYWRtaW5pc3RyYXRvciIsInJlYWxOYW1lIjoi6LaF57qn566h55CG5ZGYIiwicGFzc3dvcmQiOiIkMmEkMTAkaFR0QkdSOTAxZ1A2SzQ5Ti9RNWFNT2oyQjE3cDVYZjRmeXliZTJ6ckpjdEJjWklMbUEwZEciLCJpc3MiOiJ5eHR3ZWIiLCJhdmF0YXIiOiJ1c2VySW5mby8yMDIzMDcxOC9OMUYxNGJ5NmRPLmpwZyIsImV4cCI6MTc2ODkyNzY3NywiaWF0IjoxNjk2OTI3Njc3LCJqdGkiOiIxIiwiYXV0aG9yaXRpZXMiOlsiUk9MRV9TVVBFUiIsIkFETUlOIl19.3SYoNceGBTubVsikOb7aFpm5medHG-AUpVgcBdb2ao8' VITE_APP_TOKEN= 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJmYWN0b3JJZCI6MSwic3ViIjoiYWRtaW5pc3RyYXRvciIsInJlYWxOYW1lIjoi6LaF57qn566h55CG5ZGYIiwicGFzc3dvcmQiOiIkMmEkMTAkaFR0QkdSOTAxZ1A2SzQ5Ti9RNWFNT2oyQjE3cDVYZjRmeXliZTJ6ckpjdEJjWklMbUEwZEciLCJpc3MiOiJ5eHR3ZWIiLCJhdmF0YXIiOiJ1c2VySW5mby8yMDIzMDcxOC9OMUYxNGJ5NmRPLmpwZyIsImV4cCI6MTc2ODkyNzY3NywiaWF0IjoxNjk2OTI3Njc3LCJqdGkiOiIxIiwiYXV0aG9yaXRpZXMiOlsiUk9MRV9TVVBFUiIsIkFETUlOIl19.3SYoNceGBTubVsikOb7aFpm5medHG-AUpVgcBdb2ao8'
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!