|
|
@@ -1,7 +1,7 @@
|
|
|
<template>
|
|
|
<div>
|
|
|
<PageMain class="vh100">
|
|
|
- <SearchForm :fields="fields" :formInline="formInline" :onSearch="agreementQuery" :onReset="resetForm" />
|
|
|
+ <SearchForm :fields="fields" :formInline="formInline" isOffset :onSearch="agreementQuery" :onReset="resetForm" />
|
|
|
<ComplexTable :tableData="tableData" :columns="columns" :showIndex="false" :columnwidth="200" :showSelect="true"
|
|
|
:pageInfo="pageInfo" @getList="getList" @selectionChange="selectionChange">
|
|
|
<template v-slot:table-title-btn>
|
|
|
@@ -249,7 +249,7 @@ const columns = [
|
|
|
prop: "costExternalTypeAdds", label: "交强险费用", width: '300', formatter: (row: any) => {
|
|
|
let info = row.costExternalTypeAdds.find((val: any) => val.costType == '交强险');
|
|
|
if (info) {
|
|
|
- return `入口:${info.inlet.toFixed(2)}% 出口:${info.export.toFixed(2)}%\n加投:${info.addThrow?.toFixed(2)}%`
|
|
|
+ return `入口:${info.inlet?.toFixed(2)}% 出口:${info.export?.toFixed(2)}%\n加投:${info.addThrow?.toFixed(2)}%`
|
|
|
} else {
|
|
|
return '-'
|
|
|
}
|
|
|
@@ -259,7 +259,7 @@ const columns = [
|
|
|
prop: "costExternalTypeAdds", label: "商业险费用", width: '300', formatter: (row: any) => {
|
|
|
let info = row.costExternalTypeAdds.find((val: any) => val.costType == '商业险');
|
|
|
if (info) {
|
|
|
- return `入口:${info.inlet.toFixed(2)}% 出口:${info.export.toFixed(2)}%\n加投:${info.addThrow?.toFixed(2)}%`
|
|
|
+ return `入口:${info.inlet?.toFixed(2)}% 出口:${info.export?.toFixed(2)}%\n加投:${info.addThrow?.toFixed(2)}%`
|
|
|
} else {
|
|
|
return '-'
|
|
|
}
|
|
|
@@ -269,7 +269,7 @@ const columns = [
|
|
|
prop: "costExternalTypeAdds", label: "驾意险费用", width: '300', formatter: (row: any) => {
|
|
|
let info = row.costExternalTypeAdds.find((val: any) => val.costType == '驾意险');
|
|
|
if (info) {
|
|
|
- return `入口:${info.inlet.toFixed(2)}% 出口:${info.export.toFixed(2)}%\n加投:${info.addThrow?.toFixed(2)}%`
|
|
|
+ return `入口:${info.inlet?.toFixed(2)}% 出口:${info.export?.toFixed(2)}%\n加投:${info.addThrow?.toFixed(2)}%`
|
|
|
} else {
|
|
|
return '-'
|
|
|
}
|