Commit 1b9a7d89 by zhangquan

详情添加新增字段

1 parent ab2c1514
...@@ -212,6 +212,7 @@ export default { ...@@ -212,6 +212,7 @@ export default {
handlerForm: [ handlerForm: [
{ {
label: '经办人:', label: '经办人:',
placeholder: '请输入经办人',
name: 'handlerName', name: 'handlerName',
type: 'input', type: 'input',
isClear: true, isClear: true,
...@@ -220,6 +221,7 @@ export default { ...@@ -220,6 +221,7 @@ export default {
}, },
{ {
label: '经办人联系号码:', label: '经办人联系号码:',
placeholder: '请输入经办人联系号码',
name: 'handlerPhone', name: 'handlerPhone',
type: 'input', type: 'input',
maxlength: 11, maxlength: 11,
......
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
</el-checkbox-group> </el-checkbox-group>
</div> </div>
</div> </div>
<div style="height: 36px" class="messag flex_scb"> <div style="height: 36px" class="messag price_felx">
<div class="ms"> <div class="ms">
<span>预估损失金额/元:</span> <span>预估损失金额/元:</span>
<span class="price">{{ item.applyAmount || 0 }}</span> <span class="price">{{ item.applyAmount || 0 }}</span>
...@@ -41,6 +41,23 @@ ...@@ -41,6 +41,23 @@
<span>定损批准金额:</span> <span>定损批准金额:</span>
<span class="price">{{ item.approveAmount || 0 }}</span> <span class="price">{{ item.approveAmount || 0 }}</span>
</div> </div>
<div class="ms type-ms" v-if="item.serviceItemType == 2">
<span>损伤类型:</span>
<el-checkbox-group :disabled="true" v-model="item.damageType">
<el-checkbox :label="1">分鼓包</el-checkbox>
<el-checkbox :label="2">爆胎</el-checkbox>
<el-checkbox :label="3">开裂</el-checkbox>
<el-checkbox :label="4">扎伤</el-checkbox>
</el-checkbox-group>
</div>
<template v-if="item.serviceItemType == 1">
<template v-for="ele in allinjureList">
<div :key="ele.key" class="ms" v-if="item[ele.key]">
<span>{{ ele.name }}/元:</span>
<span class="price">{{ item[ele.key] || 0 }}</span>
</div>
</template>
</template>
</div> </div>
</div> </div>
</template> </template>
...@@ -341,7 +358,15 @@ export default { ...@@ -341,7 +358,15 @@ export default {
activeNameClaims: '0', activeNameClaims: '0',
currentServicesIndex: 0, currentServicesIndex: 0,
activeNameTabs: 'first', activeNameTabs: 'first',
srcList: [] srcList: [],
allinjureList: [
{name: '购置税', key: 'purchaseTax'},
{name: '折旧费', key: 'depreciation'},
{name: '商业险保费', key: 'commercialInsurance'},
{name: '登记费', key: 'registrationFee'},
{name: '加改装件费用', key: 'retrofits'},
{name: '代步车费用', key: 'scooterFare'}
]
} }
}, },
props: { props: {
...@@ -570,4 +595,21 @@ export default { ...@@ -570,4 +595,21 @@ export default {
font-weight: 400; font-weight: 400;
color: #666666; color: #666666;
} }
.price_felx {
display: flex;
flex-wrap: wrap;
height: unset !important;
padding: 10px 20px !important;
.ms {
width: 323px;
display: flex;
margin-top: 8px;
.el-checkbox-group {
display: inline-block;
}
}
.type-ms {
width: 100%;
}
}
</style> </style>
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!