|
@@ -60,7 +60,7 @@
|
|
|
:data="tableData"
|
|
:data="tableData"
|
|
|
style="height: calc(100% - 210px)"
|
|
style="height: calc(100% - 210px)"
|
|
|
>
|
|
>
|
|
|
- <el-table-column prop="recordId" label="开票记录编号" width="200"></el-table-column>
|
|
|
|
|
|
|
+ <el-table-column prop="id" label="开票记录编号" width="200"></el-table-column>
|
|
|
<el-table-column prop="companyId" label="保险公司" width="150">
|
|
<el-table-column prop="companyId" label="保险公司" width="150">
|
|
|
<template #default="scope">
|
|
<template #default="scope">
|
|
|
{{ getCompanyName(scope.row) }}
|
|
{{ getCompanyName(scope.row) }}
|
|
@@ -168,8 +168,8 @@ let form = ref({})
|
|
|
let tableData = ref([])
|
|
let tableData = ref([])
|
|
|
|
|
|
|
|
const getCompanyName = (row) => {
|
|
const getCompanyName = (row) => {
|
|
|
- let company = companyList.value.find(item => item.companyCode === row.companyId)
|
|
|
|
|
- return company?.name || ''
|
|
|
|
|
|
|
+ let company = companyList.value.find(item => item.id === row.companyId)
|
|
|
|
|
+ return company?.nameSimple || ''
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
let pages = ref(1)
|
|
let pages = ref(1)
|