|
@@ -54,14 +54,23 @@
|
|
|
<el-input v-model="form.invoiceId"></el-input>
|
|
<el-input v-model="form.invoiceId"></el-input>
|
|
|
</el-form-item>
|
|
</el-form-item>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
- <el-col :span="8" style="display: flex; justify-content: flex-end">
|
|
|
|
|
|
|
+ <el-col :span="8">
|
|
|
|
|
+ <el-form-item prop="contactPerson" label="对接人">
|
|
|
|
|
+ <el-select v-model="form.contactPerson" placeholder="请选择" clearable filterable>
|
|
|
|
|
+ <el-option v-for="item in contactPersonList" :key="item.contactPerson" :value="item.contactPerson"
|
|
|
|
|
+ :label="item.contactPerson"></el-option>
|
|
|
|
|
+ </el-select>
|
|
|
|
|
+ </el-form-item>
|
|
|
|
|
+ </el-col>
|
|
|
|
|
+ <el-col :span="24" style="display: flex; justify-content: flex-end">
|
|
|
<el-button type="primary" @click="search()">查询</el-button>
|
|
<el-button type="primary" @click="search()">查询</el-button>
|
|
|
<el-button plain type="primary" @click="reset()">重置</el-button>
|
|
<el-button plain type="primary" @click="reset()">重置</el-button>
|
|
|
<el-button type="primary" @click="exportPlatformSettlementExcel()">导出结算记录</el-button>
|
|
<el-button type="primary" @click="exportPlatformSettlementExcel()">导出结算记录</el-button>
|
|
|
</el-col>
|
|
</el-col>
|
|
|
</el-row>
|
|
</el-row>
|
|
|
</el-form>
|
|
</el-form>
|
|
|
- <el-table class="tableRecord" style="height: calc(100% - 192px)" :data="tableData" show-summary :summary-method="getSummaries">
|
|
|
|
|
|
|
+ <el-table class="tableRecord" style="height: calc(100% - 192px)" :data="tableData" show-summary
|
|
|
|
|
+ :summary-method="getSummaries">
|
|
|
<el-table-column prop="settlementId" label="结算记录编号" width="200"></el-table-column>
|
|
<el-table-column prop="settlementId" label="结算记录编号" width="200"></el-table-column>
|
|
|
<el-table-column prop="companyName" label="保险公司" width="200"></el-table-column>
|
|
<el-table-column prop="companyName" label="保险公司" width="200"></el-table-column>
|
|
|
<el-table-column prop="contactPerson" label="对接人姓名" width="200"></el-table-column>
|
|
<el-table-column prop="contactPerson" label="对接人姓名" width="200"></el-table-column>
|
|
@@ -95,7 +104,7 @@
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
</PageMain>
|
|
</PageMain>
|
|
|
- <el-dialog v-model="viewCredential" title="查看凭证" width="400">
|
|
|
|
|
|
|
+ <el-dialog v-model="viewCredential" title="查看凭证" width="400">
|
|
|
<div class="text-center text-[14px] text-[#999] pb-[20px]">点击图片放大预览</div>
|
|
<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"
|
|
<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" />
|
|
:min-scale="0.2" :preview-src-list="CredentialList" show-progress :initial-index="4" alt="凭证图片" fit="cover" />
|
|
@@ -166,7 +175,15 @@ const exportPlatformSettlementExcel = () => {
|
|
|
}
|
|
}
|
|
|
})
|
|
})
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
|
|
+// 对接人列表
|
|
|
|
|
+const contactPersonList = ref([])
|
|
|
|
|
+const getqueryContractVos = async () => {
|
|
|
|
|
+ api.financeApi.queryContractVos().then((res: any) => {
|
|
|
|
|
+ if (res.code == 200) {
|
|
|
|
|
+ contactPersonList.value = res.data
|
|
|
|
|
+ }
|
|
|
|
|
+ })
|
|
|
|
|
+}
|
|
|
// 列表
|
|
// 列表
|
|
|
const initList = () => {
|
|
const initList = () => {
|
|
|
api.settlementApi
|
|
api.settlementApi
|
|
@@ -252,7 +269,7 @@ const getSummaries = (param) => {
|
|
|
const { columns, data } = param
|
|
const { columns, data } = param
|
|
|
const sums: (string | VNode)[] = []
|
|
const sums: (string | VNode)[] = []
|
|
|
// 指定需要计算的字段列表(可根据需求添加字段名)
|
|
// 指定需要计算的字段列表(可根据需求添加字段名)
|
|
|
- const specifiedFields = ['receivableSupervisePremium', 'actualReceivedAmount','settlementPaymentDifference'] // 替换为您需要的字段名
|
|
|
|
|
|
|
+ const specifiedFields = ['receivableSupervisePremium', 'actualReceivedAmount', 'settlementPaymentDifference'] // 替换为您需要的字段名
|
|
|
|
|
|
|
|
columns.forEach((column, index) => {
|
|
columns.forEach((column, index) => {
|
|
|
if (index === 0) {
|
|
if (index === 0) {
|
|
@@ -300,6 +317,7 @@ onMounted(() => {
|
|
|
initList();
|
|
initList();
|
|
|
initOption();
|
|
initOption();
|
|
|
initCompany();
|
|
initCompany();
|
|
|
|
|
+ getqueryContractVos();
|
|
|
});
|
|
});
|
|
|
</script>
|
|
</script>
|
|
|
|
|
|