Browse Source

lihuilin/feature-20251104102812-现金二期
lihuilin 1 week ago
parent
commit
420948aa52
  1. 12
      src/views/moneyManage/executor/executor.vue
  2. 2
      src/views/moneyManage/receiveDetail/receiveService.vue
  3. 293
      src/views/moneyManage/refundDetail/refundCharge.vue
  4. 59
      src/views/moneyManage/refundDetail/refundFinance.vue
  5. 296
      src/views/moneyManage/refundDetail/refundHeader.vue
  6. 25
      src/views/moneyManage/refundDetail/refundService.vue

12
src/views/moneyManage/executor/executor.vue

@ -175,14 +175,14 @@
</div> </div>
<div class="dialog-item"> <div class="dialog-item">
<el-text style="width:4vw;">转账凭证</el-text> <el-text style="width:4vw;">转账凭证</el-text>
<img v-if="editRow.voucher" :src="editRow.voucher" style="width: 80px; height: 80px; object-fit: cover;">
<img v-if="editRow.payVoucher" :src="editRow.payVoucher" style="width: 80px; height: 80px; object-fit: cover;">
<div v-else> <div v-else>
无转账凭证 无转账凭证
</div> </div>
</div> </div>
<div class="dialog-item"> <div class="dialog-item">
<el-text style="width:4vw;">备注</el-text> <el-text style="width:4vw;">备注</el-text>
<el-input v-model="editRow.remark" style="width:10vw;" :row="3" disabled maxlength="100" type="textarea"
<el-input v-model="editRow.payRemark" style="width:10vw;" :row="3" disabled maxlength="100" type="textarea"
show-word-limit clearable /> show-word-limit clearable />
</div> </div>
</div> </div>
@ -209,7 +209,7 @@
clearable /> clearable />
</div> </div>
<div class="dialog-item"> <div class="dialog-item">
<el-text style="width:4vw;">支付凭证</el-text>
<el-text style="width:4vw;">退款截图</el-text>
<el-upload ref="uploadRef" :http-request="customUpload" list-type="picture-card" :auto-upload="false" <el-upload ref="uploadRef" :http-request="customUpload" list-type="picture-card" :auto-upload="false"
:on-change="handleImageChange" :before-upload="beforeUpload" :show-file-list="false"> :on-change="handleImageChange" :before-upload="beforeUpload" :show-file-list="false">
<template #default> <template #default>
@ -280,6 +280,10 @@ const getRefund = async function () {
statusesParam.value = [40, 41] statusesParam.value = [40, 41]
} }
if (searchForm.value.goodsName) {
searchForm.value.goodsName = searchForm.value.goodsName[searchForm.value.goodsName.length - 1]
}
const params = { const params = {
pageNum: pagination.value.pageNum, pageNum: pagination.value.pageNum,
pageSize: pagination.value.pageSize, pageSize: pagination.value.pageSize,
@ -287,7 +291,7 @@ const getRefund = async function () {
jwcode: searchForm.value.jwcode, jwcode: searchForm.value.jwcode,
name: searchForm.value.name, name: searchForm.value.name,
markets: searchForm.value.markets, markets: searchForm.value.markets,
goodsNames: searchForm.value.goodsName,
goodsName: searchForm.value.goodsName,
statuses: statusesParam.value,//1012 statuses: statusesParam.value,//1012
// 2022 // 2022
// 3032 // 3032

2
src/views/moneyManage/receiveDetail/receiveService.vue

@ -695,7 +695,7 @@ const handleAddForm = async () => {
submitterId: adminData.value.id, submitterId: adminData.value.id,
permanentGold: (addFormData.value.permanentGold || 0) * 100, permanentGold: (addFormData.value.permanentGold || 0) * 100,
freeGold: (addFormData.value.freeGold || 0) * 100, freeGold: (addFormData.value.freeGold || 0) * 100,
goodNum: addFormData.value.goodNum || 0,
goodNum: addFormData.value.goodNum || addFormData.value.permanentGold || 0,
paymentCurrency: CurrencyForId(addFormData.value.paymentCurrency) || '', paymentCurrency: CurrencyForId(addFormData.value.paymentCurrency) || '',
receivedMarket: MarketNameForId(addFormData.value.receivedMarket) || '', receivedMarket: MarketNameForId(addFormData.value.receivedMarket) || '',
paymentAmount: (addFormData.value.paymentAmount) * 100, paymentAmount: (addFormData.value.paymentAmount) * 100,

293
src/views/moneyManage/refundDetail/refundCharge.vue

@ -116,6 +116,14 @@
</el-select> </el-select>
</div> </div>
<div class="top-item"> <div class="top-item">
<el-text style="width:4vw;" size="small">永久金币</el-text>
<el-input v-model="auditRow.permanentGold" size="small" style="width:10vw;" disabled />&nbsp;
</div>
<div class="top-item">
<el-text style="width:4vw;" size="small">免费金币</el-text>
<el-input v-model="auditRow.freeGold" size="small" style="width:10vw;" disabled />&nbsp;
</div>
<div class="top-item">
<el-text style="width:4vw;" size="small">退款理由</el-text> <el-text style="width:4vw;" size="small">退款理由</el-text>
<el-input v-model="auditRow.refundReason" size="small" style="width:10vw;" :rows="3" maxlength="100" <el-input v-model="auditRow.refundReason" size="small" style="width:10vw;" :rows="3" maxlength="100"
show-word-limit type="textarea" disabled /> show-word-limit type="textarea" disabled />
@ -137,20 +145,20 @@
<el-input v-model="auditRow.goodsName" size="small" style="width:10vw;" disabled /> <el-input v-model="auditRow.goodsName" size="small" style="width:10vw;" disabled />
</div> </div>
<div class="center-item"> <div class="center-item">
<el-text style="width:4vw;" size="small">付款金额</el-text>
<el-input v-model="auditRow.paymentAmount" size="small" style="width:10vw;" disabled />
<el-text style="width:4vw;" size="small">付款币种</el-text>
<el-input v-model="auditRow.paymentCurrency" size="small" style="width:10vw;" disabled />
</div> </div>
<div class="center-item"> <div class="center-item">
<el-text style="width:4vw;" size="small">到账金额</el-text>
<el-input v-model="auditRow.receivedAmount" size="small" style="width:10vw;" disabled />
<el-text style="width:4vw;" size="small">付款金额</el-text>
<el-input v-model="auditRow.paymentAmount" size="small" style="width:10vw;" disabled />
</div> </div>
<div class="center-item"> <div class="center-item">
<el-text style="width:4vw;" size="small">支付方式</el-text>
<el-input v-model="auditRow.payType" size="small" style="width:10vw;" disabled />
<el-text style="width:4vw;" size="small">付款时间</el-text>
<el-input v-model="auditRow.payTime" size="small" style="width:10vw;" disabled />
</div> </div>
<div class="center-item"> <div class="center-item">
<el-text style="width:4vw;">转账凭证</el-text> <el-text style="width:4vw;">转账凭证</el-text>
<img v-if="auditRow.voucher" :src="auditRow.voucher"
<img v-if="auditRow.payVoucher" :src="auditRow.payVoucher"
style="width: 80px; height: 80px; object-fit: cover;"> style="width: 80px; height: 80px; object-fit: cover;">
<div v-else> <div v-else>
无转账凭证 无转账凭证
@ -167,28 +175,28 @@
<el-input v-model="auditRow.activity" size="small" style="width:10vw;" disabled /> <el-input v-model="auditRow.activity" size="small" style="width:10vw;" disabled />
</div> </div>
<div class="right-item"> <div class="right-item">
<el-text style="width:4vw;" size="small">付款币种</el-text>
<el-input v-model="auditRow.paymentCurrency" size="small" style="width:10vw;" disabled />
<el-text style="width:4vw;" size="small">支付方式</el-text>
<el-input v-model="auditRow.payType" size="small" style="width:10vw;" disabled />
</div> </div>
<div class="right-item"> <div class="right-item">
<el-text style="width:4vw;" size="small">到账币种</el-text> <el-text style="width:4vw;" size="small">到账币种</el-text>
<el-input v-model="auditRow.receivedCurrency" size="small" style="width:10vw;" disabled /> <el-input v-model="auditRow.receivedCurrency" size="small" style="width:10vw;" disabled />
</div> </div>
<div class="right-item"> <div class="right-item">
<el-text style="width:4vw;" size="small">手续费</el-text>
<el-input v-model="auditRow.handlingCharge" size="small" style="width:10vw;" disabled />
<el-text style="width:4vw;" size="small">到账金额</el-text>
<el-input v-model="auditRow.receivedAmount" size="small" style="width:10vw;" disabled />
</div> </div>
<div class="right-item"> <div class="right-item">
<el-text style="width:4vw;" size="small">付款时间</el-text>
<el-input v-model="auditRow.payTime" size="small" style="width:10vw;" disabled />
<el-text style="width:4vw;" size="small">到账时间</el-text>
<el-input v-model="auditRow.receivedTime" size="small" style="width:10vw;" disabled />
</div> </div>
<div class="right-item"> <div class="right-item">
<el-text style="width:4vw;" size="small">提交人</el-text>
<el-input v-model="auditRow.submitter" size="small" style="width:10vw;" disabled />
<el-text style="width:4vw;" size="small">手续费</el-text>
<el-input v-model="auditRow.handlingCharge" size="small" style="width:10vw;" disabled />
</div> </div>
<div class="right-item"> <div class="right-item">
<el-text style="width:4vw;" size="small">到账时间</el-text>
<el-input v-model="auditRow.receivedTime" size="small" style="width:10vw;" disabled />
<el-text style="width:4vw;" size="small">提交人</el-text>
<el-input v-model="auditRow.submitter" size="small" style="width:10vw;" disabled />
</div> </div>
<div class="right-item"> <div class="right-item">
<el-text style="width:4vw;" size="small">备注</el-text> <el-text style="width:4vw;" size="small">备注</el-text>
@ -256,8 +264,8 @@
<template #icon> <template #icon>
<img v-if="currentStep === 4" src="@/assets/images/refund-rejected.png" alt="已驳回"> <img v-if="currentStep === 4" src="@/assets/images/refund-rejected.png" alt="已驳回">
<img v-else-if="currentStep === 3" src="@/assets/images/refund-approving.png" alt="待审核"> <img v-else-if="currentStep === 3" src="@/assets/images/refund-approving.png" alt="待审核">
<img v-else-if="currentStep > 3 && currentStep != 4" src="@/assets/images/refund-approved.png"
alt="已审核">
<img v-else-if="currentStep > 3 && currentStep != 4"
src="@/assets/images/refund-approved.png" alt="已审核">
<img v-else-if="currentStep < 3" src="@/assets/images/refund-waiting.png" alt="未开始"> <img v-else-if="currentStep < 3" src="@/assets/images/refund-waiting.png" alt="未开始">
</template> </template>
</el-step> </el-step>
@ -271,8 +279,8 @@
<template #icon> <template #icon>
<img v-if="currentStep === 6" src="@/assets/images/refund-rejected.png" alt="已驳回"> <img v-if="currentStep === 6" src="@/assets/images/refund-rejected.png" alt="已驳回">
<img v-else-if="currentStep === 5" src="@/assets/images/refund-approving.png" alt="待审核"> <img v-else-if="currentStep === 5" src="@/assets/images/refund-approving.png" alt="待审核">
<img v-else-if="currentStep > 5 && currentStep != 6" src="@/assets/images/refund-approved.png"
alt="已审核">
<img v-else-if="currentStep > 5 && currentStep != 6"
src="@/assets/images/refund-approved.png" alt="已审核">
<img v-else-if="currentStep < 5" src="@/assets/images/refund-waiting.png" alt="未开始"> <img v-else-if="currentStep < 5" src="@/assets/images/refund-waiting.png" alt="未开始">
</template> </template>
</el-step> </el-step>
@ -298,35 +306,35 @@
</el-dialog> </el-dialog>
<el-dialog v-model="exportListVisible" title="导出列表" width="80%"> <el-dialog v-model="exportListVisible" title="导出列表" width="80%">
<el-table :data="exportList" style="width: 100% ;height: 60vh;" :loading="exportListLoading">
<el-table-column prop="fileName" label="文件名" />
<el-table-column prop="state" label="状态">
<template #default="scope">
<el-tag :type="getTagType(scope.row.state)" :effect="scope.row.state === 3 ? 'light' : 'plain'">
{{ getTagText(scope.row.state) }}
</el-tag>
</template>
</el-table-column>
<el-table-column prop="createTime" label="创建时间">
<template #default="scope">
{{ moment(scope.row.createTime).format('YYYY-MM-DD HH:mm:ss') }}
</template>
</el-table-column>
<el-table-column label="操作">
<template #default="scope">
<el-button type="primary" size="small" @click="downloadExportFile(scope.row)"
:disabled="scope.row.state !== 2">
下载
</el-button>
<el-table :data="exportList" style="width: 100% ;height: 60vh;" :loading="exportListLoading">
<el-table-column prop="fileName" label="文件名" />
<el-table-column prop="state" label="状态">
<template #default="scope">
<el-tag :type="getTagType(scope.row.state)" :effect="scope.row.state === 3 ? 'light' : 'plain'">
{{ getTagText(scope.row.state) }}
</el-tag>
</template>
</el-table-column>
<el-table-column prop="createTime" label="创建时间">
<template #default="scope">
{{ moment(scope.row.createTime).format('YYYY-MM-DD HH:mm:ss') }}
</template>
</el-table-column>
<el-table-column label="操作">
<template #default="scope">
<el-button type="primary" size="small" @click="downloadExportFile(scope.row)"
:disabled="scope.row.state !== 2">
下载
</el-button>
</template>
</el-table-column>
</el-table>
<template #footer>
<div class="dialog-footer">
<el-button text @click="exportListVisible = false">关闭</el-button>
</div>
</template> </template>
</el-table-column>
</el-table>
<template #footer>
<div class="dialog-footer">
<el-button text @click="exportListVisible = false">关闭</el-button>
</div>
</template>
</el-dialog>
</el-dialog>
</template> </template>
<script setup> <script setup>
import { ref, onMounted } from 'vue' import { ref, onMounted } from 'vue'
@ -476,6 +484,11 @@ const getRefund = async function () {
} else { } else {
statuses.value = [20, 22, 30, 32, 40, 41] statuses.value = [20, 22, 30, 32, 40, 41]
} }
if (searchForm.value.goodsName) {
searchForm.value.goodsName = searchForm.value.goodsName[searchForm.value.goodsName.length - 1]
}
const params = { const params = {
pageNum: pagination.value.pageNum, pageNum: pagination.value.pageNum,
pageSize: pagination.value.pageSize, pageSize: pagination.value.pageSize,
@ -483,7 +496,7 @@ const getRefund = async function () {
jwcode: searchForm.value.jwcode,// jwcode: searchForm.value.jwcode,//
name: searchForm.value.name,// name: searchForm.value.name,//
markets: searchForm.value.markets,// markets: searchForm.value.markets,//
goodsNames: searchForm.value.goodsName,//
goodsName: searchForm.value.goodsName,//
statuses: statuses.value,//1012 statuses: statuses.value,//1012
// 2022 // 2022
// 3032 // 3032
@ -520,7 +533,8 @@ const handlePass = async function () {
status: 30, status: 30,
rejectReason: addForm.value.remark, rejectReason: addForm.value.remark,
areaCharge: adminData.value.adminName, areaCharge: adminData.value.adminName,
auditId: auditRow.value.auditId
auditId: auditRow.value.auditId,
relatedId: auditRow.value.relatedId
} }
const result = await API({ const result = await API({
url: '/Money/review', url: '/Money/review',
@ -548,7 +562,8 @@ const handleReject = async function () {
rejectReason: addForm.value.remark, rejectReason: addForm.value.remark,
areaCharge: adminData.value.adminName, areaCharge: adminData.value.adminName,
auditId: auditRow.value.auditId, auditId: auditRow.value.auditId,
orderCode: auditRow.value.orderCode
orderCode: auditRow.value.orderCode,
relatedId: auditRow.value.relatedId
} }
const result = await API({ const result = await API({
url: '/Money/review', url: '/Money/review',
@ -620,103 +635,109 @@ const getMarket = async function () {
} }
const exportExcel = async function () { const exportExcel = async function () {
const statuses = ref([20, 22, 30, 32, 40, 41]) // const statuses = ref([20, 22, 30, 32, 40, 41]) //
if (searchForm.value.statuses === '审核通过') {
statuses.value = [30, 40]
} else if (searchForm.value.statuses === '已驳回') {
statuses.value = [22, 32]
} else if (searchForm.value.statuses === '待审核') {
statuses.value = [20]
} else if (searchForm.value.statuses === '退款成功') {
statuses.value = [41]
} else {
statuses.value = [20, 22, 30, 32, 40, 41]
}
const params = {
pageNum: pagination.value.pageNum,
pageSize: pagination.value.pageSize,
cashRecordDTO: {
jwcode: searchForm.value.jwcode,//
name: searchForm.value.name,//
markets: searchForm.value.markets,//
goodsNames: searchForm.value.goodsName,//
statuses: statuses.value,//1012
// 2022
// 3032
// 4041退
paymentCurrency: searchForm.value.paymentCurrency,//
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') : "",
adminId: adminData.value.id
}
if (searchForm.value.statuses === '审核通过') {
statuses.value = [30, 40]
} else if (searchForm.value.statuses === '已驳回') {
statuses.value = [22, 32]
} else if (searchForm.value.statuses === '待审核') {
statuses.value = [20]
} else if (searchForm.value.statuses === '退款成功') {
statuses.value = [41]
} else {
statuses.value = [20, 22, 30, 32, 40, 41]
}
if (searchForm.value.goodsName) {
searchForm.value.goodsName = searchForm.value.goodsName[searchForm.value.goodsName.length - 1]
}
const params = {
pageNum: pagination.value.pageNum,
pageSize: pagination.value.pageSize,
cashRecordDTO: {
jwcode: searchForm.value.jwcode,//
name: searchForm.value.name,//
markets: searchForm.value.markets,//
goodsName: searchForm.value.goodsName,//
statuses: statuses.value,//1012
// 2022
// 3032
// 4041退
paymentCurrency: searchForm.value.paymentCurrency,//
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') : "",
adminId: adminData.value.id
} }
const res = await API({ url: '/export/exportFinance', data: params })
if (res.code === 200) {
ElMessage.success('导出成功')
}
}
const res = await API({ url: '/export/exportFinance', data: params })
if (res.code === 200) {
ElMessage.success('导出成功')
}
} }
const openExportList = () => { const openExportList = () => {
getExportList()
exportListVisible.value = true
getExportList()
exportListVisible.value = true
} }
const getExportList = async () => { const getExportList = async () => {
exportListLoading.value = true
try {
const result = await API({ url: '/export/export' })
if (result.code === 200) {
const filteredData = result.data.filter(item => {
return item.type === 12
})
exportList.value = filteredData
} else {
ElMessage.error(result.msg || '获取导出列表失败')
exportListLoading.value = true
try {
const result = await API({ url: '/export/export' })
if (result.code === 200) {
const filteredData = result.data.filter(item => {
return item.type === 12
})
exportList.value = filteredData
} else {
ElMessage.error(result.msg || '获取导出列表失败')
}
} catch (error) {
console.error('获取导出列表出错:', error)
ElMessage.error('获取导出列表失败,请稍后重试')
} finally {
exportListLoading.value = false
} }
} catch (error) {
console.error('获取导出列表出错:', error)
ElMessage.error('获取导出列表失败,请稍后重试')
} finally {
exportListLoading.value = false
}
} }
const downloadExportFile = (item) => { const downloadExportFile = (item) => {
if (item.state === 2) {
const link = document.createElement('a')
link.href = item.url
link.download = item.fileName
link.click()
} else {
ElMessage.warning('文件还在导出中,请稍后再试')
}
if (item.state === 2) {
const link = document.createElement('a')
link.href = item.url
link.download = item.fileName
link.click()
} else {
ElMessage.warning('文件还在导出中,请稍后再试')
}
} }
// //
const getTagType = (state) => { const getTagType = (state) => {
switch (state) {
case 0:
return 'info';
case 1:
return 'primary';
case 2:
return 'success';
case 3:
return 'danger';
default:
return 'info';
}
switch (state) {
case 0:
return 'info';
case 1:
return 'primary';
case 2:
return 'success';
case 3:
return 'danger';
default:
return 'info';
}
} }
// //
const getTagText = (state) => { const getTagText = (state) => {
switch (state) {
case 0:
return '待执行';
case 1:
return '执行中';
case 2:
return '执行完成';
case 3:
return '执行出错';
default:
return '未知状态';
}
switch (state) {
case 0:
return '待执行';
case 1:
return '执行中';
case 2:
return '执行完成';
case 3:
return '执行出错';
default:
return '未知状态';
}
} }
const hideReject = function () { const hideReject = function () {
showReject.value = false showReject.value = false
@ -811,7 +832,7 @@ onMounted(() => {
.top { .top {
width: 30vw; width: 30vw;
height: 17vh;
height: 22vh;
.top-item { .top-item {
display: flex; display: flex;

59
src/views/moneyManage/refundDetail/refundFinance.vue

@ -115,6 +115,14 @@
</el-select> </el-select>
</div> </div>
<div class="top-item"> <div class="top-item">
<el-text style="width:4vw;" size="small">永久金币</el-text>
<el-input v-model="auditRow.permanentGold" size="small" style="width:10vw;" disabled />&nbsp;
</div>
<div class="top-item">
<el-text style="width:4vw;" size="small">免费金币</el-text>
<el-input v-model="auditRow.freeGold" size="small" style="width:10vw;" disabled />&nbsp;
</div>
<div class="top-item">
<el-text style="width:4vw;" size="small">退款理由</el-text> <el-text style="width:4vw;" size="small">退款理由</el-text>
<el-input v-model="auditRow.refundReason" size="small" style="width:10vw;" :rows="3" maxlength="100" <el-input v-model="auditRow.refundReason" size="small" style="width:10vw;" :rows="3" maxlength="100"
show-word-limit type="textarea" disabled /> show-word-limit type="textarea" disabled />
@ -136,20 +144,20 @@
<el-input v-model="auditRow.goodsName" size="small" style="width:10vw;" disabled /> <el-input v-model="auditRow.goodsName" size="small" style="width:10vw;" disabled />
</div> </div>
<div class="center-item"> <div class="center-item">
<el-text style="width:4vw;" size="small">付款金额</el-text>
<el-input v-model="auditRow.paymentAmount" size="small" style="width:10vw;" disabled />
<el-text style="width:4vw;" size="small">付款币种</el-text>
<el-input v-model="auditRow.paymentCurrency" size="small" style="width:10vw;" disabled />
</div> </div>
<div class="center-item"> <div class="center-item">
<el-text style="width:4vw;" size="small">到账金额</el-text>
<el-input v-model="auditRow.receivedAmount" size="small" style="width:10vw;" disabled />
<el-text style="width:4vw;" size="small">付款金额</el-text>
<el-input v-model="auditRow.paymentAmount" size="small" style="width:10vw;" disabled />
</div> </div>
<div class="center-item"> <div class="center-item">
<el-text style="width:4vw;" size="small">支付方式</el-text>
<el-input v-model="auditRow.payType" size="small" style="width:10vw;" disabled />
<el-text style="width:4vw;" size="small">付款时间</el-text>
<el-input v-model="auditRow.payTime" size="small" style="width:10vw;" disabled />
</div> </div>
<div class="center-item"> <div class="center-item">
<el-text style="width:4vw;">转账凭证</el-text> <el-text style="width:4vw;">转账凭证</el-text>
<img v-if="auditRow.voucher" :src="auditRow.voucher"
<img v-if="auditRow.payVoucher" :src="auditRow.payVoucher"
style="width: 80px; height: 80px; object-fit: cover;"> style="width: 80px; height: 80px; object-fit: cover;">
<div v-else> <div v-else>
无转账凭证 无转账凭证
@ -166,28 +174,28 @@
<el-input v-model="auditRow.activity" size="small" style="width:10vw;" disabled /> <el-input v-model="auditRow.activity" size="small" style="width:10vw;" disabled />
</div> </div>
<div class="right-item"> <div class="right-item">
<el-text style="width:4vw;" size="small">付款币种</el-text>
<el-input v-model="auditRow.paymentCurrency" size="small" style="width:10vw;" disabled />
<el-text style="width:4vw;" size="small">支付方式</el-text>
<el-input v-model="auditRow.payType" size="small" style="width:10vw;" disabled />
</div> </div>
<div class="right-item"> <div class="right-item">
<el-text style="width:4vw;" size="small">到账币种</el-text> <el-text style="width:4vw;" size="small">到账币种</el-text>
<el-input v-model="auditRow.receivedCurrency" size="small" style="width:10vw;" disabled /> <el-input v-model="auditRow.receivedCurrency" size="small" style="width:10vw;" disabled />
</div> </div>
<div class="right-item"> <div class="right-item">
<el-text style="width:4vw;" size="small">手续费</el-text>
<el-input v-model="auditRow.handlingCharge" size="small" style="width:10vw;" disabled />
<el-text style="width:4vw;" size="small">到账金额</el-text>
<el-input v-model="auditRow.receivedAmount" size="small" style="width:10vw;" disabled />
</div> </div>
<div class="right-item"> <div class="right-item">
<el-text style="width:4vw;" size="small">付款时间</el-text>
<el-input v-model="auditRow.payTime" size="small" style="width:10vw;" disabled />
<el-text style="width:4vw;" size="small">到账时间</el-text>
<el-input v-model="auditRow.receivedTime" size="small" style="width:10vw;" disabled />
</div> </div>
<div class="right-item"> <div class="right-item">
<el-text style="width:4vw;" size="small">提交人</el-text>
<el-input v-model="auditRow.submitter" size="small" style="width:10vw;" disabled />
<el-text style="width:4vw;" size="small">手续费</el-text>
<el-input v-model="auditRow.handlingCharge" size="small" style="width:10vw;" disabled />
</div> </div>
<div class="right-item"> <div class="right-item">
<el-text style="width:4vw;" size="small">到账时间</el-text>
<el-input v-model="auditRow.receivedTime" size="small" style="width:10vw;" disabled />
<el-text style="width:4vw;" size="small">提交人</el-text>
<el-input v-model="auditRow.submitter" size="small" style="width:10vw;" disabled />
</div> </div>
<div class="right-item"> <div class="right-item">
<el-text style="width:4vw;" size="small">备注</el-text> <el-text style="width:4vw;" size="small">备注</el-text>
@ -467,6 +475,11 @@ const getRefund = async function () {
} else { } else {
statusParam.value = [10, 20, 22, 30, 32, 40, 41] statusParam.value = [10, 20, 22, 30, 32, 40, 41]
} }
if (searchForm.value.goodsName) {
searchForm.value.goodsName = searchForm.value.goodsName[searchForm.value.goodsName.length - 1]
}
const params = { const params = {
pageNum: pagination.value.pageNum, pageNum: pagination.value.pageNum,
pageSize: pagination.value.pageSize, pageSize: pagination.value.pageSize,
@ -474,7 +487,7 @@ const getRefund = async function () {
jwcode: searchForm.value.jwcode,// jwcode: searchForm.value.jwcode,//
name: searchForm.value.name,// name: searchForm.value.name,//
markets: searchForm.value.markets,// markets: searchForm.value.markets,//
goodsNames: searchForm.value.goodsName,//
goodsName: searchForm.value.goodsName,//
statuses: statusParam.value,//1012 statuses: statusParam.value,//1012
// 2022 // 2022
// 3032 // 3032
@ -510,7 +523,8 @@ const handlePass = async function () {
id: auditRow.value.id, id: auditRow.value.id,
status: 20, status: 20,
areaFinance: adminData.value.adminName, areaFinance: adminData.value.adminName,
auditId: auditRow.value.auditId
auditId: auditRow.value.auditId,
relatedId: auditRow.value.relatedId
} }
const result = await API({ const result = await API({
url: '/Money/review', url: '/Money/review',
@ -538,7 +552,8 @@ const handleReject = async function () {
rejectReason: addForm.value.remark, rejectReason: addForm.value.remark,
areaFinance: adminData.value.adminName, areaFinance: adminData.value.adminName,
auditId: auditRow.value.auditId, auditId: auditRow.value.auditId,
orderCode: auditRow.value.orderCode
orderCode: auditRow.value.orderCode,
relatedId: auditRow.value.relatedId
} }
const result = await API({ const result = await API({
url: '/Money/review', url: '/Money/review',
@ -699,7 +714,7 @@ const exportExcel = async function () {
jwcode: searchForm.value.jwcode,// jwcode: searchForm.value.jwcode,//
name: searchForm.value.name,// name: searchForm.value.name,//
markets: searchForm.value.markets,// markets: searchForm.value.markets,//
goodsNames: searchForm.value.goodsName,//
goodsName: searchForm.value.goodsName[searchForm.value.goodsName.length - 1],//
statuses: statusParam.value,//1012 statuses: statusParam.value,//1012
// 2022 // 2022
// 3032 // 3032
@ -865,7 +880,7 @@ onMounted(() => {
.top { .top {
width: 30vw; width: 30vw;
height: 17vh;
height: 22vh;
.top-item { .top-item {
display: flex; display: flex;

296
src/views/moneyManage/refundDetail/refundHeader.vue

@ -23,7 +23,7 @@
<div class="item1"> <div class="item1">
<el-text size="large" style="width:4vw;">订单状态</el-text> <el-text size="large" style="width:4vw;">订单状态</el-text>
<el-select v-model="searchForm.statuses" style="width:9vw;" placeholder="请选择订单状态" clearable> <el-select v-model="searchForm.statuses" style="width:9vw;" placeholder="请选择订单状态" clearable>
<el-option v-for="item in statusList" :label="item" :value="item" :key="item" />
<el-option v-for="item in statusList" :label="item" :value="item" :key="item" />
</el-select> </el-select>
</div> </div>
</div> </div>
@ -80,9 +80,9 @@
<template #default="scope"> <template #default="scope">
{{ {{
[30].includes(scope.row.status) ? '待审核' : [30].includes(scope.row.status) ? '待审核' :
[40].includes(scope.row.status) ? '审核通过' :
scope.row.status === 32 ? '已驳回' :
scope.row.status === 41 ? '退款成功' : scope.row.status
[40].includes(scope.row.status) ? '审核通过' :
scope.row.status === 32 ? '已驳回' :
scope.row.status === 41 ? '退款成功' : scope.row.status
}} }}
</template> </template>
</el-table-column> </el-table-column>
@ -116,9 +116,17 @@
</el-select> </el-select>
</div> </div>
<div class="top-item"> <div class="top-item">
<el-text style="width:4vw;" size="small">永久金币</el-text>
<el-input v-model="auditRow.permanentGold" size="small" style="width:10vw;" disabled />&nbsp;
</div>
<div class="top-item">
<el-text style="width:4vw;" size="small">免费金币</el-text>
<el-input v-model="auditRow.freeGold" size="small" style="width:10vw;" disabled />&nbsp;
</div>
<div class="top-item">
<el-text style="width:4vw;" size="small">退款理由</el-text> <el-text style="width:4vw;" size="small">退款理由</el-text>
<el-input v-model="auditRow.refundReason" size="small" style="width:10vw;"
:rows="3" maxlength="100" show-word-limit type="textarea" disabled />
<el-input v-model="auditRow.refundReason" size="small" style="width:10vw;" :rows="3" maxlength="100"
show-word-limit type="textarea" disabled />
</div> </div>
</div> </div>
<el-button @click="" class="smallTitle" size="small">原订单信息</el-button> <el-button @click="" class="smallTitle" size="small">原订单信息</el-button>
@ -138,20 +146,20 @@
<el-input v-model="auditRow.marketName" size="small" style="width:10vw;" disabled /> <el-input v-model="auditRow.marketName" size="small" style="width:10vw;" disabled />
</div> </div>
<div class="center-item"> <div class="center-item">
<el-text style="width:4vw;" size="small">付款金额</el-text>
<el-input v-model="auditRow.paymentAmount" size="small" style="width:10vw;" disabled />
<el-text style="width:4vw;" size="small">付款币种</el-text>
<el-input v-model="auditRow.paymentCurrency" size="small" style="width:10vw;" disabled />
</div> </div>
<div class="center-item"> <div class="center-item">
<el-text style="width:4vw;" size="small">到账金额</el-text>
<el-input v-model="auditRow.receivedAmount" size="small" style="width:10vw;" disabled />
<el-text style="width:4vw;" size="small">付款金额</el-text>
<el-input v-model="auditRow.paymentAmount" size="small" style="width:10vw;" disabled />
</div> </div>
<div class="center-item"> <div class="center-item">
<el-text style="width:4vw;" size="small">支付方式</el-text>
<el-input v-model="auditRow.payType" size="small" style="width:10vw;" disabled />
<el-text style="width:4vw;" size="small">付款时间</el-text>
<el-input v-model="auditRow.payTime" size="small" style="width:10vw;" disabled />
</div> </div>
<div class="center-item"> <div class="center-item">
<el-text style="width:4vw;">转账凭证</el-text> <el-text style="width:4vw;">转账凭证</el-text>
<img v-if="auditRow.voucher" :src="auditRow.voucher"
<img v-if="auditRow.payVoucher" :src="auditRow.payVoucher"
style="width: 80px; height: 80px; object-fit: cover;"> style="width: 80px; height: 80px; object-fit: cover;">
<div v-else> <div v-else>
无转账凭证 无转账凭证
@ -168,28 +176,28 @@
<el-input v-model="auditRow.activity" size="small" style="width:10vw;" disabled /> <el-input v-model="auditRow.activity" size="small" style="width:10vw;" disabled />
</div> </div>
<div class="right-item"> <div class="right-item">
<el-text style="width:4vw;" size="small">付款币种</el-text>
<el-input v-model="auditRow.paymentCurrency" size="small" style="width:10vw;" disabled />
<el-text style="width:4vw;" size="small">支付方式</el-text>
<el-input v-model="auditRow.payType" size="small" style="width:10vw;" disabled />
</div> </div>
<div class="right-item"> <div class="right-item">
<el-text style="width:4vw;" size="small">到账币种</el-text> <el-text style="width:4vw;" size="small">到账币种</el-text>
<el-input v-model="auditRow.receivedCurrency" size="small" style="width:10vw;" disabled /> <el-input v-model="auditRow.receivedCurrency" size="small" style="width:10vw;" disabled />
</div> </div>
<div class="right-item"> <div class="right-item">
<el-text style="width:4vw;" size="small">手续费</el-text>
<el-input v-model="auditRow.handlingCharge" size="small" style="width:10vw;" disabled />
<el-text style="width:4vw;" size="small">到账金额</el-text>
<el-input v-model="auditRow.receivedAmount" size="small" style="width:10vw;" disabled />
</div> </div>
<div class="right-item"> <div class="right-item">
<el-text style="width:4vw;" size="small">付款时间</el-text>
<el-input v-model="auditRow.payTime" size="small" style="width:10vw;" disabled />
<el-text style="width:4vw;" size="small">到账时间</el-text>
<el-input v-model="auditRow.receivedTime" size="small" style="width:10vw;" disabled />
</div> </div>
<div class="right-item"> <div class="right-item">
<el-text style="width:4vw;" size="small">提交人</el-text>
<el-input v-model="auditRow.submitter" size="small" style="width:10vw;" disabled />
<el-text style="width:4vw;" size="small">手续费</el-text>
<el-input v-model="auditRow.handlingCharge" size="small" style="width:10vw;" disabled />
</div> </div>
<div class="right-item"> <div class="right-item">
<el-text style="width:4vw;" size="small">到账时间</el-text>
<el-input v-model="auditRow.receivedTime" size="small" style="width:10vw;" disabled />
<el-text style="width:4vw;" size="small">提交人</el-text>
<el-input v-model="auditRow.submitter" size="small" style="width:10vw;" disabled />
</div> </div>
<div class="right-item"> <div class="right-item">
<el-text style="width:4vw;" size="small">备注</el-text> <el-text style="width:4vw;" size="small">备注</el-text>
@ -234,7 +242,7 @@
<div class="steps"> <div class="steps">
<div class="steps-content"> <div class="steps-content">
<el-steps :active="currentStep" align-center> <el-steps :active="currentStep" align-center>
<el-step v-if="false">
<el-step>
<template #title> <template #title>
<div> <div>
提交人<br>{{ submitter || '未知提交人' }} 提交人<br>{{ submitter || '未知提交人' }}
@ -267,7 +275,8 @@
<template #icon> <template #icon>
<img v-if="currentStep === 4" src="@/assets/images/refund-rejected.png" alt="已驳回"> <img v-if="currentStep === 4" src="@/assets/images/refund-rejected.png" alt="已驳回">
<img v-else-if="currentStep === 3" src="@/assets/images/refund-approving.png" alt="待审核"> <img v-else-if="currentStep === 3" src="@/assets/images/refund-approving.png" alt="待审核">
<img v-else-if="currentStep > 3 && currentStep != 4" src="@/assets/images/refund-approved.png" alt="已审核">
<img v-else-if="currentStep > 3 && currentStep != 4"
src="@/assets/images/refund-approved.png" alt="已审核">
<img v-else-if="currentStep < 3" src="@/assets/images/refund-waiting.png" alt="未开始"> <img v-else-if="currentStep < 3" src="@/assets/images/refund-waiting.png" alt="未开始">
</template> </template>
</el-step> </el-step>
@ -281,7 +290,8 @@
<template #icon> <template #icon>
<img v-if="currentStep === 6" src="@/assets/images/refund-rejected.png" alt="已驳回"> <img v-if="currentStep === 6" src="@/assets/images/refund-rejected.png" alt="已驳回">
<img v-else-if="currentStep === 5" src="@/assets/images/refund-approving.png" alt="待审核"> <img v-else-if="currentStep === 5" src="@/assets/images/refund-approving.png" alt="待审核">
<img v-else-if="currentStep > 5 && currentStep != 6" src="@/assets/images/refund-approved.png" alt="已审核">
<img v-else-if="currentStep > 5 && currentStep != 6"
src="@/assets/images/refund-approved.png" alt="已审核">
<img v-else-if="currentStep < 5" src="@/assets/images/refund-waiting.png" alt="未开始"> <img v-else-if="currentStep < 5" src="@/assets/images/refund-waiting.png" alt="未开始">
</template> </template>
</el-step> </el-step>
@ -307,35 +317,35 @@
</el-dialog> </el-dialog>
<el-dialog v-model="exportListVisible" title="导出列表" width="80%"> <el-dialog v-model="exportListVisible" title="导出列表" width="80%">
<el-table :data="exportList" style="width: 100% ;height: 60vh;" :loading="exportListLoading">
<el-table-column prop="fileName" label="文件名" />
<el-table-column prop="state" label="状态">
<template #default="scope">
<el-tag :type="getTagType(scope.row.state)" :effect="scope.row.state === 3 ? 'light' : 'plain'">
{{ getTagText(scope.row.state) }}
</el-tag>
</template>
</el-table-column>
<el-table-column prop="createTime" label="创建时间">
<template #default="scope">
{{ moment(scope.row.createTime).format('YYYY-MM-DD HH:mm:ss') }}
</template>
</el-table-column>
<el-table-column label="操作">
<template #default="scope">
<el-button type="primary" size="small" @click="downloadExportFile(scope.row)"
:disabled="scope.row.state !== 2">
下载
</el-button>
<el-table :data="exportList" style="width: 100% ;height: 60vh;" :loading="exportListLoading">
<el-table-column prop="fileName" label="文件名" />
<el-table-column prop="state" label="状态">
<template #default="scope">
<el-tag :type="getTagType(scope.row.state)" :effect="scope.row.state === 3 ? 'light' : 'plain'">
{{ getTagText(scope.row.state) }}
</el-tag>
</template>
</el-table-column>
<el-table-column prop="createTime" label="创建时间">
<template #default="scope">
{{ moment(scope.row.createTime).format('YYYY-MM-DD HH:mm:ss') }}
</template>
</el-table-column>
<el-table-column label="操作">
<template #default="scope">
<el-button type="primary" size="small" @click="downloadExportFile(scope.row)"
:disabled="scope.row.state !== 2">
下载
</el-button>
</template>
</el-table-column>
</el-table>
<template #footer>
<div class="dialog-footer">
<el-button text @click="exportListVisible = false">关闭</el-button>
</div>
</template> </template>
</el-table-column>
</el-table>
<template #footer>
<div class="dialog-footer">
<el-button text @click="exportListVisible = false">关闭</el-button>
</div>
</template>
</el-dialog>
</el-dialog>
</template> </template>
<script setup> <script setup>
import BackgroundSvg from '@/assets/images/refund-progress.png' import BackgroundSvg from '@/assets/images/refund-progress.png'
@ -533,6 +543,10 @@ const getRefund = async function () {
statusParam.value = [30, 32, 40, 41] statusParam.value = [30, 32, 40, 41]
} }
if (searchForm.value.goodsName) {
searchForm.value.goodsName = searchForm.value.goodsName[searchForm.value.goodsName.length - 1]
}
const params = { const params = {
pageNum: pagination.value.pageNum, pageNum: pagination.value.pageNum,
pageSize: pagination.value.pageSize, pageSize: pagination.value.pageSize,
@ -540,7 +554,7 @@ const getRefund = async function () {
jwcode: searchForm.value.jwcode, jwcode: searchForm.value.jwcode,
name: searchForm.value.name, name: searchForm.value.name,
markets: searchForm.value.markets, markets: searchForm.value.markets,
goodsNames: searchForm.value.goodsName,
goodsName: searchForm.value.goodsName,
statuses: statusParam.value, statuses: statusParam.value,
paymentCurrency: searchForm.value.paymentCurrency, paymentCurrency: searchForm.value.paymentCurrency,
payType: searchForm.value.payType, payType: searchForm.value.payType,
@ -660,103 +674,107 @@ const hideReject = function () {
} }
const exportExcel = async function () { const exportExcel = async function () {
const statusParam = ref([30, 32, 40, 41])// const statusParam = ref([30, 32, 40, 41])//
if (searchForm.value.statuses === '待审核') {
statusParam.value = [30]
} else if (searchForm.value.statuses === '审核通过') {
statusParam.value = [40]
} else if (searchForm.value.statuses === '已驳回') {
statusParam.value = [32]
} else if (searchForm.value.statuses === '退款成功') {
statusParam.value = [41]
} else {
statusParam.value = [30, 32, 40, 41]
}
if (searchForm.value.statuses === '待审核') {
statusParam.value = [30]
} else if (searchForm.value.statuses === '审核通过') {
statusParam.value = [40]
} else if (searchForm.value.statuses === '已驳回') {
statusParam.value = [32]
} else if (searchForm.value.statuses === '退款成功') {
statusParam.value = [41]
} else {
statusParam.value = [30, 32, 40, 41]
}
const params = {
pageNum: pagination.value.pageNum,
pageSize: pagination.value.pageSize,
cashRecordDTO: {
jwcode: searchForm.value.jwcode,
name: searchForm.value.name,
markets: searchForm.value.markets,
goodsNames: searchForm.value.goodsName,
statuses: statusParam.value,
paymentCurrency: searchForm.value.paymentCurrency,
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') : "",
adminId: adminData.value.id
}
if (searchForm.value.goodsName) {
searchForm.value.goodsName = searchForm.value.goodsName[searchForm.value.goodsName.length - 1]
}
const params = {
pageNum: pagination.value.pageNum,
pageSize: pagination.value.pageSize,
cashRecordDTO: {
jwcode: searchForm.value.jwcode,
name: searchForm.value.name,
markets: searchForm.value.markets,
goodsName: searchForm.value.goodsName,
statuses: statusParam.value,
paymentCurrency: searchForm.value.paymentCurrency,
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') : "",
adminId: adminData.value.id
} }
}
const res = await API({ url: '/export/exportFinance', data: params })
if (res.code === 200) {
ElMessage.success('导出成功')
}else{
ElMessage.error(res.msg || '导出失败')
}
const res = await API({ url: '/export/exportFinance', data: params })
if (res.code === 200) {
ElMessage.success('导出成功')
} else {
ElMessage.error(res.msg || '导出失败')
}
} }
const openExportList = () => { const openExportList = () => {
getExportList()
exportListVisible.value = true
getExportList()
exportListVisible.value = true
} }
const getExportList = async () => { const getExportList = async () => {
exportListLoading.value = true
try {
const result = await API({ url: '/export/export' })
if (result.code === 200) {
const filteredData = result.data.filter(item => {
return item.type === 12
})
exportList.value = filteredData
} else {
ElMessage.error(result.msg || '获取导出列表失败')
}
} catch (error) {
console.error('获取导出列表出错:', error)
ElMessage.error('获取导出列表失败,请稍后重试')
} finally {
exportListLoading.value = false
}
exportListLoading.value = true
try {
const result = await API({ url: '/export/export' })
if (result.code === 200) {
const filteredData = result.data.filter(item => {
return item.type === 12
})
exportList.value = filteredData
} else {
ElMessage.error(result.msg || '获取导出列表失败')
}
} catch (error) {
console.error('获取导出列表出错:', error)
ElMessage.error('获取导出列表失败,请稍后重试')
} finally {
exportListLoading.value = false
}
} }
const downloadExportFile = (item) => { const downloadExportFile = (item) => {
if (item.state === 2) {
const link = document.createElement('a')
link.href = item.url
link.download = item.fileName
link.click()
} else {
ElMessage.warning('文件还在导出中,请稍后再试')
}
if (item.state === 2) {
const link = document.createElement('a')
link.href = item.url
link.download = item.fileName
link.click()
} else {
ElMessage.warning('文件还在导出中,请稍后再试')
}
} }
const getTagType = (state) => { const getTagType = (state) => {
switch (state) {
case 0:
return 'info';
case 1:
return 'primary';
case 2:
return 'success';
case 3:
return 'danger';
default:
return 'info';
}
switch (state) {
case 0:
return 'info';
case 1:
return 'primary';
case 2:
return 'success';
case 3:
return 'danger';
default:
return 'info';
}
} }
// //
const getTagText = (state) => { const getTagText = (state) => {
switch (state) {
case 0:
return '待执行';
case 1:
return '执行中';
case 2:
return '执行完成';
case 3:
return '执行出错';
default:
return '未知状态';
}
switch (state) {
case 0:
return '待执行';
case 1:
return '执行中';
case 2:
return '执行完成';
case 3:
return '执行出错';
default:
return '未知状态';
}
} }
const reset = function () { const reset = function () {
searchForm.value = { searchForm.value = {
@ -875,7 +893,7 @@ onMounted(() => {
.top { .top {
width: 30vw; width: 30vw;
height: 17vh;
height: 22vh;
.top-item { .top-item {
display: flex; display: flex;

25
src/views/moneyManage/refundDetail/refundService.vue

@ -182,16 +182,14 @@
<el-radio value="1">部分退款</el-radio> <el-radio value="1">部分退款</el-radio>
</el-radio-group> </el-radio-group>
</div> </div>
<div class="add-item"
v-show="editRow.goodsName === '金币充值' && editForm.refundModel === '1'">
<el-text style="width:4vw;">永久金币</el-text>
<el-input v-model="editForm.partRefundGold" style="width:5vw;" />&nbsp;&nbsp;
</div>
<div class="add-item"
v-show="editRow.goodsName === '金币充值' && editForm.refundModel === '1'">
<el-text style="width:4vw;">免费金币</el-text>
<el-input v-model="editForm.partRefundFree" style="width:5vw;" />&nbsp;&nbsp;
</div>
<div class="add-item" v-show="editRow.goodsName === '金币充值' && editForm.refundModel === '1'">
<el-text style="width:4vw;">永久金币</el-text>
<el-input v-model="editForm.partRefundGold" style="width:5vw;" />&nbsp;&nbsp;
</div>
<div class="add-item" v-show="editRow.goodsName === '金币充值' && editForm.refundModel === '1'">
<el-text style="width:4vw;">免费金币</el-text>
<el-input v-model="editForm.partRefundFree" style="width:5vw;" />&nbsp;&nbsp;
</div>
<div class="add-item"> <div class="add-item">
<el-text style="width:4vw;">退款理由</el-text> <el-text style="width:4vw;">退款理由</el-text>
<el-input v-model="editForm.refundReason" style="width:10vw;" :rows="5" maxlength="150" <el-input v-model="editForm.refundReason" style="width:10vw;" :rows="5" maxlength="150"
@ -284,6 +282,11 @@ const getRefund = async function () {
} else if (searchForm.value.statuses === '已驳回') { } else if (searchForm.value.statuses === '已驳回') {
statusParam.value = [12, 22, 32] statusParam.value = [12, 22, 32]
} }
if (searchForm.value.goodsName) {
searchForm.value.goodsName = searchForm.value.goodsName[searchForm.value.goodsName.length - 1]
}
const params = { const params = {
pageNum: pagination.value.pageNum, pageNum: pagination.value.pageNum,
pageSize: pagination.value.pageSize, pageSize: pagination.value.pageSize,
@ -291,7 +294,7 @@ const getRefund = async function () {
jwcode: searchForm.value.jwcode,// jwcode: searchForm.value.jwcode,//
name: searchForm.value.name,// name: searchForm.value.name,//
markets: searchForm.value.market,// markets: searchForm.value.market,//
goodsNames: searchForm.value.goodsName,//
goodsName: searchForm.value.goodsName,//
statuses: statusParam.value,//1012 statuses: statusParam.value,//1012
// 2022 // 2022
// 3032 // 3032

Loading…
Cancel
Save