Browse Source

11

lihuilin/feature-20250923114949-现金
lihuilin 1 month ago
parent
commit
528bca6a0d
  1. 44
      src/views/moneyManage/refundDetail/refundCharge.vue
  2. 41
      src/views/moneyManage/refundDetail/refundFinance.vue

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

@ -237,10 +237,9 @@
</div> </div>
</template> </template>
<template #icon> <template #icon>
<img v-if="currentStep === 12" src="@/assets/images/已驳回.png" alt="已驳回">
<img v-else-if="currentStep === 2" src="@/assets/images/待审核.png" alt="待审核">
<img v-else-if="currentStep > 2 && currentStep < 7" src="@/assets/images/已审核.png" alt="已审核">
<img v-else src="@/assets/images/还没传到.png" alt="未开始">
<img v-if="currentStep === 2" src="@/assets/images/已驳回.png" alt="已驳回">
<img v-else-if="currentStep === 1" src="@/assets/images/待审核.png" alt="待审核">
<img v-else-if="currentStep > 2" src="@/assets/images/已审核.png" alt="已审核">
</template> </template>
</el-step> </el-step>
@ -251,10 +250,10 @@
</div> </div>
</template> </template>
<template #icon> <template #icon>
<img v-if="currentStep === 22" src="@/assets/images/已驳回.png" alt="已驳回">
<img v-if="currentStep === 4" src="@/assets/images/已驳回.png" alt="已驳回">
<img v-else-if="currentStep === 3" src="@/assets/images/待审核.png" alt="待审核"> <img v-else-if="currentStep === 3" src="@/assets/images/待审核.png" alt="待审核">
<img v-else-if="currentStep > 3 && currentStep < 7" src="@/assets/images/已审核.png" alt="已审核">
<img v-else src="@/assets/images/还没传到.png" alt="未开始">
<img v-else-if="currentStep > 3 && currentStep != 4" src="@/assets/images/已审核.png" alt="已审核">
<img v-else-if="currentStep < 3" src="@/assets/images/还没传到.png" alt="未开始">
</template> </template>
</el-step> </el-step>
@ -265,10 +264,10 @@
</div> </div>
</template> </template>
<template #icon> <template #icon>
<img v-if="currentStep === 32" src="@/assets/images/已驳回.png" alt="已驳回">
<img v-else-if="currentStep === 4" src="@/assets/images/待审核.png" alt="待审核">
<img v-else-if="currentStep > 4 && currentStep < 7" src="@/assets/images/已审核.png" alt="已审核">
<img v-else src="@/assets/images/还没传到.png" alt="未开始">
<img v-if="currentStep === 6" src="@/assets/images/已驳回.png" alt="已驳回">
<img v-else-if="currentStep === 5" src="@/assets/images/待审核.png" alt="待审核">
<img v-else-if="currentStep > 5 && currentStep != 6" src="@/assets/images/已审核.png" alt="已审核">
<img v-else-if="currentStep < 5" src="@/assets/images/还没传到.png" alt="未开始">
</template> </template>
</el-step> </el-step>
@ -279,9 +278,9 @@
</div> </div>
</template> </template>
<template #icon> <template #icon>
<img v-if="currentStep === 5" src="@/assets/images/待审核.png" alt="待处理">
<img v-else-if="currentStep === 6" src="@/assets/images/已审核.png" alt="已完成">
<img v-else src="@/assets/images/还没传到.png" alt="未开始">
<img v-if="currentStep === 7" src="@/assets/images/待审核.png" alt="待处理">
<img v-else-if="currentStep === 8" src="@/assets/images/已审核.png" alt="已完成">
<img v-else-if="currentStep < 7" src="@/assets/images/还没传到.png" alt="未开始">
</template> </template>
</el-step> </el-step>
</el-steps> </el-steps>
@ -332,14 +331,14 @@ const headFinance = ref('')// 总部财务
const executor = ref('')// const executor = ref('')//
const uploadRef = ref(null) const uploadRef = ref(null)
const statusStepMap = { const statusStepMap = {
10: [2, false],
12: [12, true],
10: [1, false],
12: [2, true],
20: [3, false], 20: [3, false],
22: [22, true],
30: [4, false],
32: [32, true],
40: [5, false],
41: [6, false]
22: [4, true],
30: [5, false],
32: [6, true],
40: [7, false],
41: [8, false]
} }
const currencies = ref([ const currencies = ref([
{ {
@ -528,10 +527,9 @@ const handleReject = async function () {
}) })
if (result.code === 200) { if (result.code === 200) {
ElMessage.success('审核驳回') ElMessage.success('审核驳回')
showAudit.value = false
getRefund() getRefund()
addForm.value.remark = '' addForm.value.remark = ''
showReject.value = false
showAudit2.value = false
} }
} catch (error) { } catch (error) {
ElMessage.error(error.message || '审核失败') ElMessage.error(error.message || '审核失败')

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

@ -236,10 +236,9 @@
</div> </div>
</template> </template>
<template #icon> <template #icon>
<img v-if="currentStep === 12" src="@/assets/images/已驳回.png" alt="已驳回">
<img v-else-if="currentStep === 2" src="@/assets/images/待审核.png" alt="待审核">
<img v-else-if="currentStep > 2 && currentStep < 7" src="@/assets/images/已审核.png" alt="已审核">
<img v-else src="@/assets/images/还没传到.png" alt="未开始">
<img v-if="currentStep === 2" src="@/assets/images/已驳回.png" alt="已驳回">
<img v-else-if="currentStep === 1" src="@/assets/images/待审核.png" alt="待审核">
<img v-else-if="currentStep > 2" src="@/assets/images/已审核.png" alt="已审核">
</template> </template>
</el-step> </el-step>
@ -250,10 +249,10 @@
</div> </div>
</template> </template>
<template #icon> <template #icon>
<img v-if="currentStep === 22" src="@/assets/images/已驳回.png" alt="已驳回">
<img v-if="currentStep === 4" src="@/assets/images/已驳回.png" alt="已驳回">
<img v-else-if="currentStep === 3" src="@/assets/images/待审核.png" alt="待审核"> <img v-else-if="currentStep === 3" src="@/assets/images/待审核.png" alt="待审核">
<img v-else-if="currentStep > 3 && currentStep < 7" src="@/assets/images/已审核.png" alt="已审核">
<img v-else src="@/assets/images/还没传到.png" alt="未开始">
<img v-else-if="currentStep > 3 && currentStep != 4" src="@/assets/images/已审核.png" alt="已审核">
<img v-else-if="currentStep < 3" src="@/assets/images/还没传到.png" alt="未开始">
</template> </template>
</el-step> </el-step>
@ -264,10 +263,10 @@
</div> </div>
</template> </template>
<template #icon> <template #icon>
<img v-if="currentStep === 32" src="@/assets/images/已驳回.png" alt="已驳回">
<img v-else-if="currentStep === 4" src="@/assets/images/待审核.png" alt="待审核">
<img v-else-if="currentStep > 4 && currentStep < 7" src="@/assets/images/已审核.png" alt="已审核">
<img v-else src="@/assets/images/还没传到.png" alt="未开始">
<img v-if="currentStep === 6" src="@/assets/images/已驳回.png" alt="已驳回">
<img v-else-if="currentStep === 5" src="@/assets/images/待审核.png" alt="待审核">
<img v-else-if="currentStep > 5 && currentStep != 6" src="@/assets/images/已审核.png" alt="已审核">
<img v-else-if="currentStep < 5" src="@/assets/images/还没传到.png" alt="未开始">
</template> </template>
</el-step> </el-step>
@ -278,9 +277,9 @@
</div> </div>
</template> </template>
<template #icon> <template #icon>
<img v-if="currentStep === 5" src="@/assets/images/待审核.png" alt="待处理">
<img v-else-if="currentStep === 6" src="@/assets/images/已审核.png" alt="已完成">
<img v-else src="@/assets/images/还没传到.png" alt="未开始">
<img v-if="currentStep === 7" src="@/assets/images/待审核.png" alt="待处理">
<img v-else-if="currentStep === 8" src="@/assets/images/已审核.png" alt="已完成">
<img v-else-if="currentStep < 7" src="@/assets/images/还没传到.png" alt="未开始">
</template> </template>
</el-step> </el-step>
</el-steps> </el-steps>
@ -396,14 +395,14 @@ const payments = ref([{
} }
]) ])
const statusStepMap = { const statusStepMap = {
10: [2, false],
12: [12, true],
10: [1, false],
12: [2, true],
20: [3, false], 20: [3, false],
22: [22, true],
30: [4, false],
32: [32, true],
40: [5, false],
41: [6, false]
22: [4, true],
30: [5, false],
32: [6, true],
40: [7, false],
41: [8, false]
} }
const statusList = ref(['待审核','审核通过','已驳回','退款成功']) const statusList = ref(['待审核','审核通过','已驳回','退款成功'])
// //

Loading…
Cancel
Save