Commit 8fc7ae63 by 杨北旺

理赔修复问题

1 parent a83c5279
...@@ -6,17 +6,33 @@ ...@@ -6,17 +6,33 @@
<div class="element_wrap"> <div class="element_wrap">
<div class="label">批准金额:</div> <div class="label">批准金额:</div>
<div class="pannel"> <div class="pannel">
<template v-for="(item,index) in itemsList"> <template v-for="(item, index) in itemsList">
<div :key="index" class="wrapper"> <div :key="index" class="wrapper">
<div class="name">{{item.serviceItemName}}</div> <div class="name">{{ item.serviceItemName }}</div>
<div class="messag pad20"> <div v-if="item.serviceItemCode == 'SC0003'" style="height: 36px" class="messag flex_sc">
<div class="ms flex_sc">
<span>损失类型:</span>
<el-radio v-model="item.lossType" label="1">全损</el-radio>
<el-radio v-model="item.lossType" label="2">局部</el-radio>
</div>
</div>
<div v-if="item.serviceItemCode == 'SC0006'" style="height: 36px" class="messag flex_sc">
<div class="ms flex_sc">
<span>服务类型:</span>
<el-checkbox-group v-model="item.lossTypeList">
<el-checkbox label="3">钥匙</el-checkbox>
<el-checkbox label="4">车牌重置</el-checkbox>
</el-checkbox-group>
</div>
</div>
<div class="messag" :class="[{ pad20: item.serviceItemCode != 'SC0003' && item.serviceItemCode != 'SC0006' }]">
<div class="ms flex_sc"> <div class="ms flex_sc">
<div class="ms_lab">预估损失金额/元:</div> <div class="ms_lab">预估损失金额/元:</div>
<el-input v-model="item.applyAmount" size="mini" class="w432" maxlength="10"></el-input> <el-input v-model="item.approveAmount" size="mini" class="w432" maxlength="10"></el-input>
</div> </div>
<div class="ms flex_sc ma20"> <div class="ms flex_sc ma20">
<div class="ms_lab">定损批准金额/元:</div> <div class="ms_lab">定损批准金额/元:</div>
<el-input v-model="item.approveAmount" size="mini" class="w432" maxlength="10"></el-input> <el-input v-model="item.applyAmount" size="mini" class="w432" maxlength="10"></el-input>
</div> </div>
</div> </div>
</div> </div>
...@@ -24,9 +40,9 @@ ...@@ -24,9 +40,9 @@
<div class="total flex_scb"> <div class="total flex_scb">
<span>合计</span> <span>合计</span>
<span> <span>
<span>预估损失金额:{{repotData.applyAmount}}元</span> <span>预估损失金额:{{ repotData.approveAmount }}元</span>
<span style="margin: 0 10px">|</span> <span style="margin: 0 10px">|</span>
<span>定损批准金额:{{repotData.approveAmount}}元</span> <span>定损批准金额:{{ repotData.applyAmount }}元</span>
</span> </span>
</div> </div>
</div> </div>
...@@ -37,7 +53,7 @@ ...@@ -37,7 +53,7 @@
<div class="pannel"> <div class="pannel">
<div class="wrapper"> <div class="wrapper">
<div class="name"> <div class="name">
<el-radio >{{accountForm.objectType?'其他':'店面'}}</el-radio> <el-radio>{{ accountForm.objectType ? '其他' : '店面' }}</el-radio>
<!-- <el-radio-group disabled @change="changeObjectType" v-model="accountForm.objectType"> <!-- <el-radio-group disabled @change="changeObjectType" v-model="accountForm.objectType">
<el-radio :label="0">店面</el-radio> <el-radio :label="0">店面</el-radio>
<el-radio :label="1">其他</el-radio> <el-radio :label="1">其他</el-radio>
...@@ -138,21 +154,21 @@ export default { ...@@ -138,21 +154,21 @@ export default {
optionList: [], optionList: [],
optionId: 'code', optionId: 'code',
optionLabel: 'name', optionLabel: 'name',
isClear: true, isClear: true
}, },
{ {
label: '账户名称', label: '账户名称',
name: 'accountName', name: 'accountName',
type: 'input', type: 'input',
maxlength: 60, maxlength: 60,
isClear: true, isClear: true
}, },
{ {
label: '收款账号', label: '收款账号',
name: 'accountNo', name: 'accountNo',
type: 'input', type: 'input',
maxlength: 25, maxlength: 25,
isClear: true, isClear: true
}, },
{ {
label: '收款账号所在省市', label: '收款账号所在省市',
...@@ -162,7 +178,7 @@ export default { ...@@ -162,7 +178,7 @@ export default {
optionList: [], optionList: [],
optionId: 'code', optionId: 'code',
optionLabel: 'name', optionLabel: 'name',
isClear: true, isClear: true
}, },
{ {
label: '收款人证件类型', label: '收款人证件类型',
...@@ -171,21 +187,21 @@ export default { ...@@ -171,21 +187,21 @@ export default {
optionList: [], optionList: [],
optionId: 'code', optionId: 'code',
optionLabel: 'name', optionLabel: 'name',
isClear: true, isClear: true
}, },
{ {
label: '收款人证件号码', label: '收款人证件号码',
name: 'cardNo', name: 'cardNo',
type: 'input', type: 'input',
maxlength: 25, maxlength: 25,
isClear: true, isClear: true
}, },
{ {
label: '收款人联系电话', label: '收款人联系电话',
name: 'phone', name: 'phone',
type: 'input', type: 'input',
maxlength: 15, maxlength: 15,
isClear: true, isClear: true
} }
] ]
} }
...@@ -193,8 +209,8 @@ export default { ...@@ -193,8 +209,8 @@ export default {
props: { props: {
repotData: Object, repotData: Object,
accountForm: Object, accountForm: Object,
itemsList:Array, itemsList: Array,
insuranceAttachmentConfigs:Array insuranceAttachmentConfigs: Array
}, },
watch: { watch: {
'accountForm.objectType': { 'accountForm.objectType': {
......
...@@ -8,7 +8,7 @@ ...@@ -8,7 +8,7 @@
<i class="gl-icon-filter filter-icon" @click.stop="showFilter = !showFilter"></i> <i class="gl-icon-filter filter-icon" @click.stop="showFilter = !showFilter"></i>
<div v-show="showFilter" ref="closetree" class="tree-wrap"> <div v-show="showFilter" ref="closetree" class="tree-wrap">
<div class="filter-tree"> <div class="filter-tree">
<el-tree ref="tree" :data="treeBasic" :default-checked-keys="[10, 11, 14]" show-checkbox node-key="id" :props="defaultProps"></el-tree> <el-tree ref="tree" :data="treeBasic" show-checkbox node-key="id" :props="defaultProps"></el-tree>
</div> </div>
<div class="filter-all"> <div class="filter-all">
<el-checkbox v-model="treeChecked">全选</el-checkbox> <el-checkbox v-model="treeChecked">全选</el-checkbox>
...@@ -84,7 +84,7 @@ export default { ...@@ -84,7 +84,7 @@ export default {
}, },
data() { data() {
return { return {
treeChecked: true, treeChecked: false,
showFilter: false, showFilter: false,
visibility: false, visibility: false,
imgPassObj: { imgPassObj: {
...@@ -98,6 +98,7 @@ export default { ...@@ -98,6 +98,7 @@ export default {
inputType: 'textarea', inputType: 'textarea',
rows: 3, rows: 3,
isClear: true, isClear: true,
maxlength:200,
inputChange: e => { inputChange: e => {
this.handleApproval(0, e) this.handleApproval(0, e)
} }
...@@ -233,9 +234,6 @@ export default { ...@@ -233,9 +234,6 @@ export default {
console.log(err) console.log(err)
} }
}, },
// checkChange(data, checked, indeterminate) {
// console.log(data, checked, indeterminate)
// },
getCheckedKeys() { getCheckedKeys() {
let treeList = this.$refs.tree.getCheckedNodes() let treeList = this.$refs.tree.getCheckedNodes()
let filtterList = [] let filtterList = []
...@@ -251,20 +249,21 @@ export default { ...@@ -251,20 +249,21 @@ export default {
} }
}) })
} }
if(!filtterList.length)return
filtterList = [...new Set(filtterList)] filtterList = [...new Set(filtterList)]
this.showFilter = false this.showFilter = false
this.filterImages(filtterList) this.filterImages(filtterList)
}, },
resetChecked() { resetChecked() {
console.log(2525);
this.$refs.tree.setCheckedKeys([]) this.$refs.tree.setCheckedKeys([])
}, },
toChangeTreeAll(flag) { toChangeTreeAll(flag) {
if (flag) { if (flag) {
this.$refs.tree.setCheckedKeys([10, 11, 14]) this.$refs.tree.setCheckedKeys([10, 11, 14])
} else { } else {
console.log(1158641); this.$nextTick(() => {
this.resetChecked() this.$refs.tree.setCheckedKeys([])
})
} }
}, },
// 过滤照片 // 过滤照片
...@@ -374,7 +373,7 @@ export default { ...@@ -374,7 +373,7 @@ export default {
} }
.tree-wrap { .tree-wrap {
background-color: #fff; background-color: #fff;
z-index: 2; z-index: 20;
position: absolute; position: absolute;
top: 100%; top: 100%;
left: 155px; left: 155px;
......
...@@ -55,7 +55,7 @@ export default { ...@@ -55,7 +55,7 @@ export default {
}, },
{ {
key: 'servicePeriod', key: 'servicePeriod',
label: '服务期限:' label: '服务期限/年:'
}, },
{ {
key: 'expirationDate', key: 'expirationDate',
......
...@@ -141,7 +141,8 @@ export default { ...@@ -141,7 +141,8 @@ export default {
type: 'input', type: 'input',
inputType: 'textarea', inputType: 'textarea',
rows: 3, rows: 3,
isClear: true isClear: true,
maxlength:200
} }
], ],
currentServicesIndex: 0 currentServicesIndex: 0
...@@ -348,6 +349,7 @@ export default { ...@@ -348,6 +349,7 @@ export default {
font-weight: 400; font-weight: 400;
color: #ffffff; color: #ffffff;
z-index: 10; z-index: 10;
word-break: break-all;
} }
} }
.uplpad_pannel { .uplpad_pannel {
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<template> <template>
<div class="tab_wrap"> <div class="tab_wrap">
<el-tabs v-model="activeNameTabs"> <el-tabs v-model="activeNameTabs">
<el-tab-pane class="bg" label="核赔信息" name="first"> <el-tab-pane class="bg" label="定损信息" name="first">
<div class="widget"> <div class="widget">
<div class="title">报案信息(客户提交)</div> <div class="title">报案信息(客户提交)</div>
<div class="content pad20"> <div class="content pad20">
...@@ -121,7 +121,7 @@ ...@@ -121,7 +121,7 @@
<other-info :otherInfoData="otherInfoData"></other-info> <other-info :otherInfoData="otherInfoData"></other-info>
</div> </div>
</el-tab-pane> </el-tab-pane>
<el-tab-pane v-if="[1,12,13,14,2,3,4,0].includes(repotData.status)" class="bg" label="定损信息" name="second"> <el-tab-pane v-if="[1, 12, 13, 14, 2, 3, 4, 0, 10, 11].includes(repotData.status)" class="bg" label="核赔信息" name="second">
<div class="widget"> <div class="widget">
<div class="title">维修信息</div> <div class="title">维修信息</div>
<div class="content pad20"> <div class="content pad20">
...@@ -131,6 +131,21 @@ ...@@ -131,6 +131,21 @@
<template v-for="(item, index) in itemsList"> <template v-for="(item, index) in itemsList">
<div :key="index" class="wrapper"> <div :key="index" class="wrapper">
<div class="name">{{ item.serviceItemName }}</div> <div class="name">{{ item.serviceItemName }}</div>
<div v-if="item.serviceItemCode == 'SC0003'" style="height: 36px" class="messag flex_sc">
<div class="ms flex_sc">
<span>损失类型:</span>
<el-radio value="1" label="1">{{ item.lossType == 1 ? '全损' : '局部' }}</el-radio>
</div>
</div>
<div v-if="item.serviceItemCode == 'SC0006'" style="height: 36px" class="messag flex_sc">
<div class="ms flex_sc">
<span>服务类型:</span>
<el-checkbox-group v-model="item.lossTypeList">
<el-checkbox disabled label="3">钥匙</el-checkbox>
<el-checkbox disabled label="4">车牌重置</el-checkbox>
</el-checkbox-group>
</div>
</div>
<div style="height: 36px" class="messag flex_scb"> <div style="height: 36px" class="messag flex_scb">
<div class="ms"> <div class="ms">
<span>预估损失金额/元:</span> <span>预估损失金额/元:</span>
...@@ -162,12 +177,12 @@ ...@@ -162,12 +177,12 @@
</div> </div>
<div class="pannel_box"> <div class="pannel_box">
<template v-for="(item, index) in accountList"> <template v-for="(item, index) in accountList">
<div :key="index" class="line flex_sc"> <div :key="index" class="line" style="display: flex">
<div class="lab"> <div class="lab">
<span style="color: #eb4e4e">*</span> <span style="color: #eb4e4e">*</span>
<span>{{ item.name }}</span> <span>{{ item.name }}</span>
</div> </div>
<div class="tip" style="width: 160px">{{ item.value }}</div> <div class="tip" style="width: 160px; word-break: break-all">{{ item.value }}</div>
</div> </div>
</template> </template>
</div> </div>
...@@ -423,4 +438,7 @@ export default { ...@@ -423,4 +438,7 @@ export default {
} }
} }
} }
.text_wrap {
white-space: pre-wrap !important;
}
</style> </style>
...@@ -59,6 +59,7 @@ import CheckData from './components/check/index.vue' ...@@ -59,6 +59,7 @@ import CheckData from './components/check/index.vue'
import CheckClaims from './components/checkClaims/index.vue' import CheckClaims from './components/checkClaims/index.vue'
import qrCode from '@/components/qr-code' import qrCode from '@/components/qr-code'
import glsxCombiForm from '@/components/glsx-combi-form' import glsxCombiForm from '@/components/glsx-combi-form'
// import util from "@/util"
export default { export default {
name: 'ghOrder', name: 'ghOrder',
components: { components: {
...@@ -327,7 +328,6 @@ export default { ...@@ -327,7 +328,6 @@ export default {
} }
}, },
changeObjectType(newVal) { changeObjectType(newVal) {
console.log(newVal)
// if (newVal === 1) { // if (newVal === 1) {
// this.saveObj.objectType = newVal // this.saveObj.objectType = newVal
// delete this.saveObj.handlerName // delete this.saveObj.handlerName
...@@ -525,8 +525,8 @@ export default { ...@@ -525,8 +525,8 @@ export default {
contractNo: this.repotData.contractNo, contractNo: this.repotData.contractNo,
reporterName: this.repotData.reporterName, reporterName: this.repotData.reporterName,
reporterPhone: this.repotData.reporterPhone, reporterPhone: this.repotData.reporterPhone,
reportDate: this.repotData.reportDate, reportDate: this.repotData.reportDate?dayjs(this.repotData.reportDate).format('YYYY-MM-DD HH:mm:ss'):'',
reimbursementDate: this.repotData.reimbursementDate, reimbursementDate: this.repotData.reimbursementDate?dayjs(this.repotData.reimbursementDate).format('YYYY-MM-DD HH:mm:ss'):'',
handlerName: this.repotData.handlerName, handlerName: this.repotData.handlerName,
handlerPhone: this.repotData.handlerPhone, handlerPhone: this.repotData.handlerPhone,
reimbursementCountiesCode: this.repotData.reimbursementCountiesCode, reimbursementCountiesCode: this.repotData.reimbursementCountiesCode,
...@@ -672,8 +672,8 @@ export default { ...@@ -672,8 +672,8 @@ export default {
contractNo: this.repotData.contractNo, contractNo: this.repotData.contractNo,
reporterName: this.repotData.reporterName, reporterName: this.repotData.reporterName,
reporterPhone: this.repotData.reporterPhone, reporterPhone: this.repotData.reporterPhone,
reportDate: this.repotData.reportDate, reportDate: this.repotData.reportDate?dayjs(this.repotData.reportDate).format('YYYY-MM-DD HH:mm:ss'):'',
reimbursementDate: this.repotData.reimbursementDate, reimbursementDate: this.repotData.reimbursementDate?dayjs(this.repotData.reimbursementDate).format('YYYY-MM-DD HH:mm:ss'):'',
handlerName: this.repotData.handlerName, handlerName: this.repotData.handlerName,
handlerPhone: this.repotData.handlerPhone, handlerPhone: this.repotData.handlerPhone,
reimbursementCountiesCode: this.repotData.reimbursementCountiesCode, reimbursementCountiesCode: this.repotData.reimbursementCountiesCode,
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!