Revert "CRM_26-01-22#story#7966,关于在打通系统中责任险信息关联的需求"
This reverts commit dc94c6d261.
This commit is contained in:
@@ -311,65 +311,9 @@
|
||||
</template>
|
||||
</el-input>
|
||||
</div>
|
||||
<div class="lineBot"></div>
|
||||
<div class="itemContent">
|
||||
<div class="titleType">
|
||||
<img class="startImg" src="@/assets/start.png" />
|
||||
<span>保费</span>
|
||||
</div>
|
||||
<van-field
|
||||
type="number"
|
||||
class="vanIpt"
|
||||
v-model="liabilityInsuranceAmount"
|
||||
input-align="right"
|
||||
>
|
||||
<template slot="right-icon" >
|
||||
<span style="white-space: nowrap;">元</span>
|
||||
</template>
|
||||
</van-field>
|
||||
</div>
|
||||
<div class="lineBot"></div>
|
||||
<div class="itemContent">
|
||||
<div class="titleType">
|
||||
<img class="startImg" src="@/assets/start.png" />
|
||||
<span>保额</span>
|
||||
</div>
|
||||
<van-field
|
||||
type="number"
|
||||
class="vanIpt"
|
||||
v-model="liabilityInsuranceQuota"
|
||||
input-align="right"
|
||||
>
|
||||
<template slot="right-icon" >
|
||||
<span style="white-space: nowrap;">万元 </span>
|
||||
</template>
|
||||
</van-field>
|
||||
</div>
|
||||
<div class="lineBot"></div>
|
||||
<div class="itemContent">
|
||||
<div class="titleType">
|
||||
<img class="startImg" src="@/assets/start.png" />
|
||||
<span>保单号(救援)</span>
|
||||
</div>
|
||||
<van-field
|
||||
class="vanIpt"
|
||||
style="width: 72%"
|
||||
v-model="insuranceCode"
|
||||
input-align="right"
|
||||
> </van-field>
|
||||
</div>
|
||||
<div class="lineBot"></div>
|
||||
<div class="itemContent">
|
||||
<div class="titleType"> <span>保单号(中道物流)</span> </div>
|
||||
<van-field
|
||||
class="vanIpt"
|
||||
style="width: 65%"
|
||||
v-model="insuranceCodeZd"
|
||||
input-align="right"
|
||||
> </van-field>
|
||||
</div>
|
||||
<div class="lineBot"></div>
|
||||
</template>
|
||||
|
||||
|
||||
<div class="itemContent">
|
||||
<div class="titleType">
|
||||
<img class="startImg" src="@/assets/start.png" />
|
||||
@@ -613,10 +557,7 @@ export default {
|
||||
vehicleInfoChange:false,
|
||||
insuranceChange:false,
|
||||
loading: false,
|
||||
liabilityInsuranceAmount:'',
|
||||
liabilityInsuranceQuota:'',
|
||||
insuranceCode:'',
|
||||
insuranceCodeZd:'',
|
||||
|
||||
}
|
||||
},
|
||||
computed: {
|
||||
@@ -1011,7 +952,7 @@ export default {
|
||||
isVehicleChange(e) {
|
||||
this.vehicleStatus=e
|
||||
},
|
||||
/* async submitAuditHandle(){//提交审核
|
||||
async submitAuditHandle(){//提交审核
|
||||
let urls=[]
|
||||
this.insurancePictureFiles?.forEach(item => urls.push(item.url))
|
||||
let time =this.dateVal ? this.formatDateTimeRange(this.dateVal) : ''
|
||||
@@ -1089,7 +1030,7 @@ export default {
|
||||
this.approvalDialogShow=false
|
||||
await this.submitBtn();
|
||||
}
|
||||
},*/
|
||||
},
|
||||
async submitApprovalHandle(){//提交审批-走接口
|
||||
if(this.vehicleInfoChange){
|
||||
if(!(this.selectedOption.length > 0)){
|
||||
@@ -1253,26 +1194,12 @@ export default {
|
||||
this.$toast('保单有效期不能为空')
|
||||
return
|
||||
}
|
||||
if( this.hasLiabilityInsurance == 1){
|
||||
if(!(this.liabilityInsuranceAmount || this.liabilityInsuranceAmount==0)){
|
||||
this.$toast('保费不能为空')
|
||||
return
|
||||
}
|
||||
if(!(this.liabilityInsuranceQuota || this.liabilityInsuranceQuota==0)){
|
||||
this.$toast('保额不能为空')
|
||||
return
|
||||
}
|
||||
if(!this.insuranceCode){
|
||||
this.$toast('保单号(救援)不能为空')
|
||||
return
|
||||
}
|
||||
}
|
||||
let timeObj;
|
||||
if(this.dateVal) {
|
||||
timeObj = this.formatDateTimeRange(this.dateVal)
|
||||
}
|
||||
this.serviceIds = this.$refs.tree.getCheckedKeys(true)
|
||||
// console.log('1122',this.vehicleStatus)
|
||||
console.log('1122',this.vehicleStatus)
|
||||
// return
|
||||
await saveVehicle({
|
||||
vehicleId:this.id ? this.id : '',
|
||||
@@ -1294,11 +1221,7 @@ export default {
|
||||
liabilityInsuranceEndTime: this.hasLiabilityInsurance == 1 ? (timeObj?.endTime || '') : '',
|
||||
virtualVehicle: this.virtualVehicle,
|
||||
canSubmitApproval:true,
|
||||
vehicleStatus:this.vehicleStatus,
|
||||
liabilityInsuranceAmount:this.liabilityInsuranceAmount,
|
||||
liabilityInsuranceQuota:this.liabilityInsuranceQuota,
|
||||
insuranceCode:this.insuranceCode,
|
||||
insuranceCodeZd:this.insuranceCodeZd,
|
||||
vehicleStatus:this.vehicleStatus
|
||||
})
|
||||
if(this.id){
|
||||
this.$toast('修改成功')
|
||||
@@ -1504,12 +1427,4 @@ export default {
|
||||
transform: translate(-50%, -50%) rotate(360deg);
|
||||
}
|
||||
}
|
||||
.vanIpt{
|
||||
width: 80%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
.vanIpt1{
|
||||
width: 72%;
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user