|
|
@@ -1,108 +1,53 @@
|
|
|
<template>
|
|
|
<div>
|
|
|
<div class="p-2">
|
|
|
- <el-form
|
|
|
- :inline="true"
|
|
|
- :model="pageRequest"
|
|
|
- size="small"
|
|
|
- label-width="120px"
|
|
|
- >
|
|
|
+ <el-form :inline="true" :model="pageRequest" size="small" label-width="120px">
|
|
|
<el-row>
|
|
|
<el-col :span="6">
|
|
|
<el-form-item label="车牌号">
|
|
|
- <el-input
|
|
|
- v-model="pageRequest.licenseno"
|
|
|
- placeholder="请输入车牌号"
|
|
|
- class="widths"
|
|
|
- clearable
|
|
|
- ></el-input>
|
|
|
+ <el-input v-model="pageRequest.licenseno" placeholder="请输入车牌号" class="widths" clearable></el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="6">
|
|
|
<el-form-item label="险种">
|
|
|
- <el-input
|
|
|
- v-model="pageRequest.risk"
|
|
|
- placeholder="请输入险种"
|
|
|
- class="widths"
|
|
|
- clearable
|
|
|
- ></el-input>
|
|
|
+ <el-input v-model="pageRequest.risk" placeholder="请输入险种" class="widths" clearable></el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="6">
|
|
|
<el-form-item label="保险公司">
|
|
|
- <el-select
|
|
|
- v-model="pageRequest.insuranceId"
|
|
|
- filterable
|
|
|
- class="widths"
|
|
|
- clearable
|
|
|
- >
|
|
|
- <el-option
|
|
|
- v-for="val in companyList"
|
|
|
- :key="val.id"
|
|
|
- :label="val.name"
|
|
|
- :value="val.id"
|
|
|
- ></el-option>
|
|
|
+ <el-select v-model="pageRequest.insuranceId" filterable class="widths" clearable>
|
|
|
+ <el-option v-for="val in companyList" :key="val.id" :label="val.name" :value="val.id"></el-option>
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="6">
|
|
|
<el-form-item label="保司机构">
|
|
|
- <el-input
|
|
|
- v-model="pageRequest.insuranceDept"
|
|
|
- placeholder="请输入保司机构"
|
|
|
- class="widths"
|
|
|
- clearable
|
|
|
- ></el-input>
|
|
|
+ <el-input v-model="pageRequest.insuranceDept" placeholder="请输入保司机构" class="widths" clearable></el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="6">
|
|
|
<el-form-item label="被保险人">
|
|
|
- <el-input
|
|
|
- v-model="pageRequest.insuredName"
|
|
|
- placeholder="请输入被保险人"
|
|
|
- class="widths"
|
|
|
- clearable
|
|
|
- ></el-input>
|
|
|
+ <el-input v-model="pageRequest.insuredName" placeholder="请输入被保险人" class="widths" clearable></el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
|
|
|
<el-col :span="6">
|
|
|
<el-form-item label="结算日期">
|
|
|
- <el-date-picker
|
|
|
- v-model="clearingTime"
|
|
|
- type="daterange"
|
|
|
- @change="clearingTimeChange"
|
|
|
- start-placeholder="开始日期"
|
|
|
- end-placeholder="结束日期"
|
|
|
- value-format="yyyy-MM-dd"
|
|
|
- clearable
|
|
|
- style="width: 250px"
|
|
|
- >
|
|
|
+ <el-date-picker v-model="clearingTime" type="daterange" @change="clearingTimeChange"
|
|
|
+ start-placeholder="开始日期" end-placeholder="结束日期" value-format="yyyy-MM-dd" clearable style="width: 250px">
|
|
|
</el-date-picker>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="6">
|
|
|
<el-form-item label="出单日期">
|
|
|
- <el-date-picker
|
|
|
- v-model="signingTime"
|
|
|
- type="daterange"
|
|
|
- @change="signingTimeChange"
|
|
|
- start-placeholder="开始日期"
|
|
|
- end-placeholder="结束日期"
|
|
|
- value-format="yyyy-MM-dd"
|
|
|
- style="width: 250px"
|
|
|
- clearable
|
|
|
- >
|
|
|
+ <el-date-picker v-model="signingTime" type="daterange" @change="signingTimeChange" start-placeholder="开始日期"
|
|
|
+ end-placeholder="结束日期" value-format="yyyy-MM-dd" style="width: 250px" clearable>
|
|
|
</el-date-picker>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="6">
|
|
|
<el-form-item label="结算状态">
|
|
|
- <el-select
|
|
|
- v-model="pageRequest.clearingState"
|
|
|
- placeholder="请选择状态"
|
|
|
- class="widths"
|
|
|
- >
|
|
|
+ <el-select v-model="pageRequest.clearingState" placeholder="请选择状态" class="widths">
|
|
|
<el-option label="未结算" value="0"></el-option>
|
|
|
<el-option label="已结算" value="1"></el-option>
|
|
|
<el-option label="孤儿单" value="2"></el-option>
|
|
|
@@ -111,11 +56,7 @@
|
|
|
</el-col>
|
|
|
<el-col :span="6">
|
|
|
<el-form-item label="保司结算状态">
|
|
|
- <el-select
|
|
|
- v-model="pageRequest.insuranceClearingState"
|
|
|
- placeholder="请选择状态"
|
|
|
- class="widths"
|
|
|
- >
|
|
|
+ <el-select v-model="pageRequest.insuranceClearingState" placeholder="请选择状态" class="widths">
|
|
|
<el-option label="未结算" value="0"></el-option>
|
|
|
<el-option label="已结算" value="1"></el-option>
|
|
|
</el-select>
|
|
|
@@ -123,495 +64,228 @@
|
|
|
</el-col>
|
|
|
<el-col :span="6">
|
|
|
<el-form-item label="交强保单号">
|
|
|
- <el-input
|
|
|
- v-model="pageRequest.jqPolicyId"
|
|
|
- placeholder="请输入交强保单号"
|
|
|
- class="widths"
|
|
|
- clearable
|
|
|
- ></el-input>
|
|
|
+ <el-input v-model="pageRequest.jqPolicyId" placeholder="请输入交强保单号" class="widths" clearable></el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="6">
|
|
|
<el-form-item label="商业保单号">
|
|
|
- <el-input
|
|
|
- v-model="pageRequest.syPolicyId"
|
|
|
- placeholder="请输入商业保单号"
|
|
|
- class="widths"
|
|
|
- clearable
|
|
|
- ></el-input>
|
|
|
+ <el-input v-model="pageRequest.syPolicyId" placeholder="请输入商业保单号" class="widths" clearable></el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
<el-col :span="6">
|
|
|
<el-form-item label="非车保单号">
|
|
|
- <el-input
|
|
|
- v-model="pageRequest.nonCarPolicyId"
|
|
|
- placeholder="请输入非车保单号"
|
|
|
- class="widths"
|
|
|
- clearable
|
|
|
- ></el-input>
|
|
|
+ <el-input v-model="pageRequest.nonCarPolicyId" placeholder="请输入非车保单号" class="widths" clearable></el-input>
|
|
|
</el-form-item>
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
</el-form>
|
|
|
<div class="flex j-end" style="margin-right: 100px">
|
|
|
- <el-button
|
|
|
- type="success"
|
|
|
- size="small"
|
|
|
- @click="createOrUpdateVisible = true"
|
|
|
- style="margin-right: 20px"
|
|
|
- >新增数据</el-button
|
|
|
- >
|
|
|
- <el-button
|
|
|
- type="primary"
|
|
|
- size="small"
|
|
|
- @click="Search"
|
|
|
- style="margin-right: 20px"
|
|
|
- >查询</el-button
|
|
|
- >
|
|
|
- <el-upload
|
|
|
- class="upload-demo"
|
|
|
- :auto-upload="false"
|
|
|
- :on-change="writeOffUpload"
|
|
|
- action="###"
|
|
|
- :show-file-list="false"
|
|
|
- >
|
|
|
+ <el-button type="danger" size="small" @click="templateDownload" style="margin-right: 20px">下载模板</el-button>
|
|
|
+ <el-button type="success" size="small" @click="createOrUpdateVisible = true"
|
|
|
+ style="margin-right: 20px">新增数据</el-button>
|
|
|
+ <el-button type="primary" size="small" @click="Search" style="margin-right: 20px">查询</el-button>
|
|
|
+ <el-upload class="upload-demo" :auto-upload="false" :on-change="writeOffUpload" action="###"
|
|
|
+ :show-file-list="false">
|
|
|
<el-button size="small" type="primary">数据导入</el-button>
|
|
|
</el-upload>
|
|
|
</div>
|
|
|
</div>
|
|
|
<el-main ref="elMain" style="padding: 0px">
|
|
|
- <kt-common-table
|
|
|
- :SerialShow="false"
|
|
|
- :operationWidth="180"
|
|
|
- :showOperation="true"
|
|
|
- :showSummary="true"
|
|
|
- :showSummaryFieldList="['premium', 'nonCopying', 'receivable']"
|
|
|
- permsDelete="sys:user:delete"
|
|
|
- :showBatchDelete="true"
|
|
|
- :showBatchSettled="true"
|
|
|
- :showBatchPrint="true"
|
|
|
- permsButton1="sys:user:edit"
|
|
|
- permsButton2="sys:user:edit"
|
|
|
- permsButton3="sys:user:edit"
|
|
|
- :data="pageResult"
|
|
|
- :columns="columns"
|
|
|
- @findPage="findPage"
|
|
|
- keyName="id"
|
|
|
- settledName="批量修改"
|
|
|
- @handleSettled="handleTableSettled"
|
|
|
- @handlePrint="handlePrint"
|
|
|
- @handleDelete="handleDelete"
|
|
|
- button1Name="修改"
|
|
|
- button1Background="#E6A23C"
|
|
|
- @handleButton1="sourceUpdate"
|
|
|
- button1Icon=""
|
|
|
- button2Name="删除"
|
|
|
- button2Background="#F56C6C"
|
|
|
- @handleButton2="sourceDelete"
|
|
|
- button2Icon=""
|
|
|
- >
|
|
|
+ <kt-common-table :SerialShow="false" :operationWidth="180" :showOperation="true" :showSummary="true"
|
|
|
+ :showSummaryFieldList="['premium', 'nonCopying', 'receivable', 'jqPremiumTax', 'jqPremium', 'syPremiumTax', 'syPremium', 'nonCarPremiumTax', 'nonCarPremium', 'maxReceivable', 'subsidyAmount', 'totalReceivableAmount']"
|
|
|
+ permsDelete="sys:user:delete" :showBatchDelete="true" :showBatchSettled="true" :showBatchPrint="true"
|
|
|
+ permsButton1="sys:user:edit" permsButton2="sys:user:edit" permsButton3="sys:user:edit" :data="pageResult"
|
|
|
+ :columns="columns" @findPage="findPage" keyName="id" settledName="批量修改" @handleSettled="handleTableSettled"
|
|
|
+ @handlePrint="handlePrint" @handleDelete="handleDelete" button1Name="修改" button1Background="#E6A23C"
|
|
|
+ @handleButton1="sourceUpdate" button1Icon="" button2Name="删除" button2Background="#F56C6C"
|
|
|
+ @handleButton2="sourceDelete" button2Icon="">
|
|
|
</kt-common-table>
|
|
|
</el-main>
|
|
|
- <el-dialog
|
|
|
- title="信息修改"
|
|
|
- :visible.sync="dialogFormVisible"
|
|
|
- v-dialogDrag
|
|
|
- :close-on-click-modal="false"
|
|
|
- width="80%"
|
|
|
- >
|
|
|
- <el-form
|
|
|
- :model="updateform"
|
|
|
- :inline="true"
|
|
|
- label-width="130px"
|
|
|
- size="small"
|
|
|
- >
|
|
|
+ <el-dialog title="信息修改" :visible.sync="dialogFormVisible" v-dialogDrag :close-on-click-modal="false" width="80%">
|
|
|
+ <el-form :model="updateform" :inline="true" label-width="130px" size="small">
|
|
|
<el-form-item label="险种:">
|
|
|
- <el-input
|
|
|
- v-model="updateform.risk"
|
|
|
- autocomplete="off"
|
|
|
- class="widths"
|
|
|
- ></el-input>
|
|
|
+ <el-input v-model="updateform.risk" autocomplete="off" class="widths"></el-input>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="交强保费:">
|
|
|
- <el-input
|
|
|
- v-model="updateform.jqPremiumTax"
|
|
|
- autocomplete="off"
|
|
|
- class="widths"
|
|
|
- ></el-input>
|
|
|
+ <el-input v-model="updateform.jqPremiumTax" autocomplete="off" class="widths"></el-input>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="商业保费:">
|
|
|
- <el-input
|
|
|
- v-model="updateform.syPremiumTax"
|
|
|
- autocomplete="off"
|
|
|
- class="widths"
|
|
|
- ></el-input>
|
|
|
+ <el-input v-model="updateform.syPremiumTax" autocomplete="off" class="widths"></el-input>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="非车保费:">
|
|
|
- <el-input
|
|
|
- v-model="updateform.nonCarPremiumTax"
|
|
|
- autocomplete="off"
|
|
|
- class="widths"
|
|
|
- ></el-input>
|
|
|
+ <el-input v-model="updateform.nonCarPremiumTax" autocomplete="off" class="widths"></el-input>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="被保险人:">
|
|
|
- <el-input
|
|
|
- v-model="updateform.insuredName"
|
|
|
- autocomplete="off"
|
|
|
- class="widths"
|
|
|
- ></el-input>
|
|
|
+ <el-input v-model="updateform.insuredName" autocomplete="off" class="widths"></el-input>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="车牌号:">
|
|
|
- <el-input
|
|
|
- v-model="updateform.licenseno"
|
|
|
- autocomplete="off"
|
|
|
- class="widths"
|
|
|
- ></el-input>
|
|
|
+ <el-input v-model="updateform.licenseno" autocomplete="off" class="widths"></el-input>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="交强应收比例:">
|
|
|
- <el-input
|
|
|
- v-model="updateform.jqReceivableRatio"
|
|
|
- autocomplete="off"
|
|
|
- class="widths"
|
|
|
- ></el-input>
|
|
|
+ <el-input v-model="updateform.jqReceivableRatio" autocomplete="off" class="widths"></el-input>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="商业应收比例:">
|
|
|
- <el-input
|
|
|
- v-model="updateform.syReceivableRatio"
|
|
|
- autocomplete="off"
|
|
|
- class="widths"
|
|
|
- ></el-input>
|
|
|
+ <el-input v-model="updateform.syReceivableRatio" autocomplete="off" class="widths"></el-input>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="非车应收比例:">
|
|
|
- <el-input
|
|
|
- v-model="updateform.nonCarReceivableRatio"
|
|
|
- autocomplete="off"
|
|
|
- class="widths"
|
|
|
- ></el-input>
|
|
|
+ <el-input v-model="updateform.nonCarReceivableRatio" autocomplete="off" class="widths"></el-input>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="保司结算状态:">
|
|
|
- <el-select
|
|
|
- v-model="updateform.insuranceClearingState"
|
|
|
- placeholder="请选择状态"
|
|
|
- class="widths"
|
|
|
- >
|
|
|
- <el-option
|
|
|
- :disabled="insuranceClearingStatedisableStatus"
|
|
|
- label="未结算"
|
|
|
- value="0"
|
|
|
- ></el-option>
|
|
|
+ <el-select v-model="updateform.insuranceClearingState" placeholder="请选择状态" class="widths">
|
|
|
+ <el-option :disabled="insuranceClearingStatedisableStatus" label="未结算" value="0"></el-option>
|
|
|
<el-option label="已结算" value="1"></el-option>
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
</el-form>
|
|
|
<div slot="footer" class="dialog-footer">
|
|
|
- <el-button size="small" @click="dialogFormVisible = false"
|
|
|
- >取 消</el-button
|
|
|
- >
|
|
|
- <el-button size="small" type="primary" @click="updateSubmit"
|
|
|
- >确 定</el-button
|
|
|
- >
|
|
|
+ <el-button size="small" @click="dialogFormVisible = false">取 消</el-button>
|
|
|
+ <el-button size="small" type="primary" @click="updateSubmit">确 定</el-button>
|
|
|
</div>
|
|
|
</el-dialog>
|
|
|
<el-dialog title="批量修改" :visible.sync="dialogUpdateVisible" width="20%">
|
|
|
- <el-select
|
|
|
- v-model="insuranceClearingState"
|
|
|
- placeholder="请选择"
|
|
|
- class="widths"
|
|
|
- size="small"
|
|
|
- >
|
|
|
+ <el-select v-model="insuranceClearingState" placeholder="请选择" class="widths" size="small">
|
|
|
<el-option disabled label="未结算" value="0"></el-option>
|
|
|
<el-option label="已结算" value="1"></el-option>
|
|
|
</el-select>
|
|
|
<div slot="footer" class="dialog-footer">
|
|
|
- <el-button size="small" @click="dialogUpdateVisible = false"
|
|
|
- >取 消</el-button
|
|
|
- >
|
|
|
- <el-button size="small" type="primary" @click="BulkUpdate"
|
|
|
- >确 定</el-button
|
|
|
- >
|
|
|
+ <el-button size="small" @click="dialogUpdateVisible = false">取 消</el-button>
|
|
|
+ <el-button size="small" type="primary" @click="BulkUpdate">确 定</el-button>
|
|
|
</div>
|
|
|
</el-dialog>
|
|
|
- <el-dialog
|
|
|
- title="新增数据"
|
|
|
- :visible.sync="createOrUpdateVisible"
|
|
|
- v-dialogDrag
|
|
|
- :close-on-click-modal="false"
|
|
|
- width="90%"
|
|
|
- >
|
|
|
- <el-form
|
|
|
- :model="createOrUpdateForm"
|
|
|
- :inline="true"
|
|
|
- label-width="130px"
|
|
|
- size="small"
|
|
|
- >
|
|
|
+ <el-dialog title="新增数据" :visible.sync="createOrUpdateVisible" v-dialogDrag :close-on-click-modal="false" width="90%">
|
|
|
+ <el-form :model="createOrUpdateForm" :inline="true" label-width="130px" size="small">
|
|
|
<el-form-item label="保险公司">
|
|
|
- <el-select
|
|
|
- v-model="createOrUpdateForm.insuranceId"
|
|
|
- filterable
|
|
|
- placeholder="请选择保险公司"
|
|
|
- class="widths"
|
|
|
- @change="conmpanydropdownEvent"
|
|
|
- clearable
|
|
|
- >
|
|
|
- <el-option
|
|
|
- v-for="val in companyList"
|
|
|
- :key="val.id"
|
|
|
- :label="val.name"
|
|
|
- :value="val.id"
|
|
|
- ></el-option>
|
|
|
+ <el-select v-model="createOrUpdateForm.insuranceId" filterable placeholder="请选择保险公司" class="widths"
|
|
|
+ @change="conmpanydropdownEvent" clearable>
|
|
|
+ <el-option v-for="val in companyList" :key="val.id" :label="val.name" :value="val.id"></el-option>
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="保司机构">
|
|
|
- <el-input
|
|
|
- v-model="createOrUpdateForm.insuranceDept"
|
|
|
- autocomplete="off"
|
|
|
- placeholder="录入保司机构"
|
|
|
- class="widths"
|
|
|
- ></el-input>
|
|
|
+ <el-input v-model="createOrUpdateForm.insuranceDept" autocomplete="off" placeholder="录入保司机构"
|
|
|
+ class="widths"></el-input>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="保司机构代码">
|
|
|
- <el-input
|
|
|
- v-model="createOrUpdateForm.insuranceDeptId"
|
|
|
- autocomplete="off"
|
|
|
- placeholder="录入保司机构代码"
|
|
|
- class="widths"
|
|
|
- ></el-input>
|
|
|
+ <el-input v-model="createOrUpdateForm.insuranceDeptId" autocomplete="off" placeholder="录入保司机构代码"
|
|
|
+ class="widths"></el-input>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="险种">
|
|
|
- <el-input
|
|
|
- v-model="createOrUpdateForm.risk"
|
|
|
- autocomplete="off"
|
|
|
- placeholder="录入险种"
|
|
|
- class="widths"
|
|
|
- ></el-input>
|
|
|
+ <el-input v-model="createOrUpdateForm.risk" autocomplete="off" placeholder="录入险种" class="widths"></el-input>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="交强保单号">
|
|
|
- <el-input
|
|
|
- v-model="createOrUpdateForm.jqPolicyId"
|
|
|
- autocomplete="off"
|
|
|
- placeholder="录入交强保单号"
|
|
|
- class="widths"
|
|
|
- ></el-input>
|
|
|
+ <el-input v-model="createOrUpdateForm.jqPolicyId" autocomplete="off" placeholder="录入交强保单号"
|
|
|
+ class="widths"></el-input>
|
|
|
</el-form-item>
|
|
|
|
|
|
<el-form-item label="交强险保费">
|
|
|
- <el-input
|
|
|
- v-model="createOrUpdateForm.jqPremiumTax"
|
|
|
- autocomplete="off"
|
|
|
- placeholder="录入交强险保费"
|
|
|
- class="widths"
|
|
|
- ></el-input>
|
|
|
+ <el-input v-model="createOrUpdateForm.jqPremiumTax" autocomplete="off" placeholder="录入交强险保费"
|
|
|
+ class="widths"></el-input>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="商业保单号">
|
|
|
- <el-input
|
|
|
- v-model="createOrUpdateForm.syPolicyId"
|
|
|
- autocomplete="off"
|
|
|
- placeholder="录入商业保单号"
|
|
|
- class="widths"
|
|
|
- ></el-input>
|
|
|
+ <el-input v-model="createOrUpdateForm.syPolicyId" autocomplete="off" placeholder="录入商业保单号"
|
|
|
+ class="widths"></el-input>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="商业险保费">
|
|
|
- <el-input
|
|
|
- v-model="createOrUpdateForm.syPremiumTax"
|
|
|
- autocomplete="off"
|
|
|
- placeholder="录入商业险保费"
|
|
|
- class="widths"
|
|
|
- ></el-input>
|
|
|
+ <el-input v-model="createOrUpdateForm.syPremiumTax" autocomplete="off" placeholder="录入商业险保费"
|
|
|
+ class="widths"></el-input>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="非车保单号">
|
|
|
- <el-input
|
|
|
- v-model="createOrUpdateForm.nonCarPolicyId"
|
|
|
- autocomplete="off"
|
|
|
- placeholder="录入非车保单号"
|
|
|
- class="widths"
|
|
|
- ></el-input>
|
|
|
+ <el-input v-model="createOrUpdateForm.nonCarPolicyId" autocomplete="off" placeholder="录入非车保单号"
|
|
|
+ class="widths"></el-input>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="非车保费">
|
|
|
- <el-input
|
|
|
- v-model="createOrUpdateForm.nonCarPremiumTax"
|
|
|
- autocomplete="off"
|
|
|
- placeholder="录入非车保费"
|
|
|
- class="widths"
|
|
|
- ></el-input>
|
|
|
+ <el-input v-model="createOrUpdateForm.nonCarPremiumTax" autocomplete="off" placeholder="录入非车保费"
|
|
|
+ class="widths"></el-input>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="被保险人">
|
|
|
- <el-input
|
|
|
- v-model="createOrUpdateForm.insuredName"
|
|
|
- autocomplete="off"
|
|
|
- placeholder="录入被保险人"
|
|
|
- class="widths"
|
|
|
- ></el-input>
|
|
|
+ <el-input v-model="createOrUpdateForm.insuredName" autocomplete="off" placeholder="录入被保险人"
|
|
|
+ class="widths"></el-input>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="车牌号">
|
|
|
- <el-input
|
|
|
- v-model="createOrUpdateForm.licenseno"
|
|
|
- autocomplete="off"
|
|
|
- placeholder="录入车牌号"
|
|
|
- class="widths"
|
|
|
- ></el-input>
|
|
|
+ <el-input v-model="createOrUpdateForm.licenseno" autocomplete="off" placeholder="录入车牌号"
|
|
|
+ class="widths"></el-input>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="出单日期">
|
|
|
- <el-date-picker
|
|
|
- v-model="createOrUpdateForm.signingTime"
|
|
|
- type="date"
|
|
|
- value-format="yyyy-MM-dd"
|
|
|
- style="width: 250px"
|
|
|
- clearable
|
|
|
- placeholder="选择出单日期"
|
|
|
- >
|
|
|
+ <el-date-picker v-model="createOrUpdateForm.signingTime" type="date" value-format="yyyy-MM-dd"
|
|
|
+ style="width: 250px" clearable placeholder="选择出单日期">
|
|
|
</el-date-picker>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="结算日期">
|
|
|
- <el-date-picker
|
|
|
- v-model="createOrUpdateForm.clearingTime"
|
|
|
- type="date"
|
|
|
- value-format="yyyy-MM-dd"
|
|
|
- clearable
|
|
|
- placeholder="选择结算日期"
|
|
|
- style="width: 250px"
|
|
|
- >
|
|
|
+ <el-date-picker v-model="createOrUpdateForm.clearingTime" type="date" value-format="yyyy-MM-dd" clearable
|
|
|
+ placeholder="选择结算日期" style="width: 250px">
|
|
|
</el-date-picker>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="车船税">
|
|
|
- <el-input
|
|
|
- v-model="createOrUpdateForm.taxamount"
|
|
|
- autocomplete="off"
|
|
|
- placeholder="录入车船税"
|
|
|
- class="widths"
|
|
|
- ></el-input>
|
|
|
+ <el-input v-model="createOrUpdateForm.taxamount" autocomplete="off" placeholder="录入车船税"
|
|
|
+ class="widths"></el-input>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="交强应收比例">
|
|
|
- <el-input
|
|
|
- v-model="createOrUpdateForm.jqReceivableRatio"
|
|
|
- autocomplete="off"
|
|
|
- placeholder="录入交强应收比例"
|
|
|
- class="widths"
|
|
|
- ></el-input>
|
|
|
+ <el-input v-model="createOrUpdateForm.jqReceivableRatio" autocomplete="off" placeholder="录入交强应收比例"
|
|
|
+ class="widths"></el-input>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="交强手续费比例">
|
|
|
- <el-input
|
|
|
- v-model="createOrUpdateForm.jqPremiumRatio"
|
|
|
- autocomplete="off"
|
|
|
- placeholder="录入交强手续费比例"
|
|
|
- class="widths"
|
|
|
- ></el-input>
|
|
|
+ <el-input v-model="createOrUpdateForm.jqPremiumRatio" autocomplete="off" placeholder="录入交强手续费比例"
|
|
|
+ class="widths"></el-input>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="交强非跟单比例">
|
|
|
- <el-input
|
|
|
- v-model="createOrUpdateForm.jqNonCopyingRatio"
|
|
|
- autocomplete="off"
|
|
|
- placeholder="录入交强非跟单比例"
|
|
|
- class="widths"
|
|
|
- ></el-input>
|
|
|
+ <el-input v-model="createOrUpdateForm.jqNonCopyingRatio" autocomplete="off" placeholder="录入交强非跟单比例"
|
|
|
+ class="widths"></el-input>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="商业应收比例">
|
|
|
- <el-input
|
|
|
- v-model="createOrUpdateForm.syReceivableRatio"
|
|
|
- autocomplete="off"
|
|
|
- placeholder="录入商业应收比例"
|
|
|
- class="widths"
|
|
|
- ></el-input>
|
|
|
+ <el-input v-model="createOrUpdateForm.syReceivableRatio" autocomplete="off" placeholder="录入商业应收比例"
|
|
|
+ class="widths"></el-input>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="商业手续费比例">
|
|
|
- <el-input
|
|
|
- v-model="createOrUpdateForm.syPremiumRatio"
|
|
|
- autocomplete="off"
|
|
|
- placeholder="录入商业手续费比例"
|
|
|
- class="widths"
|
|
|
- ></el-input>
|
|
|
+ <el-input v-model="createOrUpdateForm.syPremiumRatio" autocomplete="off" placeholder="录入商业手续费比例"
|
|
|
+ class="widths"></el-input>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="商业非跟单比例">
|
|
|
- <el-input
|
|
|
- v-model="createOrUpdateForm.syNonCopyingRatio"
|
|
|
- autocomplete="off"
|
|
|
- placeholder="录入商业非跟单比例"
|
|
|
- class="widths"
|
|
|
- ></el-input>
|
|
|
+ <el-input v-model="createOrUpdateForm.syNonCopyingRatio" autocomplete="off" placeholder="录入商业非跟单比例"
|
|
|
+ class="widths"></el-input>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="非车应收比例">
|
|
|
- <el-input
|
|
|
- v-model="createOrUpdateForm.nonCarReceivableRatio"
|
|
|
- autocomplete="off"
|
|
|
- placeholder="录入非车应收比例"
|
|
|
- class="widths"
|
|
|
- ></el-input>
|
|
|
+ <el-input v-model="createOrUpdateForm.nonCarReceivableRatio" autocomplete="off" placeholder="录入非车应收比例"
|
|
|
+ class="widths"></el-input>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="非车手续费比例">
|
|
|
- <el-input
|
|
|
- v-model="createOrUpdateForm.nonCarPremiumRatio"
|
|
|
- autocomplete="off"
|
|
|
- placeholder="录入非车手续费比例"
|
|
|
- class="widths"
|
|
|
- ></el-input>
|
|
|
+ <el-input v-model="createOrUpdateForm.nonCarPremiumRatio" autocomplete="off" placeholder="录入非车手续费比例"
|
|
|
+ class="widths"></el-input>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="非车非跟单比例">
|
|
|
- <el-input
|
|
|
- v-model="createOrUpdateForm.nonCarNonCopyingRatio"
|
|
|
- autocomplete="off"
|
|
|
- placeholder="录入非车非跟单比例"
|
|
|
- class="widths"
|
|
|
- ></el-input>
|
|
|
+ <el-input v-model="createOrUpdateForm.nonCarNonCopyingRatio" autocomplete="off" placeholder="录入非车非跟单比例"
|
|
|
+ class="widths"></el-input>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="最大交强应付比例">
|
|
|
- <el-input
|
|
|
- v-model="createOrUpdateForm.maxJqReceivableRatio"
|
|
|
- autocomplete="off"
|
|
|
- placeholder="录入最大交强应付比例"
|
|
|
- class="widths"
|
|
|
- ></el-input>
|
|
|
+ <el-input v-model="createOrUpdateForm.maxJqReceivableRatio" autocomplete="off" placeholder="录入最大交强应付比例"
|
|
|
+ class="widths"></el-input>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="最大商业应付比例">
|
|
|
- <el-input
|
|
|
- v-model="createOrUpdateForm.maxSyReceivableRatio"
|
|
|
- autocomplete="off"
|
|
|
- placeholder="录入最大商业应付比例"
|
|
|
- class="widths"
|
|
|
- ></el-input>
|
|
|
+ <el-input v-model="createOrUpdateForm.maxSyReceivableRatio" autocomplete="off" placeholder="录入最大商业应付比例"
|
|
|
+ class="widths"></el-input>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="最大非车应付比例">
|
|
|
- <el-input
|
|
|
- v-model="createOrUpdateForm.maxNonCarReceivableRatio"
|
|
|
- autocomplete="off"
|
|
|
- placeholder="录入最大非车应付比例"
|
|
|
- class="widths"
|
|
|
- ></el-input>
|
|
|
+ <el-input v-model="createOrUpdateForm.maxNonCarReceivableRatio" autocomplete="off" placeholder="录入最大非车应付比例"
|
|
|
+ class="widths"></el-input>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="补贴比例">
|
|
|
- <el-input
|
|
|
- v-model="createOrUpdateForm.subsidyRatio"
|
|
|
- autocomplete="off"
|
|
|
- placeholder="录入补贴比例"
|
|
|
- class="widths"
|
|
|
- ></el-input>
|
|
|
+ <el-input v-model="createOrUpdateForm.subsidyRatio" autocomplete="off" placeholder="录入补贴比例"
|
|
|
+ class="widths"></el-input>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="结算状态">
|
|
|
- <el-select
|
|
|
- v-model="createOrUpdateForm.clearingState"
|
|
|
- placeholder="请选择状态"
|
|
|
- class="widths"
|
|
|
- >
|
|
|
+ <el-select v-model="createOrUpdateForm.clearingState" placeholder="请选择状态" class="widths">
|
|
|
<el-option label="未结算" value="0"></el-option>
|
|
|
<el-option label="已结算" value="1"></el-option>
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
<el-form-item label="保司结算状态">
|
|
|
- <el-select
|
|
|
- v-model="createOrUpdateForm.insuranceClearingState"
|
|
|
- placeholder="请选择状态"
|
|
|
- class="widths"
|
|
|
- >
|
|
|
+ <el-select v-model="createOrUpdateForm.insuranceClearingState" placeholder="请选择状态" class="widths">
|
|
|
<el-option label="未结算" value="0"></el-option>
|
|
|
<el-option label="已结算" value="1"></el-option>
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
</el-form>
|
|
|
<div slot="footer" class="dialog-footer">
|
|
|
- <el-button size="small" @click="createOrUpdateVisible = false"
|
|
|
- >取 消</el-button
|
|
|
- >
|
|
|
- <el-button size="small" type="primary" @click="insertData"
|
|
|
- >提交</el-button
|
|
|
- >
|
|
|
+ <el-button size="small" @click="createOrUpdateVisible = false">取 消</el-button>
|
|
|
+ <el-button size="small" type="primary" @click="insertData">提交</el-button>
|
|
|
</div>
|
|
|
</el-dialog>
|
|
|
</div>
|
|
|
@@ -775,8 +449,25 @@ export default {
|
|
|
created() {
|
|
|
this.companyInt();
|
|
|
},
|
|
|
- mounted() {},
|
|
|
+ mounted() { },
|
|
|
methods: {
|
|
|
+ //模板下载
|
|
|
+ templateDownload() {
|
|
|
+ this.$api.task.sourceTemplate().then((res) => {
|
|
|
+ if (res.code == '200') {
|
|
|
+ let url = process.env.BASE_URL + res.data;
|
|
|
+ let a = document.createElement("a");
|
|
|
+ a.href = url;
|
|
|
+ a.click();
|
|
|
+ window.URL.revokeObjectURL(url);
|
|
|
+ } else {
|
|
|
+ this.$message({
|
|
|
+ type: 'error',
|
|
|
+ message: res.msg,
|
|
|
+ });
|
|
|
+ }
|
|
|
+ });
|
|
|
+ },
|
|
|
//新增数据
|
|
|
insertData() {
|
|
|
this.$api.task
|
|
|
@@ -941,7 +632,7 @@ export default {
|
|
|
}
|
|
|
});
|
|
|
})
|
|
|
- .catch(() => {});
|
|
|
+ .catch(() => { });
|
|
|
},
|
|
|
updateSubmit() {
|
|
|
this.$api.task.SourceUpdate(this.updateform).then((res) => {
|