|
|
@@ -34,7 +34,8 @@
|
|
|
<el-col :xs="24" :sm="24" :md="12" :lg="8" :xl="6">
|
|
|
<el-form-item label="订单状态">
|
|
|
<el-select v-model="pageRequest.orderStatus" disabled class="widths" clearable>
|
|
|
- <el-option v-for="val in optionsStatus" :key='val.dictValue' :label="val.dictTag" v-model="val.dictValue" ></el-option>
|
|
|
+ <el-option v-for="val in optionsStatus" :key='val.dictValue' :label="val.dictTag"
|
|
|
+ v-model="val.dictValue"></el-option>
|
|
|
<!-- <el-option label="未审核" value="0"></el-option>
|
|
|
<el-option label="审核通过" value="1"></el-option> -->
|
|
|
</el-select>
|
|
|
@@ -50,8 +51,8 @@
|
|
|
</el-col>
|
|
|
<el-col :xs="24" :sm="24" :md="12" :lg="8" :xl="6">
|
|
|
<el-form-item label="保险公司">
|
|
|
- <el-select v-model="pageRequest.companyId" filterable class="widths" clearable>
|
|
|
- <el-option v-for="val in companyList" :key='val.id' :label="val.name" v-model="val.id" ></el-option>
|
|
|
+ <el-select v-model="pageRequest.companyId" filterable class="widths" clearable>
|
|
|
+ <el-option v-for="val in companyList" :key='val.id' :label="val.name" v-model="val.id"></el-option>
|
|
|
</el-select>
|
|
|
|
|
|
</el-form-item>
|
|
|
@@ -59,22 +60,22 @@
|
|
|
<el-col :xs="24" :sm="24" :md="12" :lg="8" :xl="3">
|
|
|
|
|
|
<kt-button label="查询" type="primary" perms="carInsurance:expenseVerification:pendingReview:query"
|
|
|
- @click="onSubmit" />
|
|
|
+ @click="onSubmit" />
|
|
|
</el-col>
|
|
|
</el-row>
|
|
|
</el-form>
|
|
|
<el-table size="small" :data="pageResult" height="590" border v-loading="loading" highlight-current-row stripe
|
|
|
- @expand-change="handleRowChange" ref="expandTable"
|
|
|
+ @expand-change="handleRowChange" ref="expandTable"
|
|
|
:header-cell-style="{ background: '#F2F7FC', fontWeight: '700', color: '#606266' }">
|
|
|
- <el-table-column prop="orderno" label="订单号" align="center"></el-table-column>
|
|
|
+ <el-table-column prop="orderno" label="订单号" align="center"></el-table-column>
|
|
|
<el-table-column prop="username" label="业务员" align="center">
|
|
|
<template slot-scope="scope">
|
|
|
- <span>{{scope.row.username}}({{scope.row.userid}})</span>
|
|
|
+ <span>{{ scope.row.username }}({{ scope.row.userid }})</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="insCompany" label="承保公司" width="180" align="center">
|
|
|
<template slot-scope="scope">
|
|
|
- <span>{{scope.row.insCompany?scope.row.insCompany:'--'}}</span>
|
|
|
+ <span>{{ scope.row.insCompany ? scope.row.insCompany : '--' }}</span>
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
<el-table-column prop="licenseno" label="车牌号" width="180" align="center"></el-table-column>
|
|
|
@@ -94,7 +95,7 @@
|
|
|
<el-table-column label="操作" align="center" min-width="100" fixed="right">
|
|
|
<template slot-scope="scope">
|
|
|
<kt-button label="审核" type="text" perms="carInsurance:expenseVerification:pendingReview:review"
|
|
|
- @click="OrderDetails(scope.row)" />
|
|
|
+ @click="OrderDetails(scope.row)" />
|
|
|
</template>
|
|
|
</el-table-column>
|
|
|
</el-table>
|
|
|
@@ -208,7 +209,7 @@
|
|
|
</div>
|
|
|
<el-descriptions size="small">
|
|
|
<el-descriptions-item label="车主姓名">{{ orderInfo.ownerinfo.name }}</el-descriptions-item>
|
|
|
- <el-descriptions-item label="证件类型"> {{ orderInfo.ownerinfo.identifyType}}</el-descriptions-item>
|
|
|
+ <el-descriptions-item label="证件类型"> {{ orderInfo.ownerinfo.identifyType }}</el-descriptions-item>
|
|
|
<el-descriptions-item label="身份证号">{{ orderInfo.ownerinfo.identifyNumber }}</el-descriptions-item>
|
|
|
<el-descriptions-item label="手机号">{{ orderInfo.ownerinfo.mobile }}</el-descriptions-item>
|
|
|
<el-descriptions-item label="地址">{{ orderInfo.ownerinfo.addr }}</el-descriptions-item>
|
|
|
@@ -224,7 +225,7 @@
|
|
|
</div>
|
|
|
<el-descriptions size="small">
|
|
|
<el-descriptions-item label="投保人姓名">{{ orderInfo.applyinfo.name }}</el-descriptions-item>
|
|
|
- <el-descriptions-item label="证件类型"> {{ orderInfo.applyinfo.identifyType}}</el-descriptions-item>
|
|
|
+ <el-descriptions-item label="证件类型"> {{ orderInfo.applyinfo.identifyType }}</el-descriptions-item>
|
|
|
<el-descriptions-item label="身份证号">{{ orderInfo.applyinfo.identifyNumber }}</el-descriptions-item>
|
|
|
<el-descriptions-item label="手机号">{{ orderInfo.applyinfo.mobile }}</el-descriptions-item>
|
|
|
<el-descriptions-item label="地址">{{ orderInfo.applyinfo.addr }}</el-descriptions-item>
|
|
|
@@ -240,7 +241,7 @@
|
|
|
</div>
|
|
|
<el-descriptions size="small">
|
|
|
<el-descriptions-item label="被保人姓名">{{ orderInfo.insureinfo.name }}</el-descriptions-item>
|
|
|
- <el-descriptions-item label="证件类型"> {{ orderInfo.insureinfo.identifyType}}</el-descriptions-item>
|
|
|
+ <el-descriptions-item label="证件类型"> {{ orderInfo.insureinfo.identifyType }}</el-descriptions-item>
|
|
|
<el-descriptions-item label="身份证号">{{ orderInfo.insureinfo.identifyNumber }}</el-descriptions-item>
|
|
|
<el-descriptions-item label="手机号">{{ orderInfo.insureinfo.mobile }}</el-descriptions-item>
|
|
|
<el-descriptions-item label="地址">{{ orderInfo.insureinfo.addr }}</el-descriptions-item>
|
|
|
@@ -277,24 +278,24 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div class="Enclosure" v-if="orderInfo.accidentInfo&&orderInfo.accidentInfo.length>0">
|
|
|
+ <div class="Enclosure" v-if="orderInfo.accidentInfo && orderInfo.accidentInfo.length > 0">
|
|
|
<div class="home flex j-s a-c back">
|
|
|
<div class="flex j-s a-c color">
|
|
|
<img src="../../../../../src/icon/company.png" alt class="icon-img" />
|
|
|
<span style="margin-left:10px;">驾意险</span>
|
|
|
</div>
|
|
|
</div>
|
|
|
- <div style="font-size:12px" >
|
|
|
+ <div style="font-size:12px">
|
|
|
<div class="jyxStyle" style=" font-weight: bold;color: #333;">
|
|
|
<span style="width:50%;margin-left:50px">产品</span>
|
|
|
<span style="width:20%">份数</span>
|
|
|
<span style="width:20%">价格</span>
|
|
|
</div>
|
|
|
- <div v-for="(kindinfoitem, kindinfoindex) in orderInfo.accidentInfo" :key="kindinfoindex">
|
|
|
+ <div v-for="(kindinfoitem, kindinfoindex) in orderInfo.accidentInfo" :key="kindinfoindex">
|
|
|
<div style="margin-top:20px" class="jyxStyle">
|
|
|
<span style="width:50%;margin-left:50px">{{ kindinfoitem.projectName }}</span>
|
|
|
- <span style="width:20%">{{ kindinfoitem.quantity ?kindinfoitem.quantity:'1' }}</span>
|
|
|
- <span style="width:20%">{{ kindinfoitem.actualPremium}}/份</span>
|
|
|
+ <span style="width:20%">{{ kindinfoitem.quantity ? kindinfoitem.quantity : '1' }}</span>
|
|
|
+ <span style="width:20%">{{ kindinfoitem.actualPremium }}/份</span>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
@@ -342,30 +343,70 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
<div style="font-size:12px;width: 100%" class="FeeEnclosure">
|
|
|
- <el-table :data="feeOrderNewVo" :border="true" width="100%" :stripe="true" size="mini" :header-cell-style="{
|
|
|
- background: '#F7F7F9',
|
|
|
- fontWeight: '700',
|
|
|
- color: '#606266',
|
|
|
- }">
|
|
|
- <el-table-column label="入口费用">
|
|
|
- <el-table-column prop="insuranceType" label="险种" ></el-table-column>
|
|
|
- <el-table-column prop="otherCostsProportion" label="跟单比例" ></el-table-column>
|
|
|
- <el-table-column prop="superviseCosts" label="手续费比例" ></el-table-column>
|
|
|
- <el-table-column prop="totalProportion" label="总比例" ></el-table-column>
|
|
|
- <el-table-column prop="premium" label="保费" ></el-table-column>
|
|
|
- <el-table-column prop="otherCostsPremiums" label="跟单费" ></el-table-column>
|
|
|
- <el-table-column prop="sySuperviseCostsPremiums" label="手续费" ></el-table-column>
|
|
|
- <el-table-column prop="totalAmount" label="总费用" ></el-table-column>
|
|
|
- </el-table-column>
|
|
|
- <el-table-column label="出口费用">
|
|
|
- <el-table-column prop="exportInsuranceType" label="险种" ></el-table-column>
|
|
|
- <el-table-column prop="exportOtherCostsProportion" label="跟单比例" ></el-table-column>
|
|
|
- <el-table-column prop="exportSuperviseCosts" label="手续费比例" ></el-table-column>
|
|
|
- <el-table-column prop="exportTotalProportion" label="总比例" ></el-table-column>
|
|
|
- <el-table-column prop="exportOtherCostsPremiums" label="跟单费" ></el-table-column>
|
|
|
- <el-table-column prop="exportSuperviseCostsPremiums" label="手续费" ></el-table-column>
|
|
|
- <el-table-column prop="exportTotalAmount" label="总费用" ></el-table-column>
|
|
|
- </el-table-column>
|
|
|
+ <el-table :data="feeOrderNewVo" :border="true" width="100%" :stripe="true" size="mini" :header-cell-style="{
|
|
|
+ background: '#F7F7F9',
|
|
|
+ fontWeight: '700',
|
|
|
+ color: '#606266',
|
|
|
+ }">
|
|
|
+ <el-table-column label="入口费用">
|
|
|
+ <el-table-column prop="insuranceType" label="险种">
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="otherCostsProportion" label="跟单比例">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <span v-if="!adjustFeeFlag">{{ scope.row.otherCostsProportion }} </span>
|
|
|
+ <el-input v-else v-model="scope.row.otherCostsProportion" size="mini"></el-input>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="superviseCosts" label="手续费比例">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <span v-if="!adjustFeeFlag">{{ scope.row.superviseCosts }} </span>
|
|
|
+ <el-input v-else v-model="scope.row.superviseCosts" size="mini"></el-input>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="totalProportion" label="总比例">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <span v-if="!adjustFeeFlag">{{ scope.row.totalProportion }} </span>
|
|
|
+ <el-input v-else v-model="scope.row.totalProportion" size="mini"></el-input>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="premium" label="保费">
|
|
|
+
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="otherCostsPremiums" label="跟单费">
|
|
|
+
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="sySuperviseCostsPremiums" label="手续费">
|
|
|
+
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="totalAmount" label="总费用">
|
|
|
+
|
|
|
+ </el-table-column>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column label="出口费用">
|
|
|
+ <el-table-column prop="exportInsuranceType" label="险种">
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="exportOtherCostsProportion" label="跟单比例">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <span v-if="!adjustFeeFlag">{{ scope.row.exportOtherCostsProportion }} </span>
|
|
|
+ <el-input v-else v-model="scope.row.exportOtherCostsProportion" size="mini"></el-input>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="exportSuperviseCosts" label="手续费比例">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <span v-if="!adjustFeeFlag">{{ scope.row.exportSuperviseCosts }} </span>
|
|
|
+ <el-input v-else v-model="scope.row.exportSuperviseCosts" size="mini"></el-input>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="exportTotalProportion" label="总比例">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <span v-if="!adjustFeeFlag">{{ scope.row.exportTotalProportion }} </span>
|
|
|
+ <el-input v-else v-model="scope.row.exportTotalProportion" size="mini"></el-input>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="exportOtherCostsPremiums" label="跟单费"></el-table-column>
|
|
|
+ <el-table-column prop="exportSuperviseCostsPremiums" label="手续费"></el-table-column>
|
|
|
+ <el-table-column prop="exportTotalAmount" label="总费用"></el-table-column>
|
|
|
+ </el-table-column>
|
|
|
</el-table>
|
|
|
</div>
|
|
|
</div>
|
|
|
@@ -377,22 +418,53 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
<div style="font-size:12px;width: 100%" class="FeeEnclosure">
|
|
|
- <el-table :data="orderInfo.feeOrderNewVo.deptManagerFee" :border="true" width="100%" :stripe="true" size="mini" :header-cell-style="{
|
|
|
- background: '#F7F7F9',
|
|
|
- fontWeight: '700',
|
|
|
- color: '#606266',
|
|
|
- }">
|
|
|
- <el-table-column prop="insuranceType" label="险种" ></el-table-column>
|
|
|
- <el-table-column prop="deptProportionLevelOne" label="一级管理费比例" ></el-table-column>
|
|
|
- <el-table-column prop="deptProportionLevelTwo" label="二级管理费比例 " ></el-table-column>
|
|
|
- <el-table-column prop="deptProportionLevelThree" label="三级管理费比例" ></el-table-column>
|
|
|
- <el-table-column prop="deptProportionLevelFoure" label="四级管理费比例" ></el-table-column>
|
|
|
- <el-table-column prop="deptProportionLevelFive" label="五级管理费比例" ></el-table-column>
|
|
|
- <el-table-column prop="deptPremiumsLevelOne" label="一级管理费" ></el-table-column>
|
|
|
- <el-table-column prop="deptPremiumsLevelTwo" label="二级管理费" ></el-table-column>
|
|
|
- <el-table-column prop="deptPremiumsLevelThree" label="三级管理费" ></el-table-column>
|
|
|
- <el-table-column prop="deptPremiumsLevelFoure" label="四级管理费" ></el-table-column>
|
|
|
- <el-table-column prop="deptPremiumsLevelFive" label="五级管理费" ></el-table-column>
|
|
|
+ <el-table :data="orderInfo.feeOrderNewVo.deptManagerFee" :border="true" width="100%" :stripe="true" size="mini"
|
|
|
+ :header-cell-style="{
|
|
|
+ background: '#F7F7F9',
|
|
|
+ fontWeight: '700',
|
|
|
+ color: '#606266',
|
|
|
+ }">
|
|
|
+ <el-table-column prop="insuranceType" label="险种"></el-table-column>
|
|
|
+ <el-table-column prop="deptProportionLevelOne" label="一级管理费比例">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <span v-if="!adjustFeeFlag">{{ scope.row.deptProportionLevelOne }} </span>
|
|
|
+ <el-input v-else v-model="scope.row.deptProportionLevelOne" size="mini"></el-input>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="deptProportionLevelTwo" label="二级管理费比例 ">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <span v-if="!adjustFeeFlag">{{ scope.row.deptProportionLevelTwo }} </span>
|
|
|
+ <el-input v-else v-model="scope.row.deptProportionLevelTwo" size="mini"></el-input>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="deptProportionLevelThree" label="三级管理费比例">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <span v-if="!adjustFeeFlag">{{ scope.row.deptProportionLevelThree }} </span>
|
|
|
+ <el-input v-else v-model="scope.row.deptProportionLevelThree" size="mini"></el-input>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="deptProportionLevelFoure" label="四级管理费比例">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <span v-if="!adjustFeeFlag">{{ scope.row.deptProportionLevelFoure }} </span>
|
|
|
+ <el-input v-else v-model="scope.row.deptProportionLevelFoure" size="mini"></el-input>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="deptProportionLevelFive" label="五级管理费比例">
|
|
|
+ <template slot-scope="scope">
|
|
|
+ <span v-if="!adjustFeeFlag">{{ scope.row.deptProportionLevelFive }} </span>
|
|
|
+ <el-input v-else v-model="scope.row.deptProportionLevelFive" size="mini"></el-input>
|
|
|
+ </template>
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="deptPremiumsLevelOne" label="一级管理费">
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="deptPremiumsLevelTwo" label="二级管理费">
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="deptPremiumsLevelThree" label="三级管理费">
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="deptPremiumsLevelFoure" label="四级管理费">
|
|
|
+ </el-table-column>
|
|
|
+ <el-table-column prop="deptPremiumsLevelFive" label="五级管理费">
|
|
|
+ </el-table-column>
|
|
|
</el-table>
|
|
|
</div>
|
|
|
</div>
|
|
|
@@ -404,22 +476,28 @@
|
|
|
</div>
|
|
|
</div>
|
|
|
<div style="font-size:12px;width: 100%" class="FeeEnclosure">
|
|
|
- <el-table :data="orderInfo.distributionLevelVoList" :border="true" width="100%" :stripe="true" size="mini" :header-cell-style="{
|
|
|
- background: '#F7F7F9',
|
|
|
- fontWeight: '700',
|
|
|
- color: '#606266',
|
|
|
- }">
|
|
|
- <el-table-column prop="distributionLevel" label="等级" ></el-table-column>
|
|
|
- <el-table-column prop="userName" label="接收人"></el-table-column>
|
|
|
- <el-table-column prop="distributionRatio" label="比例" ></el-table-column>
|
|
|
- <el-table-column prop="amount" label="金额" ></el-table-column>
|
|
|
+ <el-table :data="orderInfo.distributionLevelVoList" :border="true" width="100%" :stripe="true" size="mini"
|
|
|
+ :header-cell-style="{
|
|
|
+ background: '#F7F7F9',
|
|
|
+ fontWeight: '700',
|
|
|
+ color: '#606266',
|
|
|
+ }">
|
|
|
+ <el-table-column prop="distributionLevel" label="等级"></el-table-column>
|
|
|
+ <el-table-column prop="userName" label="接收人"></el-table-column>
|
|
|
+ <el-table-column prop="distributionRatio" label="比例"></el-table-column>
|
|
|
+ <el-table-column prop="amount" label="金额"></el-table-column>
|
|
|
</el-table>
|
|
|
</div>
|
|
|
</div>
|
|
|
<span slot="footer" class="dialog-footer" style="display: flex; justify-content: center;align-items: center;">
|
|
|
- <el-button size="small" type="primary" style="background-color: #0EC216; border: 1px solid #0EC216;margin-right: 30px;" @click="adjustFee"><span v-if="adjustFeeFlag">取消调整</span><span v-if="!adjustFeeFlag">调整费用</span></el-button>
|
|
|
- <el-button size="small" type="primary" style="background-color: #0EC216; border: 1px solid #0EC216;margin-right: 30px;" @click="adusitFUn">审核通过</el-button>
|
|
|
- <el-button size="small" type="primary" @click="quotedetailsdialogVisible = false">关 闭</el-button>
|
|
|
+ <el-button size="small" type="warning" v-if="adjustFeeFlag" @click="updatedCost">更改费用</el-button>
|
|
|
+ <el-button size="small" type="primary" style="background-color: #0EC216; border: 1px solid #0EC216;"
|
|
|
+ @click="adjustFee"><span v-if="adjustFeeFlag">取消调整</span><span v-if="!adjustFeeFlag">调整费用</span></el-button>
|
|
|
+
|
|
|
+ <el-button size="small" type="primary"
|
|
|
+ style="background-color: #0EC216; border: 1px solid #0EC216;margin-right: 30px;"
|
|
|
+ @click="adusitFUn">审核通过</el-button>
|
|
|
+ <el-button size="small" type="primary" @click="quotedetailsdialogVisible = false">关 闭</el-button>
|
|
|
</span>
|
|
|
</el-dialog>
|
|
|
</div>
|
|
|
@@ -436,19 +514,19 @@ import KtButton from "@/views/Core/KtButton";//按钮权限组件
|
|
|
import QRCode from "qrcodejs2";
|
|
|
|
|
|
export default {
|
|
|
- components:{
|
|
|
+ components: {
|
|
|
KtButton
|
|
|
},
|
|
|
data() {
|
|
|
return {
|
|
|
- feeOrderNewVo:[], //费用明细
|
|
|
- oldFeeInfo:[],//原始跟单费用比例
|
|
|
- adjustFeeDescInfo:{},//调整费用时使用对象
|
|
|
- adjustFeeFlag:false,
|
|
|
- queryOrders:"",
|
|
|
+ feeOrderNewVo: [], //费用明细
|
|
|
+ oldFeeInfo: [],//原始跟单费用比例
|
|
|
+ adjustFeeDescInfo: {},//调整费用时使用对象
|
|
|
+ adjustFeeFlag: false,
|
|
|
+ queryOrders: "",
|
|
|
value2: "",
|
|
|
- optionsStatus:[],
|
|
|
- quotedetailsdialogVisible:false,
|
|
|
+ optionsStatus: [],
|
|
|
+ quotedetailsdialogVisible: false,
|
|
|
loading: false,
|
|
|
pageNum: 1,//页数
|
|
|
pageSize: 20,//条数
|
|
|
@@ -456,7 +534,7 @@ export default {
|
|
|
peopleid: "",//工号
|
|
|
pageResult: [],//列表
|
|
|
pageRequest: { //查询的默认条件
|
|
|
- auditStatus:"0",
|
|
|
+ auditStatus: "0",
|
|
|
orderNo: "",
|
|
|
frameNo: "",
|
|
|
insuredName: "",
|
|
|
@@ -478,9 +556,9 @@ export default {
|
|
|
kindinfo: [],
|
|
|
riskinfo: [],
|
|
|
ownerinfo: {},
|
|
|
- extendInfo:{}
|
|
|
+ extendInfo: {}
|
|
|
},
|
|
|
- feeDetailInfo:[],//费用明细信息
|
|
|
+ feeDetailInfo: [],//费用明细信息
|
|
|
inscompany: "", //保险公司名称
|
|
|
licenseNo: "", //车牌号
|
|
|
orderstatus: "", //订单状态
|
|
|
@@ -488,7 +566,7 @@ export default {
|
|
|
jqpremium: "",//交强
|
|
|
sypremium: "",//商业
|
|
|
taxamount: "",//车船税
|
|
|
- jypremium:"",//驾意险
|
|
|
+ jypremium: "",//驾意险
|
|
|
jqstartdate: "",//交强时间
|
|
|
systartdate: "",//商业时间
|
|
|
mobile: "",//投保人手机号
|
|
|
@@ -496,20 +574,21 @@ export default {
|
|
|
userid: "",
|
|
|
institutionOptions: [],
|
|
|
width: document.documentElement.clientWidth,
|
|
|
- insAreaCompanyList:[],//子订单list
|
|
|
- companyList:[], //保险公司
|
|
|
+ insAreaCompanyList: [],//子订单list
|
|
|
+ companyList: [], //保险公司
|
|
|
+ oldVersionHistory: [],
|
|
|
}
|
|
|
},
|
|
|
created() {
|
|
|
- this.$api.letter.gainTopList().then(res=>{
|
|
|
- this.companyList=res.data
|
|
|
+ this.$api.letter.gainTopList().then(res => {
|
|
|
+ this.companyList = res.data
|
|
|
})
|
|
|
- this.$api.insCompany.dicType('insOrderStatus').then(res=>{
|
|
|
- this.optionsStatus=res.data.ddList
|
|
|
- let filterArr = res.data.ddList.filter(item=>{
|
|
|
+ this.$api.insCompany.dicType('insOrderStatus').then(res => {
|
|
|
+ this.optionsStatus = res.data.ddList
|
|
|
+ let filterArr = res.data.ddList.filter(item => {
|
|
|
return item.dictTag == '已承保'
|
|
|
})
|
|
|
- if(filterArr.length){
|
|
|
+ if (filterArr.length) {
|
|
|
this.pageRequest.orderStatus = filterArr[0].dictValue
|
|
|
}
|
|
|
})
|
|
|
@@ -532,63 +611,98 @@ export default {
|
|
|
window.removeEventListener('resize', this.getDimensions);
|
|
|
},
|
|
|
methods: {
|
|
|
- //交强费用比例调整
|
|
|
- changeJqFeeRate(val){
|
|
|
- if(!(val&&val!='')){
|
|
|
- val=0;
|
|
|
- this.adjustFeeDescInfo.jqOtherFeeRate=0;
|
|
|
- }
|
|
|
- //赋值总费用比例
|
|
|
- this.adjustFeeDescInfo.jqAllFeeRate=Number(val)+Number(this.adjustFeeDescInfo.jqCommissionRate);
|
|
|
- //赋值调整后金额
|
|
|
- let totalFee=this.adjustFeeDescInfo.jqAllFeeRate*this.adjustFeeDescInfo.jqPremium/100;
|
|
|
- totalFee=totalFee.toFixed(2);
|
|
|
- let otherFee=Number(totalFee)-Number(this.adjustFeeDescInfo.jqCommissionAmount);
|
|
|
- otherFee=otherFee.toFixed(2);
|
|
|
- this.adjustFeeDescInfo.jqAllFeeAmount=totalFee;
|
|
|
- this.adjustFeeDescInfo.jqOtherFeeAmount=otherFee;
|
|
|
- },
|
|
|
- //商业费用比例调整
|
|
|
- changeSyFeeRate(val){
|
|
|
- if(!(val&&val!='')){
|
|
|
- val=0;
|
|
|
- this.adjustFeeDescInfo.syOtherFeeRate=0;
|
|
|
+ updatedCost() {
|
|
|
+ const exportFee = [];
|
|
|
+ const entranceFee = [];
|
|
|
+ this.feeOrderNewVo.forEach(item => {
|
|
|
+ const entranceItem = {
|
|
|
+ exportSuperviseCosts: item.exportSuperviseCosts,
|
|
|
+ insuranceType: item.insuranceType,
|
|
|
+ otherCostsPremiums: item.otherCostsPremiums,
|
|
|
+ otherCostsProportion: item.otherCostsProportion,
|
|
|
+ premium: item.premium,
|
|
|
+ superviseCosts: item.superviseCosts,
|
|
|
+ sySuperviseCostsPremiums: item.sySuperviseCostsPremiums,
|
|
|
+ totalAmount: item.totalAmount,
|
|
|
+ totalProportion: item.totalProportion,
|
|
|
+ };
|
|
|
+ const exportItem = {
|
|
|
+ insuranceType: item.exportInsuranceType,
|
|
|
+ otherCostsPremiums: item.exportOtherCostsPremiums,
|
|
|
+ otherCostsProportion: item.exportOtherCostsProportion,
|
|
|
+ superviseCosts: item.exportSuperviseCosts,
|
|
|
+ superviseCostsPremiums: item.exportSuperviseCostsPremiums,
|
|
|
+ totalAmount: item.exportTotalAmount,
|
|
|
+ totalProportion: item.exportTotalProportion
|
|
|
+ };
|
|
|
+ entranceFee.push(entranceItem);
|
|
|
+ exportFee.push(exportItem);
|
|
|
+ });
|
|
|
+ let params = {
|
|
|
+ feeId: this.oldVersionHistory.feeId,
|
|
|
+ feeOrderNewVoOld: this.oldVersionHistory,
|
|
|
+ feeOrderNewVoNew: {
|
|
|
+ deptManagerFee: this.orderInfo.feeOrderNewVo.deptManagerFee,
|
|
|
+ entranceFee: entranceFee,
|
|
|
+ exportFee: exportFee,
|
|
|
+ }
|
|
|
}
|
|
|
- //赋值总费用比例
|
|
|
- this.adjustFeeDescInfo.syAllFeeRate=Number(val)+Number(this.adjustFeeDescInfo.syCommissionRate);
|
|
|
- //赋值调整后金额
|
|
|
- let totalFee=this.adjustFeeDescInfo.syAllFeeRate*this.adjustFeeDescInfo.syPremium/100;
|
|
|
- totalFee=totalFee.toFixed(2);
|
|
|
- let otherFee=Number(totalFee)-Number(this.adjustFeeDescInfo.syCommissionAmount);
|
|
|
- otherFee=otherFee.toFixed(2);
|
|
|
- this.adjustFeeDescInfo.syAllFeeAmount=totalFee;
|
|
|
- this.adjustFeeDescInfo.syOtherFeeAmount=otherFee;
|
|
|
+ this.$api.task.costsadjust(params).then((res) => {
|
|
|
+ if (res.code == '200') {
|
|
|
+ let data=res.data;
|
|
|
+ let list=[];
|
|
|
+ this.orderInfo.feeOrderNewVo.deptManagerFee =data.deptManagerFee;
|
|
|
+ data.exportFee.forEach((val, index) => {
|
|
|
+ list.push({
|
|
|
+ exportInsuranceType: val.insuranceType,
|
|
|
+ exportOtherCostsPremiums: val.otherCostsPremiums,
|
|
|
+ exportOtherCostsProportion: val.otherCostsProportion,
|
|
|
+ exportSuperviseCosts: val.superviseCosts,
|
|
|
+ exportSuperviseCostsPremiums: val.superviseCostsPremiums,
|
|
|
+ exportTotalAmount: val.totalAmount,
|
|
|
+ exportTotalProportion: val.totalProportion,
|
|
|
+ ...data.entranceFee[index]
|
|
|
+ })
|
|
|
+ })
|
|
|
+ this.feeOrderNewVo=list;
|
|
|
+ this.adjustFeeFlag=false;
|
|
|
+ this.$message({
|
|
|
+ type: 'success',
|
|
|
+ message: res.msg,
|
|
|
+ });
|
|
|
+ } else {
|
|
|
+ this.$message({
|
|
|
+ type: 'error',
|
|
|
+ message: res.msg,
|
|
|
+ });
|
|
|
+ }
|
|
|
+ });
|
|
|
},
|
|
|
- closeDialog(){
|
|
|
- this.adjustFeeFlag=false;
|
|
|
+ closeDialog() {
|
|
|
+ this.adjustFeeFlag = false;
|
|
|
},
|
|
|
//调整费用
|
|
|
- adjustFee(){
|
|
|
- this.adjustFeeFlag=!this.adjustFeeFlag;
|
|
|
- if(!this.adjustFeeFlag){
|
|
|
+ adjustFee() {
|
|
|
+ this.adjustFeeFlag = !this.adjustFeeFlag;
|
|
|
+ if (!this.adjustFeeFlag) {
|
|
|
//取消调整时,值置为原始比例
|
|
|
- this.adjustFeeDescInfo={...this.oldFeeInfo}
|
|
|
+ this.adjustFeeDescInfo = { ...this.oldFeeInfo }
|
|
|
}
|
|
|
},
|
|
|
//审核通过
|
|
|
- adusitFUn(){
|
|
|
- let subParam={
|
|
|
- orderNo:this.orderInfo.orderno,
|
|
|
- jqCostsProportionStr:this.adjustFeeDescInfo.jqAllFeeRate,
|
|
|
- syCostsProportionStr:this.adjustFeeDescInfo.syAllFeeRate,
|
|
|
- updateFlag:this.adjustFeeFlag?"1":"0",
|
|
|
+ adusitFUn() {
|
|
|
+ let subParam = {
|
|
|
+ orderNo: this.orderInfo.orderno,
|
|
|
+ jqCostsProportionStr: this.adjustFeeDescInfo.jqAllFeeRate,
|
|
|
+ syCostsProportionStr: this.adjustFeeDescInfo.syAllFeeRate,
|
|
|
+ updateFlag: this.adjustFeeFlag ? "1" : "0",
|
|
|
}
|
|
|
- this.$api.task.auditFee(subParam).then((res) =>{
|
|
|
- if(res.code==200){
|
|
|
+ this.$api.task.auditFee(subParam).then((res) => {
|
|
|
+ if (res.code == 200) {
|
|
|
this.$message.success('审核通过')
|
|
|
this.findPage();
|
|
|
this.quotedetailsdialogVisible = false;
|
|
|
- }else{
|
|
|
+ } else {
|
|
|
this.$message.error(res.msg)
|
|
|
}
|
|
|
})
|
|
|
@@ -654,7 +768,7 @@ export default {
|
|
|
let params = {
|
|
|
orderNo: dy.orderno,
|
|
|
}
|
|
|
- this.feeOrderNewVo=[]
|
|
|
+ this.feeOrderNewVo = []
|
|
|
this.$api.task.feeDetail(params).then((res) => {
|
|
|
if (res.code == 200) {
|
|
|
res.data.kindinfo.map((ele, index) => {
|
|
|
@@ -677,25 +791,25 @@ export default {
|
|
|
}
|
|
|
return ele;
|
|
|
});
|
|
|
-
|
|
|
- if(res.data.feeOrderNewVo && res.data.feeOrderNewVo.exportFee && res.data.feeOrderNewVo.entranceFee){
|
|
|
- res.data.feeOrderNewVo.exportFee.forEach((val,index)=>{
|
|
|
+ if (res.data.feeOrderNewVo && res.data.feeOrderNewVo.exportFee && res.data.feeOrderNewVo.entranceFee) {
|
|
|
+ res.data.feeOrderNewVo.exportFee.forEach((val, index) => {
|
|
|
this.feeOrderNewVo.push({
|
|
|
- exportInsuranceType:val.insuranceType,
|
|
|
- exportOtherCostsPremiums:val.otherCostsPremiums,
|
|
|
- exportOtherCostsProportion:val.otherCostsProportion,
|
|
|
- exportSuperviseCosts:val.superviseCosts,
|
|
|
- exportSuperviseCostsPremiums:val.superviseCostsPremiums,
|
|
|
- exportTotalAmount:val.totalAmount,
|
|
|
- exportTotalProportion:val.totalProportion,
|
|
|
+ exportInsuranceType: val.insuranceType,
|
|
|
+ exportOtherCostsPremiums: val.otherCostsPremiums,
|
|
|
+ exportOtherCostsProportion: val.otherCostsProportion,
|
|
|
+ exportSuperviseCosts: val.superviseCosts,
|
|
|
+ exportSuperviseCostsPremiums: val.superviseCostsPremiums,
|
|
|
+ exportTotalAmount: val.totalAmount,
|
|
|
+ exportTotalProportion: val.totalProportion,
|
|
|
...res.data.feeOrderNewVo.entranceFee[index]
|
|
|
})
|
|
|
})
|
|
|
+ this.oldVersionHistory = res.data.feeOrderNewVo;
|
|
|
}
|
|
|
this.orderInfo = res.data
|
|
|
- this.feeDetailInfo=res.data.orderFeeResult;
|
|
|
- this.oldFeeInfo=res.data.adjustFeeDescVo;
|
|
|
- this.adjustFeeDescInfo={...this.oldFeeInfo}
|
|
|
+ this.feeDetailInfo = res.data.orderFeeResult;
|
|
|
+ this.oldFeeInfo = res.data.adjustFeeDescVo;
|
|
|
+ this.adjustFeeDescInfo = { ...this.oldFeeInfo }
|
|
|
this.quotedetailsdialogVisible = true;
|
|
|
} else {
|
|
|
this.$message.error("订单获取失败");
|
|
|
@@ -717,25 +831,25 @@ export default {
|
|
|
this.pageRequest.pageNum = val;
|
|
|
this.findPage();
|
|
|
},
|
|
|
- handleRowChange(row){
|
|
|
- if(!row.expanded){
|
|
|
- this.$api.letter.querySonOrders({orderNo:row.orderno}).then(res=>{
|
|
|
- if(res.code=='200' && res.data.length!=0){
|
|
|
- this.pageResult.map(item=>{
|
|
|
- if(item.orderno===row.orderno){
|
|
|
- item.insAreaCompanyList=res.data;
|
|
|
- }
|
|
|
- return item;
|
|
|
- })
|
|
|
+ handleRowChange(row) {
|
|
|
+ if (!row.expanded) {
|
|
|
+ this.$api.letter.querySonOrders({ orderNo: row.orderno }).then(res => {
|
|
|
+ if (res.code == '200' && res.data.length != 0) {
|
|
|
+ this.pageResult.map(item => {
|
|
|
+ if (item.orderno === row.orderno) {
|
|
|
+ item.insAreaCompanyList = res.data;
|
|
|
+ }
|
|
|
+ return item;
|
|
|
+ })
|
|
|
row.expanded = !row.expanded;
|
|
|
this.$refs.expandTable.toggleRowExpansion(row, row.expanded);
|
|
|
- }else{
|
|
|
- this.$message.info("暂无数据");
|
|
|
- }
|
|
|
- })
|
|
|
- }else{
|
|
|
+ } else {
|
|
|
+ this.$message.info("暂无数据");
|
|
|
+ }
|
|
|
+ })
|
|
|
+ } else {
|
|
|
row.expanded = !row.expanded;
|
|
|
- this.$refs.expandTable.toggleRowExpansion(row, row.expanded);
|
|
|
+ this.$refs.expandTable.toggleRowExpansion(row, row.expanded);
|
|
|
}
|
|
|
},
|
|
|
//数据
|
|
|
@@ -780,16 +894,19 @@ export default {
|
|
|
.el-table .row-expand-cover .cell .el-table__expand-icon {
|
|
|
display: none;
|
|
|
}
|
|
|
+
|
|
|
.el-descriptions__body {
|
|
|
padding: 10px 50px;
|
|
|
box-sizing: border-box;
|
|
|
color: rgb(226, 118, 10);
|
|
|
}
|
|
|
+
|
|
|
.el-descriptions-item__label {
|
|
|
&:not(.is-bordered-label) {
|
|
|
color: #333;
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
.saomazhifucodeClass .el-dialog__body,
|
|
|
.saomazhifucodeClass .el-dialog__header {
|
|
|
padding: 0;
|
|
|
@@ -1079,11 +1196,13 @@ export default {
|
|
|
.demo-table-expand-time>div {
|
|
|
margin: 0 10px;
|
|
|
}
|
|
|
+
|
|
|
.icon-img {
|
|
|
display: block;
|
|
|
width: 30px;
|
|
|
height: 30px;
|
|
|
}
|
|
|
+
|
|
|
.Enclosure {
|
|
|
width: 100%;
|
|
|
background-color: #fff;
|
|
|
@@ -1105,19 +1224,22 @@ export default {
|
|
|
font-weight: bold;
|
|
|
color: #333;
|
|
|
}
|
|
|
+
|
|
|
/* 内容待定 */
|
|
|
-.headers_Custom >div{
|
|
|
+.headers_Custom>div {
|
|
|
padding: 20px 40px;
|
|
|
font-size: 16px;
|
|
|
}
|
|
|
-.headers_Custom >div>span {
|
|
|
+
|
|
|
+.headers_Custom>div>span {
|
|
|
color: rgb(226, 118, 10);
|
|
|
}
|
|
|
|
|
|
- .back {
|
|
|
+.back {
|
|
|
color: #303133;
|
|
|
font-weight: 700;
|
|
|
}
|
|
|
+
|
|
|
.u-f-ac {
|
|
|
-webkit-box-align: center;
|
|
|
align-items: center;
|
|
|
@@ -1132,6 +1254,7 @@ export default {
|
|
|
padding: 0 20px;
|
|
|
box-sizing: border-box;
|
|
|
}
|
|
|
+
|
|
|
.bjdbody {
|
|
|
width: 100%;
|
|
|
height: auto;
|
|
|
@@ -1158,13 +1281,13 @@ export default {
|
|
|
color: #fff;
|
|
|
}
|
|
|
|
|
|
-.bjdCarSum >div{
|
|
|
- width: 100%;
|
|
|
- padding: 15px 20px;
|
|
|
- box-sizing: border-box;
|
|
|
- font-weight: bold;
|
|
|
- color: #000;
|
|
|
- border-bottom: 1px solid #f2f2f2;
|
|
|
+.bjdCarSum>div {
|
|
|
+ width: 100%;
|
|
|
+ padding: 15px 20px;
|
|
|
+ box-sizing: border-box;
|
|
|
+ font-weight: bold;
|
|
|
+ color: #000;
|
|
|
+ border-bottom: 1px solid #f2f2f2;
|
|
|
}
|
|
|
|
|
|
.bjdCarMessage1 {
|
|
|
@@ -1178,10 +1301,12 @@ export default {
|
|
|
|
|
|
|
|
|
}
|
|
|
-.bjdCarMessage1 > .f-c >span:nth-child(1){
|
|
|
- font-size: 18px;
|
|
|
- font-weight: bold;
|
|
|
- }
|
|
|
+
|
|
|
+.bjdCarMessage1>.f-c>span:nth-child(1) {
|
|
|
+ font-size: 18px;
|
|
|
+ font-weight: bold;
|
|
|
+}
|
|
|
+
|
|
|
.bjdCarMessage1>img,
|
|
|
.bjdfooter>img {
|
|
|
margin-right: 30px;
|
|
|
@@ -1193,16 +1318,19 @@ export default {
|
|
|
margin-top: 5px;
|
|
|
}
|
|
|
|
|
|
-.bjdCarMessage2_car >span:nth-child(1) {
|
|
|
- color: #000;
|
|
|
- font-weight: bold;
|
|
|
+.bjdCarMessage2_car>span:nth-child(1) {
|
|
|
+ color: #000;
|
|
|
+ font-weight: bold;
|
|
|
}
|
|
|
-.bjdCarMessage2_car >span:nth-child(2) {
|
|
|
+
|
|
|
+.bjdCarMessage2_car>span:nth-child(2) {
|
|
|
color: #999;
|
|
|
}
|
|
|
-.bjdCarMessage2 >ul>li {
|
|
|
- margin: 20px 0;
|
|
|
+
|
|
|
+.bjdCarMessage2>ul>li {
|
|
|
+ margin: 20px 0;
|
|
|
}
|
|
|
+
|
|
|
.Risk {
|
|
|
width: 100%;
|
|
|
height: auto;
|
|
|
@@ -1216,71 +1344,77 @@ export default {
|
|
|
width: 100%;
|
|
|
height: 40px;
|
|
|
}
|
|
|
+
|
|
|
.Risk_title>div {
|
|
|
- background: rgb(199, 20, 45);
|
|
|
- color: rgb(255, 255, 255);
|
|
|
- height: 100%;
|
|
|
- font-weight: 500;
|
|
|
- width: 33.3%;
|
|
|
- padding: 10px 20px;
|
|
|
- box-sizing: border-box;
|
|
|
- border: #fff solid 1px;
|
|
|
- display: flex;
|
|
|
- justify-content: center;
|
|
|
- align-items: center;
|
|
|
- border-bottom: none;
|
|
|
+ background: rgb(199, 20, 45);
|
|
|
+ color: rgb(255, 255, 255);
|
|
|
+ height: 100%;
|
|
|
+ font-weight: 500;
|
|
|
+ width: 33.3%;
|
|
|
+ padding: 10px 20px;
|
|
|
+ box-sizing: border-box;
|
|
|
+ border: #fff solid 1px;
|
|
|
+ display: flex;
|
|
|
+ justify-content: center;
|
|
|
+ align-items: center;
|
|
|
+ border-bottom: none;
|
|
|
|
|
|
}
|
|
|
-.Risk_title>div:nth-child(1) {
|
|
|
-}
|
|
|
+
|
|
|
+.Risk_title>div:nth-child(1) {}
|
|
|
|
|
|
.Risk_title>div:nth-child(2) {
|
|
|
border-left: none;
|
|
|
- border-right: none;
|
|
|
+ border-right: none;
|
|
|
}
|
|
|
|
|
|
.Risk_data {
|
|
|
width: 100%;
|
|
|
height: 40px;
|
|
|
}
|
|
|
-.Risk_data >div {
|
|
|
- background: #fbf6f7;
|
|
|
- color: rgb(51, 51, 51);
|
|
|
- height: 100%;
|
|
|
- font-weight: 500;
|
|
|
- width: 33.3%;
|
|
|
- padding: 10px 20px;
|
|
|
- box-sizing: border-box;
|
|
|
- border: #fff solid 1px;
|
|
|
- display: flex;
|
|
|
- justify-content: center;
|
|
|
- align-items: center;
|
|
|
- border-bottom: none;
|
|
|
- }
|
|
|
-.Risk_data >div :nth-child(2) {
|
|
|
+
|
|
|
+.Risk_data>div {
|
|
|
+ background: #fbf6f7;
|
|
|
+ color: rgb(51, 51, 51);
|
|
|
+ height: 100%;
|
|
|
+ font-weight: 500;
|
|
|
+ width: 33.3%;
|
|
|
+ padding: 10px 20px;
|
|
|
+ box-sizing: border-box;
|
|
|
+ border: #fff solid 1px;
|
|
|
+ display: flex;
|
|
|
+ justify-content: center;
|
|
|
+ align-items: center;
|
|
|
+ border-bottom: none;
|
|
|
+}
|
|
|
+
|
|
|
+.Risk_data>div :nth-child(2) {
|
|
|
border-left: none;
|
|
|
- border-right: none;
|
|
|
+ border-right: none;
|
|
|
}
|
|
|
+
|
|
|
.Risk_title>div :nth-child(3) {
|
|
|
border-top-right-radius: 10px;
|
|
|
}
|
|
|
-.jyxStyle>span{
|
|
|
+
|
|
|
+.jyxStyle>span {
|
|
|
display: inline-block;
|
|
|
text-align: center;
|
|
|
}
|
|
|
-.FeeEnclosure /deep/ table {
|
|
|
+
|
|
|
+.FeeEnclosure /deep/ table {
|
|
|
width: 100% !important;
|
|
|
}
|
|
|
|
|
|
-.FeeEnclosure /deep/ .cell {
|
|
|
+.FeeEnclosure /deep/ .cell {
|
|
|
text-align: center;
|
|
|
}
|
|
|
|
|
|
-.FeeEnclosure /deep/ .el-table__empty-block{
|
|
|
+.FeeEnclosure /deep/ .el-table__empty-block {
|
|
|
width: 100% !important;
|
|
|
}
|
|
|
|
|
|
-.FeeEnclosure .feeadjust-input{
|
|
|
+.FeeEnclosure .feeadjust-input {
|
|
|
width: 35%;
|
|
|
height: 20px;
|
|
|
font-size: 13px;
|