|
|
|
@ -1,6 +1,6 @@ |
|
|
|
<!-- 各地财务 --> |
|
|
|
<template> |
|
|
|
<el-card style="margin-bottom: 0.5vh;"> |
|
|
|
<el-card style="margin-bottom: 0.5vh;background-color: rgb(243,250,254);"> |
|
|
|
<div class="condition"> |
|
|
|
<div class="item1"> |
|
|
|
<el-text size="large" style="width:4vw;">精网号</el-text> |
|
|
|
@ -28,11 +28,16 @@ |
|
|
|
<div class="condition"> |
|
|
|
<div class="item2"> |
|
|
|
<el-text size="large" style="width:4vw;">付款币种</el-text> |
|
|
|
<el-input v-model="searchForm.payCurrency" placeholder="请输入付款币种" style="width:9vw;" clearable /> |
|
|
|
<el-select v-model="searchForm.paymentCurrency" style="width:9vw;"> |
|
|
|
<el-option v-for="item in currencies" :key="item.value" :label="item.label" :value="item.value" /> |
|
|
|
</el-select> |
|
|
|
</div> |
|
|
|
<div class="item2"> |
|
|
|
<el-text size="large" style="width:4vw;">支付方式</el-text> |
|
|
|
<el-input v-model="searchForm.payType" placeholder="请输入支付方式" style="width:9vw;" clearable /> |
|
|
|
<el-select v-model="searchForm.payType" style="width:9vw;"> |
|
|
|
<el-option v-for="item in channelOptions" :key="item.value" :label="item.label" |
|
|
|
:value="item.value" /> |
|
|
|
</el-select> |
|
|
|
</div> |
|
|
|
<div class="item2" style="width: 28.5vw;"> |
|
|
|
<el-text size="large" style="width:4vw;">付款时间</el-text> |
|
|
|
@ -49,7 +54,7 @@ |
|
|
|
</div> |
|
|
|
</el-card> |
|
|
|
|
|
|
|
<el-card style="margin-top: 0.5vh;"> |
|
|
|
<el-card style="margin-top: 0.5vh;background-color: rgb(231,244,253);"> |
|
|
|
<el-table :data="tableData" style="height:64vh;width:82vw"> |
|
|
|
<el-table-column type="index" label="序号" width="60" fixed="left" /> |
|
|
|
<el-table-column prop="jwcode" label="Homily ID" width="120" fixed="left" /> |
|
|
|
@ -144,7 +149,8 @@ |
|
|
|
</div> |
|
|
|
<div class="center-item"> |
|
|
|
<el-text style="width:4vw;">转账凭证</el-text> |
|
|
|
<img v-if="auditRow.voucher" :src="auditRow.voucher" style="width: 100%; height: 100%; object-fit: cover;"> |
|
|
|
<img v-if="auditRow.voucher" :src="auditRow.voucher" |
|
|
|
style="width: 100%; height: 100%; object-fit: cover;"> |
|
|
|
<div v-else> |
|
|
|
无转账凭证 |
|
|
|
</div> |
|
|
|
@ -215,47 +221,65 @@ |
|
|
|
}"> |
|
|
|
<div class="steps"> |
|
|
|
<div class="steps-content"> |
|
|
|
<el-steps style="min-width: 60vw" :active="1" align-center> |
|
|
|
<el-step> <template #title> |
|
|
|
<el-steps :active="currentStep" align-center> |
|
|
|
|
|
|
|
<el-step title="提交人"> |
|
|
|
<template #title> |
|
|
|
<div>提交人<br>你是死的</div> |
|
|
|
</template> |
|
|
|
<template #icon> |
|
|
|
<img src="@/assets/images/已审核.png" alt="已审核图标"> |
|
|
|
<img v-if="currentStep === 1" src="@/assets/images/待审核.png" alt="步骤图标" |
|
|
|
style="width: 30px; height: 30px;"> |
|
|
|
<img v-if="currentStep > 1" src="@/assets/images/已审核.png" alt="步骤图标" |
|
|
|
style="width: 30px; height: 30px;"> |
|
|
|
</template> |
|
|
|
</el-step> |
|
|
|
|
|
|
|
<el-step title="地区财务"> |
|
|
|
<template #icon> |
|
|
|
<img src="@/assets/images/待审核.png" alt="待审核图标"> |
|
|
|
<img v-if="currentStep < 2" src="@/assets/images/还没传到.png" alt="步骤图标" |
|
|
|
style="width: 30px; height: 30px;"> |
|
|
|
<img v-if="currentStep === 2" src="@/assets/images/待审核.png" alt="步骤图标" |
|
|
|
style="width: 30px; height: 30px;"> |
|
|
|
<img v-if="currentStep > 2" src="@/assets/images/已审核.png" alt="步骤图标" |
|
|
|
style="width: 30px; height: 30px;"> |
|
|
|
</template> |
|
|
|
</el-step> |
|
|
|
|
|
|
|
<el-step title="地区负责人"> |
|
|
|
<template #icon> |
|
|
|
<img src="@/assets/images/还没传到.png" alt="还没传到图标"> |
|
|
|
<img v-if="currentStep < 3" src="@/assets/images/还没传到.png" alt="步骤图标" |
|
|
|
style="width: 30px; height: 30px;"> |
|
|
|
<img v-if="currentStep === 3" src="@/assets/images/待审核.png" alt="步骤图标" |
|
|
|
style="width: 30px; height: 30px;"> |
|
|
|
<img v-if="currentStep > 3" src="@/assets/images/已审核.png" alt="步骤图标" |
|
|
|
style="width: 30px; height: 30px;"> |
|
|
|
</template> |
|
|
|
</el-step> |
|
|
|
|
|
|
|
<el-step title="总部财务"> |
|
|
|
<template #icon> |
|
|
|
<img src="@/assets/images/还没传到.png" alt="还没传到图标"> |
|
|
|
<img v-if="currentStep < 4" src="@/assets/images/还没传到.png" alt="步骤图标" |
|
|
|
style="width: 30px; height: 30px;"> |
|
|
|
<img v-if="currentStep === 4" src="@/assets/images/待审核.png" alt="步骤图标" |
|
|
|
style="width: 30px; height: 30px;"> |
|
|
|
<img v-if="currentStep > 4" src="@/assets/images/已审核.png" alt="步骤图标" |
|
|
|
style="width: 30px; height: 30px;"> |
|
|
|
</template> |
|
|
|
</el-step> |
|
|
|
|
|
|
|
<el-step title="指定执行人"> |
|
|
|
<template #icon> |
|
|
|
<img src="@/assets/images/还没传到.png" alt="还没传到图标"> |
|
|
|
<img v-if="currentStep < 5" src="@/assets/images/还没传到.png" alt="步骤图标" |
|
|
|
style="width: 30px; height: 30px;"> |
|
|
|
<img v-if="currentStep === 5" src="@/assets/images/待审核.png" alt="步骤图标" |
|
|
|
style="width: 30px; height: 30px;"> |
|
|
|
</template> |
|
|
|
</el-step> |
|
|
|
</el-steps> |
|
|
|
</div> |
|
|
|
<div class="steps-status"> |
|
|
|
<el-steps style="min-width: 50vw" :active="1" finish-status="success" simple> |
|
|
|
<el-step title="已通过" /> |
|
|
|
<el-step title="待审核" /> |
|
|
|
<el-step title="待审核" /> |
|
|
|
<el-step title="待审核" /> |
|
|
|
<el-step title="待审核" /> |
|
|
|
</el-steps> |
|
|
|
</div> |
|
|
|
<div class="steps-btn"> |
|
|
|
<el-button type="primary">确定</el-button> |
|
|
|
<el-button type="primary" @click="showSteps = false">确定</el-button> |
|
|
|
</div> |
|
|
|
</div> |
|
|
|
</el-dialog> |
|
|
|
@ -270,9 +294,10 @@ import { storeToRefs } from "pinia" |
|
|
|
import dayjs from 'dayjs' |
|
|
|
const adminStore = useAdminStore() |
|
|
|
const { adminData, menuTree } = storeToRefs(adminStore) |
|
|
|
import { permissionMapping, findMenuById } from "@/utils/menuTreePermission.js" |
|
|
|
import { permissionMapping, findMenuById, hasMenuPermission } from "@/utils/menuTreePermission.js" |
|
|
|
import { get } from 'lodash' |
|
|
|
|
|
|
|
const currentStep = ref(0)// 进度图 |
|
|
|
const searchForm = ref({ |
|
|
|
jwcode: '', |
|
|
|
markets: [] |
|
|
|
@ -560,6 +585,19 @@ const showStep = function (row) { |
|
|
|
ElMessage.error('无此权限') |
|
|
|
return |
|
|
|
} |
|
|
|
if (row.areaService !== null || row.areaService !== '') { |
|
|
|
currentStep.value = 1 |
|
|
|
} |
|
|
|
if (row.areaFinance !== null || row.areaFinance !== '') { |
|
|
|
currentStep.value = 2 |
|
|
|
} |
|
|
|
if (row.areaCharge !== null || row.areaCharge !== '') { |
|
|
|
currentStep.value = 3 |
|
|
|
} |
|
|
|
if (row.headFinance !== null || row.headFinance !== '') { |
|
|
|
currentStep.value = 4 |
|
|
|
} |
|
|
|
console.log("看看顺序到哪了",currentStep.value) |
|
|
|
showSteps.value = true |
|
|
|
} |
|
|
|
const showAudit2 = function (row) { |
|
|
|
@ -583,6 +621,17 @@ onMounted(() => { |
|
|
|
}) |
|
|
|
</script> |
|
|
|
<style scoped lang="scss"> |
|
|
|
:deep(.el-table__header-wrapper), |
|
|
|
:deep(.el-table__body-wrapper), |
|
|
|
:deep(.el-table__cell), |
|
|
|
:deep(.el-table__body td) { |
|
|
|
background-color: #F3FAFE !important; |
|
|
|
} |
|
|
|
|
|
|
|
:deep(.el-table__header th) { |
|
|
|
background-color: #F3FAFE !important; |
|
|
|
} |
|
|
|
|
|
|
|
.condition { |
|
|
|
width: 82vw; |
|
|
|
display: flex; |
|
|
|
@ -686,12 +735,7 @@ onMounted(() => { |
|
|
|
|
|
|
|
.steps { |
|
|
|
.steps-content { |
|
|
|
width: 45vw; |
|
|
|
height: 15vh; |
|
|
|
display: flex; |
|
|
|
justify-content: center; |
|
|
|
padding-top: 15vw; |
|
|
|
padding-left: 8vw; |
|
|
|
} |
|
|
|
|
|
|
|
.steps-status { |
|
|
|
|