|
|
@@ -137,7 +137,7 @@
|
|
|
<el-table-column prop="receivePaymentDate" label="收款日期" width="150"></el-table-column>
|
|
|
<el-table-column label="收款凭证" width="100">
|
|
|
<template #default="scope">
|
|
|
- <el-button link type="primary" @click="view">查看凭证(1)</el-button>
|
|
|
+ <el-button link type="primary" @click="view(scope.row)">查看凭证(1)</el-button>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="createBy" label="结算人" width="100"></el-table-column>
|
|
|
@@ -146,7 +146,6 @@
|
|
|
<el-table-column label="操作" width="100">
|
|
|
<template #default="scope">
|
|
|
<el-button link type="primary" @click="handleDetail(scope.row)">删除</el-button>
|
|
|
- <el-button link type="primary" @click="handleOrderDetail(scope.row)">订单明细</el-button>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
|
@@ -307,6 +306,11 @@
|
|
|
</el-tab-pane>
|
|
|
</el-tabs>
|
|
|
</PageMain>
|
|
|
+ <el-dialog :close-on-click-modal="false" 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>
|
|
|
</template>
|
|
|
|
|
|
<script setup lang="ts">
|
|
|
@@ -421,10 +425,14 @@ let recordData = ref([])
|
|
|
let recordData1 = ref([])
|
|
|
let recordData2 = ref([])
|
|
|
let recordData3 = ref([])
|
|
|
+const viewCredential = ref(false)//查看凭证弹窗
|
|
|
+const CredentialList = ref([])//凭证图片
|
|
|
const view = (scope) => {
|
|
|
-
|
|
|
+ CredentialList.value = scope.fileUrl.split(',')
|
|
|
+ viewCredential.value = true
|
|
|
}
|
|
|
|
|
|
+
|
|
|
const initData1 = () => {
|
|
|
api.settlementApi.companySuperviseSettlementReport({
|
|
|
companyId: recordForm.value.companyId,
|
|
|
@@ -666,14 +674,6 @@ const handleDetail = (type) => {
|
|
|
})
|
|
|
|
|
|
}
|
|
|
-const handleOrderDetail = (type: any) => {
|
|
|
- router.push({
|
|
|
- path: '/insurancePolicy/order/insurancePolicyOrderDetail',
|
|
|
- query: {
|
|
|
- orderNo: type.orderNo
|
|
|
- }
|
|
|
- })
|
|
|
-}
|
|
|
const optionObj = ref({})
|
|
|
const initOption = () => {
|
|
|
let list = ['invoice_risk_type', 'invoice_party', 'settlement_status']
|