|
|
@@ -154,7 +154,7 @@
|
|
|
<span>提现金额总计: {{ totalAmount || 0 }}</span>
|
|
|
</el-col>
|
|
|
</el-form>
|
|
|
- <el-table :data="firstData1" height="calc(100% - 218px)" style="width: 100%; margin-top: 20px;"
|
|
|
+ <el-table :data="firstData1" height="calc(100% - 288px)" style="width: 100%; margin-top: 20px;"
|
|
|
highlight-current-row>
|
|
|
<el-table-column prop="attrType" label="业务员类型">
|
|
|
<template #default="scope">
|
|
|
@@ -276,7 +276,7 @@
|
|
|
<span>提现金额总计: {{ totalAmount || 0 }}</span>
|
|
|
</el-col>
|
|
|
</el-form>
|
|
|
- <el-table :data="firstData2" height="calc(100% - 218px)" style="width: 100%; margin-top: 20px;"
|
|
|
+ <el-table :data="firstData2" height="calc(100% - 278px)" style="width: 100%; margin-top: 20px;"
|
|
|
highlight-current-row>
|
|
|
<el-table-column prop="attrType" label="业务员类型">
|
|
|
<template #default="scope">
|
|
|
@@ -299,8 +299,14 @@
|
|
|
<el-table-column prop="paymentTime" label="支付时间" width="180"></el-table-column>
|
|
|
<el-table-column prop="auditingUserName" label="审核人" width="180"></el-table-column>
|
|
|
<el-table-column prop="payAccountName" label="付款账户"></el-table-column>
|
|
|
- <el-table-column prop="xxxxxx" label="凭证号(待开发)"></el-table-column>
|
|
|
- <el-table-column prop="xxxxxx" label="回单资料(待开发)"></el-table-column>
|
|
|
+ <el-table-column prop="voucherId" label="凭证号"></el-table-column>
|
|
|
+ <el-table-column prop="fileUrl" label="回单资料" width="180">
|
|
|
+ <template #default="scope">
|
|
|
+ <el-button link type="primary" v-if="scope.row.fileUrl" @click="view(scope.row)">查看资料({{
|
|
|
+ scope.row.fileUrl.split(',').length }})</el-button>
|
|
|
+ <span v-else>无回单资料</span>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
</el-table>
|
|
|
<div class="pagination">
|
|
|
<el-pagination v-model:current-page="pages" v-model:page-size="size" :page-sizes="[10, 20, 30, 40]"
|
|
|
@@ -377,7 +383,7 @@
|
|
|
<span>提现金额总计: {{ totalAmount || 0 }}</span>
|
|
|
</el-col>
|
|
|
</el-form>
|
|
|
- <el-table :data="firstData3" height="calc(100% - 218px)" style="width: 100%; margin-top: 20px;"
|
|
|
+ <el-table :data="firstData3" height="calc(100% - 288px)" style="width: 100%; margin-top: 20px;"
|
|
|
highlight-current-row>
|
|
|
<el-table-column prop="attrType" label="业务员类型">
|
|
|
<template #default="scope">
|
|
|
@@ -460,6 +466,11 @@
|
|
|
<el-button type="primary" @click="handleAccountSubmit">确定</el-button>
|
|
|
</template>
|
|
|
</el-dialog>
|
|
|
+ <el-dialog v-model="viewCredential" title="查看凭证" width="400">
|
|
|
+ <div class="text-center text-[14px] text-[#999] pb-[20px]">点击图片放大预览</div>
|
|
|
+ <el-image style="width: 100%; height: 300px" :src="CredentialList[0]" :zoom-rate="1.2" :max-scale="7"
|
|
|
+ :min-scale="0.2" :preview-src-list="CredentialList" show-progress :initial-index="4" alt="凭证图片" fit="cover" />
|
|
|
+ </el-dialog>
|
|
|
</PageMain>
|
|
|
</template>
|
|
|
|
|
|
@@ -467,6 +478,8 @@
|
|
|
import api from '@/api'
|
|
|
import { ElMessage, FormInstance } from "element-plus";
|
|
|
const DrawRef = ref<FormInstance>()
|
|
|
+const viewCredential = ref(false)//查看凭证弹窗
|
|
|
+const CredentialList = ref([])//凭证图片
|
|
|
let AccountRef = ref()
|
|
|
let RefusePopover = ref()
|
|
|
const type = ref('3')
|
|
|
@@ -563,7 +576,10 @@ const handleDraw = (row) => {
|
|
|
}
|
|
|
})
|
|
|
}
|
|
|
-
|
|
|
+const view = (scope) => {
|
|
|
+ CredentialList.value = scope.fileUrl.split(',')
|
|
|
+ viewCredential.value = true
|
|
|
+}
|
|
|
let total1 = ref(0)
|
|
|
let total2 = ref(0)
|
|
|
let total3 = ref(0)
|