From 3438a7f9b3b9fe7de2314e487c9387ae51f1382f Mon Sep 17 00:00:00 2001 From: zhouxueli <2841188632@qq.com> Date: Thu, 29 Jan 2026 21:32:39 +0800 Subject: [PATCH] =?UTF-8?q?Revert=20"CRM=5F26-01-22#story#7966,=E5=85=B3?= =?UTF-8?q?=E4=BA=8E=E5=9C=A8=E6=89=93=E9=80=9A=E7=B3=BB=E7=BB=9F=E4=B8=AD?= =?UTF-8?q?=E8=B4=A3=E4=BB=BB=E9=99=A9=E4=BF=A1=E6=81=AF=E5=85=B3=E8=81=94?= =?UTF-8?q?=E7=9A=84=E9=9C=80=E6=B1=82"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit dc94c6d261cdb0ad902e8f1ac3f531fcead7d3ac. --- src/views/index/vehicleAdd.vue | 99 +++------------------------------- 1 file changed, 7 insertions(+), 92 deletions(-) diff --git a/src/views/index/vehicleAdd.vue b/src/views/index/vehicleAdd.vue index a429d4a4..50b07b16 100644 --- a/src/views/index/vehicleAdd.vue +++ b/src/views/index/vehicleAdd.vue @@ -311,65 +311,9 @@ -
-
-
- - 保费 -
- - - -
-
-
-
- - 保额 -
- - - -
-
-
-
- - 保单号(救援) -
- -
-
-
-
保单号(中道物流)
- -
-
+ +
@@ -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%; -}