|
|
|
@ -104,7 +104,8 @@ |
|
|
|
style="margin-top: 1vh;"></el-pagination> |
|
|
|
</el-card> |
|
|
|
|
|
|
|
<el-dialog v-model="showAudit2" title="审核" class="audit2" width="35vw" overflow draggable style="background-color: #F3FAFE !important;"> |
|
|
|
<el-dialog v-model="showAudit2" title="审核" class="audit2" width="35vw" overflow draggable |
|
|
|
style="background-color: #F3FAFE !important;"> |
|
|
|
<div class="top"> |
|
|
|
<el-button @click="" class="smallTitle" size="small">退款申请信息</el-button> |
|
|
|
<div class="top-item"> |
|
|
|
@ -347,7 +348,7 @@ const adminStore = useAdminStore() |
|
|
|
const { adminData, menuTree } = storeToRefs(adminStore) |
|
|
|
import { permissionMapping, findMenuById, hasMenuPermission } from "@/utils/menuTreePermission.js" |
|
|
|
import moment from 'moment' |
|
|
|
import { productList } from '@/views/moneyManage/receiveDetail/utils/staticData.js' |
|
|
|
import { productList, CurrencyForId } from '@/views/moneyManage/receiveDetail/utils/staticData.js' |
|
|
|
import RefundChargeBackground from '@/assets/images/refund-progress.png' |
|
|
|
import { isNumber } from 'lodash' |
|
|
|
|
|
|
|
@ -403,6 +404,7 @@ const getRefund = async function () { |
|
|
|
return |
|
|
|
} |
|
|
|
try { |
|
|
|
const payCurrencySelect = ref('') |
|
|
|
const statuses = ref([20, 22, 30, 32, 40, 41]) // 看不到进度没到这里的 |
|
|
|
if (searchForm.value.statuses === '审核通过') { |
|
|
|
statuses.value = [30, 40] |
|
|
|
@ -416,14 +418,18 @@ const getRefund = async function () { |
|
|
|
statuses.value = [20, 22, 30, 32, 40, 41] |
|
|
|
} |
|
|
|
|
|
|
|
const goodsName = searchForm.value.goodsName && searchForm.value.goodsName.length > 0 |
|
|
|
const goodsName = searchForm.value.goodsName && searchForm.value.goodsName.length > 0 |
|
|
|
? searchForm.value.goodsName[searchForm.value.goodsName.length - 1] : '' |
|
|
|
|
|
|
|
if(searchForm.value.jwcode && !isNumber(searchForm.value.jwcode)){ |
|
|
|
if (searchForm.value.jwcode && !isNumber(searchForm.value.jwcode)) { |
|
|
|
ElMessage.error('精网号必须为数字') |
|
|
|
return |
|
|
|
} |
|
|
|
|
|
|
|
if (searchForm.value.paymentCurrency) { |
|
|
|
payCurrencySelect.value = CurrencyForId(searchForm.value.paymentCurrency) |
|
|
|
} |
|
|
|
|
|
|
|
const params = { |
|
|
|
pageNum: pagination.value.pageNum, |
|
|
|
pageSize: pagination.value.pageSize, |
|
|
|
@ -436,7 +442,7 @@ const getRefund = async function () { |
|
|
|
// 20:地区负责人待审核;22:地区负责人驳回; |
|
|
|
// 30:总部财务待审核;32:总部财务驳回; |
|
|
|
// 40:执行人待处理;41:执行人已处理,退款完成; |
|
|
|
paymentCurrency: searchForm.value.paymentCurrency,//付款币种 |
|
|
|
paymentCurrency: payCurrencySelect.value,//付款币种 |
|
|
|
payType: searchForm.value.payType,//支付方式 |
|
|
|
startTime: dateRange.value && dateRange.value[0] ? dayjs(dateRange.value[0]).format('YYYY-MM-DD HH:mm:ss') : "", |
|
|
|
endTime: dateRange.value && dateRange.value[1] ? dayjs(dateRange.value[1]).format('YYYY-MM-DD HH:mm:ss') : "", |
|
|
|
@ -569,6 +575,7 @@ const getMarket = async function () { |
|
|
|
} |
|
|
|
} |
|
|
|
const exportExcel = async function () { |
|
|
|
const payCurrencySelect = ref('') |
|
|
|
const statuses = ref([20, 22, 30, 32, 40, 41]) // 看不到进度没到这里的 |
|
|
|
if (searchForm.value.statuses === '审核通过') { |
|
|
|
statuses.value = [30, 40] |
|
|
|
@ -583,12 +590,16 @@ const exportExcel = async function () { |
|
|
|
} |
|
|
|
|
|
|
|
const goodsName = searchForm.value.goodsName && searchForm.value.goodsName.length > 0 |
|
|
|
? searchForm.value.goodsName[searchForm.value.goodsName.length - 1] : '' |
|
|
|
? searchForm.value.goodsName[searchForm.value.goodsName.length - 1] : '' |
|
|
|
|
|
|
|
if(searchForm.value.jwcode && !isNumber(searchForm.value.jwcode)){ |
|
|
|
ElMessage.error('精网号必须为数字') |
|
|
|
return |
|
|
|
} |
|
|
|
if (searchForm.value.jwcode && !isNumber(searchForm.value.jwcode)) { |
|
|
|
ElMessage.error('精网号必须为数字') |
|
|
|
return |
|
|
|
} |
|
|
|
|
|
|
|
if (searchForm.value.paymentCurrency) { |
|
|
|
payCurrencySelect.value = CurrencyForId(searchForm.value.paymentCurrency) |
|
|
|
} |
|
|
|
|
|
|
|
const params = { |
|
|
|
pageNum: pagination.value.pageNum, |
|
|
|
@ -602,7 +613,7 @@ const exportExcel = async function () { |
|
|
|
// 20:地区负责人待审核;22:地区负责人驳回; |
|
|
|
// 30:总部财务待审核;32:总部财务驳回; |
|
|
|
// 40:执行人待处理;41:执行人已处理,退款完成; |
|
|
|
paymentCurrency: searchForm.value.paymentCurrency,//付款币种 |
|
|
|
paymentCurrency: payCurrencySelect.value,//付款币种 |
|
|
|
payType: searchForm.value.payType,//支付方式 |
|
|
|
startTime: dateRange.value && dateRange.value[0] ? dayjs(dateRange.value[0]).format('YYYY-MM-DD HH:mm:ss') : "", |
|
|
|
endTime: dateRange.value && dateRange.value[1] ? dayjs(dateRange.value[1]).format('YYYY-MM-DD HH:mm:ss') : "", |
|
|
|
|