|
|
|
@ -49,7 +49,7 @@ |
|
|
|
|
|
|
|
<el-card style="margin-top: 0.5vh;background-color: rgb(231,244,253);"> |
|
|
|
<el-table :data="tableData" style="height:73vh;width:82vw;background-color: rgb(243,250,254);"> |
|
|
|
<el-table-column type="index" label="序号" width="60" fixed="left"> |
|
|
|
<el-table-column type="index" :label="t('common.id')" width="60" fixed="left"> |
|
|
|
<template #default="scope"> |
|
|
|
{{ scope.$index + 1 + (pagination.pageNum - 1) * pagination.pageSize }} |
|
|
|
</template> |
|
|
|
@ -98,6 +98,10 @@ |
|
|
|
@click="showEditDialog(scope.row)"> |
|
|
|
编辑 |
|
|
|
</el-button> |
|
|
|
<el-button v-if="[12, 22, 32].includes(scope.row.status)" type="primary" text |
|
|
|
@click="showRejectReasonDialog(scope.row)"> |
|
|
|
查看驳回理由 |
|
|
|
</el-button> |
|
|
|
</div> |
|
|
|
</template> |
|
|
|
</el-table-column> |
|
|
|
@ -211,6 +215,10 @@ |
|
|
|
<el-button type="primary" @click="" style="margin-left: 2vw;">确定</el-button> |
|
|
|
</div> |
|
|
|
</el-dialog> |
|
|
|
|
|
|
|
<el-dialog v-model="showRejectReason" title="驳回理由" width="40%" style="background-color: rgb(243,250,254);"> |
|
|
|
<div>{{ rejectReason }}</div> |
|
|
|
</el-dialog> |
|
|
|
</template> |
|
|
|
<script setup> |
|
|
|
import { ref, onMounted } from 'vue' |
|
|
|
@ -229,6 +237,8 @@ import { productList, CurrencyForId } from '@/views/moneyManage/receiveDetail/ut |
|
|
|
import RefundRecallBackground from '@/assets/images/refund-recall.png' |
|
|
|
import { isNumber } from 'lodash' |
|
|
|
import { re } from 'mathjs' |
|
|
|
import { useI18n } from 'vue-i18n' |
|
|
|
const { t } = useI18n() |
|
|
|
|
|
|
|
const dateRange = ref([]) |
|
|
|
const searchForm = ref({ |
|
|
|
@ -239,6 +249,8 @@ const searchForm = ref({ |
|
|
|
const market = ref([]) |
|
|
|
const backRow = ref({})// 撤回存数据 |
|
|
|
const editRow = ref({})// 编辑存数据 |
|
|
|
const rejectReason = ref('小钱鸭小钱鸭小钱鸭小钱鸭小钱鸭小钱鸭小钱鸭小钱鸭小钱鸭小钱鸭小钱鸭小钱鸭小钱鸭小钱鸭小钱鸭小钱鸭小钱鸭小钱鸭小钱鸭小钱鸭小钱鸭')// 驳回理由 |
|
|
|
const showRejectReason = ref(false)// 驳回理由弹窗 |
|
|
|
const editForm = ref({ |
|
|
|
refundModel: '', |
|
|
|
refundReason: '' |
|
|
|
@ -521,6 +533,10 @@ const showEditDialog = function (row) { |
|
|
|
editRow.value = row |
|
|
|
showEdit.value = true |
|
|
|
} |
|
|
|
const showRejectReasonDialog = function (row) { |
|
|
|
rejectReason.value = row.rejectReason |
|
|
|
showRejectReason.value = true |
|
|
|
} |
|
|
|
const handlePageSizeChange = function (val) { |
|
|
|
pagination.value.pageSize = val |
|
|
|
getRefund() |
|
|
|
|