|
|
@ -11,15 +11,15 @@ |
|
|
<el-input v-model="searchForm.name" placeholder="请输入客户姓名" style="width:9vw;" clearable /> |
|
|
<el-input v-model="searchForm.name" placeholder="请输入客户姓名" style="width:9vw;" clearable /> |
|
|
</div> |
|
|
</div> |
|
|
<div class="item1"> |
|
|
<div class="item1"> |
|
|
|
|
|
<el-text size="large" style="width:4vw;">产品名称</el-text> |
|
|
|
|
|
<el-cascader v-model="searchForm.goodsName" :options="productList" style="width: 10vw;" clearable /> |
|
|
|
|
|
</div> |
|
|
|
|
|
<div class="item1"> |
|
|
<el-text size="large" style="width:4vw;">所属地区</el-text> |
|
|
<el-text size="large" style="width:4vw;">所属地区</el-text> |
|
|
<el-cascader style="width: 9vw;" v-model="searchForm.markets" :options="market" placeholder="请选择所属地区" |
|
|
<el-cascader style="width: 9vw;" v-model="searchForm.markets" :options="market" placeholder="请选择所属地区" |
|
|
clearable @change="handleMarketChange" /> |
|
|
clearable @change="handleMarketChange" /> |
|
|
</div> |
|
|
</div> |
|
|
<div class="item1"> |
|
|
<div class="item1"> |
|
|
<el-text size="large" style="width:4vw;">产品名称</el-text> |
|
|
|
|
|
<el-cascader v-model="searchForm.goodsName" :options="productList" style="width: 10vw;" clearable /> |
|
|
|
|
|
</div> |
|
|
|
|
|
<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;" clearable> |
|
|
<el-select v-model="searchForm.statuses" style="width:9vw;" 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" /> |
|
|
@ -57,7 +57,11 @@ |
|
|
|
|
|
|
|
|
<el-card style="margin-top: 0.5vh;background-color: rgb(231,244,253);"> |
|
|
<el-card style="margin-top: 0.5vh;background-color: rgb(231,244,253);"> |
|
|
<el-table :data="tableData" style="height:73vh;width:82vw"> |
|
|
<el-table :data="tableData" style="height:73vh;width:82vw"> |
|
|
<el-table-column type="index" label="序号" width="60" fixed="left" /> |
|
|
|
|
|
|
|
|
<el-table-column type="index" label="序号" width="60" fixed="left"> |
|
|
|
|
|
<template #default="scope"> |
|
|
|
|
|
{{ scope.$index + 1 + (pagination.pageNum - 1) * pagination.pageSize }} |
|
|
|
|
|
</template> |
|
|
|
|
|
</el-table-column> |
|
|
<el-table-column prop="jwcode" label="Homily ID" width="120" fixed="left" /> |
|
|
<el-table-column prop="jwcode" label="Homily ID" width="120" fixed="left" /> |
|
|
<el-table-column prop="name" label="姓名" width="120" fixed="left" show-overflow-tooltip /> |
|
|
<el-table-column prop="name" label="姓名" width="120" fixed="left" show-overflow-tooltip /> |
|
|
<el-table-column prop="marketName" label="所属地区" width="120" /> |
|
|
<el-table-column prop="marketName" label="所属地区" width="120" /> |
|
|
@ -251,7 +255,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> |
|
|
@ -265,7 +270,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> |
|
|
@ -333,7 +339,7 @@ const adminStore = useAdminStore() |
|
|
const { adminData, menuTree } = storeToRefs(adminStore) |
|
|
const { adminData, menuTree } = storeToRefs(adminStore) |
|
|
import { permissionMapping, findMenuById, hasMenuPermission } from "@/utils/menuTreePermission.js" |
|
|
import { permissionMapping, findMenuById, hasMenuPermission } from "@/utils/menuTreePermission.js" |
|
|
import moment from 'moment' |
|
|
import moment from 'moment' |
|
|
|
|
|
|
|
|
|
|
|
import { productList } from '@/views/moneyManage/receiveDetail/utils/staticData.js' |
|
|
import RefundFinanceBackground from '@/assets/images/refund-progress.png' |
|
|
import RefundFinanceBackground from '@/assets/images/refund-progress.png' |
|
|
|
|
|
|
|
|
const currentStep = ref(0)// 进度图 |
|
|
const currentStep = ref(0)// 进度图 |
|
|
@ -441,7 +447,7 @@ const statusStepMap = { |
|
|
40: [7, false], |
|
|
40: [7, false], |
|
|
41: [8, false] |
|
|
41: [8, false] |
|
|
} |
|
|
} |
|
|
const statusList = ref(['待审核','审核通过','已驳回','退款成功']) |
|
|
|
|
|
|
|
|
const statusList = ref(['待审核', '审核通过', '已驳回', '退款成功']) |
|
|
// 查全部 |
|
|
// 查全部 |
|
|
const getRefund = async function () { |
|
|
const getRefund = async function () { |
|
|
if (!hasMenuPermission(menuTree.value, permissionMapping.view_area_finance_refund)) { |
|
|
if (!hasMenuPermission(menuTree.value, permissionMapping.view_area_finance_refund)) { |
|
|
@ -449,7 +455,7 @@ const getRefund = async function () { |
|
|
return |
|
|
return |
|
|
} |
|
|
} |
|
|
try { |
|
|
try { |
|
|
const statusParam = ref([10,20,22,30,32,40,41]) |
|
|
|
|
|
|
|
|
const statusParam = ref([10, 20, 22, 30, 32, 40, 41]) |
|
|
if (searchForm.value.statuses === '审核通过') { |
|
|
if (searchForm.value.statuses === '审核通过') { |
|
|
statusParam.value = [20, 30, 40] |
|
|
statusParam.value = [20, 30, 40] |
|
|
} else if (searchForm.value.statuses === '已驳回') { |
|
|
} else if (searchForm.value.statuses === '已驳回') { |
|
|
@ -459,7 +465,7 @@ const getRefund = async function () { |
|
|
} else if (searchForm.value.statuses === '退款成功') { |
|
|
} else if (searchForm.value.statuses === '退款成功') { |
|
|
statusParam.value = [41] |
|
|
statusParam.value = [41] |
|
|
} else { |
|
|
} else { |
|
|
statusParam.value = [10,20,22,30,32,40,41] |
|
|
|
|
|
|
|
|
statusParam.value = [10, 20, 22, 30, 32, 40, 41] |
|
|
} |
|
|
} |
|
|
const params = { |
|
|
const params = { |
|
|
pageNum: pagination.value.pageNum, |
|
|
pageNum: pagination.value.pageNum, |
|
|
@ -620,135 +626,6 @@ const channelOptions = ref([{ |
|
|
label: 'Ipay88-链接收款' |
|
|
label: 'Ipay88-链接收款' |
|
|
} |
|
|
} |
|
|
]) |
|
|
]) |
|
|
const productList = [ |
|
|
|
|
|
{ |
|
|
|
|
|
"value": "金币产品", |
|
|
|
|
|
"label": "金币产品", |
|
|
|
|
|
"children": [ |
|
|
|
|
|
{ |
|
|
|
|
|
"value": "金币充值", |
|
|
|
|
|
"label": "金币充值", |
|
|
|
|
|
} |
|
|
|
|
|
] |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
"value": "软件产品", |
|
|
|
|
|
"label": "软件产品", |
|
|
|
|
|
"children": [ |
|
|
|
|
|
{ |
|
|
|
|
|
"value": "美股", |
|
|
|
|
|
"label": "美股", |
|
|
|
|
|
"children": [ |
|
|
|
|
|
{ |
|
|
|
|
|
"value": "美股软件", |
|
|
|
|
|
"label": "美股软件" |
|
|
|
|
|
} |
|
|
|
|
|
] |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
"value": "港股", |
|
|
|
|
|
"label": "港股", |
|
|
|
|
|
"children": [ |
|
|
|
|
|
{ |
|
|
|
|
|
"value": "港股软件", |
|
|
|
|
|
"label": "港股软件" |
|
|
|
|
|
} |
|
|
|
|
|
] |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
"value": "A股", |
|
|
|
|
|
"label": "A股", |
|
|
|
|
|
"children": [ |
|
|
|
|
|
{ |
|
|
|
|
|
"value": "A股软件", |
|
|
|
|
|
"label": "A股软件" |
|
|
|
|
|
} |
|
|
|
|
|
] |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
"value": "新加坡股", |
|
|
|
|
|
"label": "新加坡股", |
|
|
|
|
|
"children": [ |
|
|
|
|
|
{ |
|
|
|
|
|
"value": "新加坡股软件", |
|
|
|
|
|
"label": "新加坡股软件" |
|
|
|
|
|
} |
|
|
|
|
|
] |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
"value": "马股", |
|
|
|
|
|
"label": "马股", |
|
|
|
|
|
"children": [ |
|
|
|
|
|
{ |
|
|
|
|
|
"value": "马股软件", |
|
|
|
|
|
"label": "马股软件" |
|
|
|
|
|
} |
|
|
|
|
|
] |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
"value": "日本股", |
|
|
|
|
|
"label": "日本股", |
|
|
|
|
|
"children": [ |
|
|
|
|
|
{ |
|
|
|
|
|
"value": "日本股软件", |
|
|
|
|
|
"label": "日本股软件" |
|
|
|
|
|
} |
|
|
|
|
|
] |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
"value": "泰股", |
|
|
|
|
|
"label": "泰股", |
|
|
|
|
|
"children": [ |
|
|
|
|
|
{ |
|
|
|
|
|
"value": "泰股软件", |
|
|
|
|
|
"label": "泰股软件" |
|
|
|
|
|
} |
|
|
|
|
|
] |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
"value": "越南股", |
|
|
|
|
|
"label": "越南股", |
|
|
|
|
|
"children": [ |
|
|
|
|
|
{ |
|
|
|
|
|
"value": "越南股软件", |
|
|
|
|
|
"label": "越南股软件" |
|
|
|
|
|
} |
|
|
|
|
|
] |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
"value": "印尼股", |
|
|
|
|
|
"label": "印尼股", |
|
|
|
|
|
"children": [ |
|
|
|
|
|
{ |
|
|
|
|
|
"value": "印尼股软件", |
|
|
|
|
|
"label": "印尼股软件" |
|
|
|
|
|
} |
|
|
|
|
|
] |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
"value": "韩国股", |
|
|
|
|
|
"label": "韩国股", |
|
|
|
|
|
"children": [ |
|
|
|
|
|
{ |
|
|
|
|
|
"value": "韩国股软件", |
|
|
|
|
|
"label": "韩国股软件" |
|
|
|
|
|
} |
|
|
|
|
|
] |
|
|
|
|
|
}, |
|
|
|
|
|
{ |
|
|
|
|
|
"value": "台湾股", |
|
|
|
|
|
"label": "台湾股", |
|
|
|
|
|
"children": [ |
|
|
|
|
|
{ |
|
|
|
|
|
"value": "台湾股软件", |
|
|
|
|
|
"label": "台湾股软件" |
|
|
|
|
|
} |
|
|
|
|
|
] |
|
|
|
|
|
} |
|
|
|
|
|
] |
|
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
|
] |
|
|
|
|
|
const getMarket = async function () { |
|
|
const getMarket = async function () { |
|
|
try { |
|
|
try { |
|
|
const result = await API({ |
|
|
const result = await API({ |
|
|
@ -803,7 +680,7 @@ const showStep = function (row) { |
|
|
showSteps.value = true |
|
|
showSteps.value = true |
|
|
} |
|
|
} |
|
|
const exportExcel = async function () { |
|
|
const exportExcel = async function () { |
|
|
const statusParam = ref([10,20,22,30,32,40,41]) |
|
|
|
|
|
|
|
|
const statusParam = ref([10, 20, 22, 30, 32, 40, 41]) |
|
|
if (searchForm.value.statuses === '审核通过') { |
|
|
if (searchForm.value.statuses === '审核通过') { |
|
|
statusParam.value = [20, 30, 40] |
|
|
statusParam.value = [20, 30, 40] |
|
|
} else if (searchForm.value.statuses === '已驳回') { |
|
|
} else if (searchForm.value.statuses === '已驳回') { |
|
|
@ -813,7 +690,7 @@ const exportExcel = async function () { |
|
|
} else if (searchForm.value.statuses === '退款成功') { |
|
|
} else if (searchForm.value.statuses === '退款成功') { |
|
|
statusParam.value = [41] |
|
|
statusParam.value = [41] |
|
|
} else { |
|
|
} else { |
|
|
statusParam.value = [10,20,22,30,32,40,41] |
|
|
|
|
|
|
|
|
statusParam.value = [10, 20, 22, 30, 32, 40, 41] |
|
|
} |
|
|
} |
|
|
const params = { |
|
|
const params = { |
|
|
pageNum: pagination.value.pageNum, |
|
|
pageNum: pagination.value.pageNum, |
|
|
@ -838,7 +715,7 @@ const exportExcel = async function () { |
|
|
const res = await API({ url: '/export/exportFinance', data: params }) |
|
|
const res = await API({ url: '/export/exportFinance', data: params }) |
|
|
if (res.code === 200) { |
|
|
if (res.code === 200) { |
|
|
ElMessage.success('导出成功') |
|
|
ElMessage.success('导出成功') |
|
|
}else{ |
|
|
|
|
|
|
|
|
} else { |
|
|
ElMessage.error(res.msg || '导出失败') |
|
|
ElMessage.error(res.msg || '导出失败') |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
|