Commit 8fc7ae63 by 杨北旺

理赔修复问题

1 parent a83c5279
......@@ -6,17 +6,33 @@
<div class="element_wrap">
<div class="label">批准金额:</div>
<div class="pannel">
<template v-for="(item,index) in itemsList">
<template v-for="(item, index) in itemsList">
<div :key="index" class="wrapper">
<div class="name">{{item.serviceItemName}}</div>
<div class="messag pad20">
<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 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_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 class="ms flex_sc ma20">
<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>
......@@ -24,9 +40,9 @@
<div class="total flex_scb">
<span>合计</span>
<span>
<span>预估损失金额:{{repotData.applyAmount}}元</span>
<span>预估损失金额:{{ repotData.approveAmount }}元</span>
<span style="margin: 0 10px">|</span>
<span>定损批准金额:{{repotData.approveAmount}}元</span>
<span>定损批准金额:{{ repotData.applyAmount }}元</span>
</span>
</div>
</div>
......@@ -37,7 +53,7 @@
<div class="pannel">
<div class="wrapper">
<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 :label="0">店面</el-radio>
<el-radio :label="1">其他</el-radio>
......@@ -138,21 +154,21 @@ export default {
optionList: [],
optionId: 'code',
optionLabel: 'name',
isClear: true,
isClear: true
},
{
label: '账户名称',
name: 'accountName',
type: 'input',
maxlength: 60,
isClear: true,
isClear: true
},
{
label: '收款账号',
name: 'accountNo',
type: 'input',
maxlength: 25,
isClear: true,
isClear: true
},
{
label: '收款账号所在省市',
......@@ -162,7 +178,7 @@ export default {
optionList: [],
optionId: 'code',
optionLabel: 'name',
isClear: true,
isClear: true
},
{
label: '收款人证件类型',
......@@ -171,21 +187,21 @@ export default {
optionList: [],
optionId: 'code',
optionLabel: 'name',
isClear: true,
isClear: true
},
{
label: '收款人证件号码',
name: 'cardNo',
type: 'input',
maxlength: 25,
isClear: true,
isClear: true
},
{
label: '收款人联系电话',
name: 'phone',
type: 'input',
maxlength: 15,
isClear: true,
isClear: true
}
]
}
......@@ -193,8 +209,8 @@ export default {
props: {
repotData: Object,
accountForm: Object,
itemsList:Array,
insuranceAttachmentConfigs:Array
itemsList: Array,
insuranceAttachmentConfigs: Array
},
watch: {
'accountForm.objectType': {
......@@ -217,7 +233,7 @@ export default {
// 获取银行信息
getBankList() {
this.$apis.claims.getBankList({}).then(res => {
const branchBankList = this.accountData.find(item => item.name === 'openBankCode')
const branchBankList = this.accountData.find(item => item.name === 'openBankCode')
branchBankList.optionList = res.branchBank
const accountCityList = this.accountData.find(item => item.name === 'accountCityCode')
accountCityList.optionList = res.accountCity
......
......@@ -8,7 +8,7 @@
<i class="gl-icon-filter filter-icon" @click.stop="showFilter = !showFilter"></i>
<div v-show="showFilter" ref="closetree" class="tree-wrap">
<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 class="filter-all">
<el-checkbox v-model="treeChecked">全选</el-checkbox>
......@@ -84,7 +84,7 @@ export default {
},
data() {
return {
treeChecked: true,
treeChecked: false,
showFilter: false,
visibility: false,
imgPassObj: {
......@@ -98,6 +98,7 @@ export default {
inputType: 'textarea',
rows: 3,
isClear: true,
maxlength:200,
inputChange: e => {
this.handleApproval(0, e)
}
......@@ -233,9 +234,6 @@ export default {
console.log(err)
}
},
// checkChange(data, checked, indeterminate) {
// console.log(data, checked, indeterminate)
// },
getCheckedKeys() {
let treeList = this.$refs.tree.getCheckedNodes()
let filtterList = []
......@@ -251,20 +249,21 @@ export default {
}
})
}
if(!filtterList.length)return
filtterList = [...new Set(filtterList)]
this.showFilter = false
this.filterImages(filtterList)
},
resetChecked() {
console.log(2525);
this.$refs.tree.setCheckedKeys([])
},
toChangeTreeAll(flag) {
if (flag) {
this.$refs.tree.setCheckedKeys([10, 11, 14])
} else {
console.log(1158641);
this.resetChecked()
this.$nextTick(() => {
this.$refs.tree.setCheckedKeys([])
})
}
},
// 过滤照片
......@@ -374,7 +373,7 @@ export default {
}
.tree-wrap {
background-color: #fff;
z-index: 2;
z-index: 20;
position: absolute;
top: 100%;
left: 155px;
......
......@@ -55,7 +55,7 @@ export default {
},
{
key: 'servicePeriod',
label: '服务期限:'
label: '服务期限/年:'
},
{
key: 'expirationDate',
......
......@@ -141,7 +141,8 @@ export default {
type: 'input',
inputType: 'textarea',
rows: 3,
isClear: true
isClear: true,
maxlength:200
}
],
currentServicesIndex: 0
......@@ -348,6 +349,7 @@ export default {
font-weight: 400;
color: #ffffff;
z-index: 10;
word-break: break-all;
}
}
.uplpad_pannel {
......
......@@ -3,7 +3,7 @@
<template>
<div class="tab_wrap">
<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="title">报案信息(客户提交)</div>
<div class="content pad20">
......@@ -121,7 +121,7 @@
<other-info :otherInfoData="otherInfoData"></other-info>
</div>
</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="title">维修信息</div>
<div class="content pad20">
......@@ -131,6 +131,21 @@
<template v-for="(item, index) in itemsList">
<div :key="index" class="wrapper">
<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 class="ms">
<span>预估损失金额/元:</span>
......@@ -162,12 +177,12 @@
</div>
<div class="pannel_box">
<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">
<span style="color: #eb4e4e">*</span>
<span>{{ item.name }}</span>
</div>
<div class="tip" style="width: 160px">{{ item.value }}</div>
<div class="tip" style="width: 160px; word-break: break-all">{{ item.value }}</div>
</div>
</template>
</div>
......@@ -423,4 +438,7 @@ export default {
}
}
}
.text_wrap {
white-space: pre-wrap !important;
}
</style>
......@@ -59,6 +59,7 @@ import CheckData from './components/check/index.vue'
import CheckClaims from './components/checkClaims/index.vue'
import qrCode from '@/components/qr-code'
import glsxCombiForm from '@/components/glsx-combi-form'
// import util from "@/util"
export default {
name: 'ghOrder',
components: {
......@@ -327,7 +328,6 @@ export default {
}
},
changeObjectType(newVal) {
console.log(newVal)
// if (newVal === 1) {
// this.saveObj.objectType = newVal
// delete this.saveObj.handlerName
......@@ -525,8 +525,8 @@ export default {
contractNo: this.repotData.contractNo,
reporterName: this.repotData.reporterName,
reporterPhone: this.repotData.reporterPhone,
reportDate: this.repotData.reportDate,
reimbursementDate: this.repotData.reimbursementDate,
reportDate: this.repotData.reportDate?dayjs(this.repotData.reportDate).format('YYYY-MM-DD HH:mm:ss'):'',
reimbursementDate: this.repotData.reimbursementDate?dayjs(this.repotData.reimbursementDate).format('YYYY-MM-DD HH:mm:ss'):'',
handlerName: this.repotData.handlerName,
handlerPhone: this.repotData.handlerPhone,
reimbursementCountiesCode: this.repotData.reimbursementCountiesCode,
......@@ -672,8 +672,8 @@ export default {
contractNo: this.repotData.contractNo,
reporterName: this.repotData.reporterName,
reporterPhone: this.repotData.reporterPhone,
reportDate: this.repotData.reportDate,
reimbursementDate: this.repotData.reimbursementDate,
reportDate: this.repotData.reportDate?dayjs(this.repotData.reportDate).format('YYYY-MM-DD HH:mm:ss'):'',
reimbursementDate: this.repotData.reimbursementDate?dayjs(this.repotData.reimbursementDate).format('YYYY-MM-DD HH:mm:ss'):'',
handlerName: this.repotData.handlerName,
handlerPhone: this.repotData.handlerPhone,
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!