story#6735 车辆信息修改--用轻型测试的反显问题,去除轻型

This commit is contained in:
2025-08-14 14:32:02 +08:00
parent a84dd52eae
commit 5c821e1fc0

View File

@ -322,7 +322,7 @@ export default {
},
methods:{
setDefault() {
if( this.vehicleLicenseInfo?.vehicleType?.includes('型') || this.vehicleLicenseInfo?.vehicleType?.includes('微型') || this.vehicleLicenseInfo?.vehicleType?.includes('普通') || this.vehicleLicenseInfo?.vehicleType?.includes('摩托') ) {
if( this.vehicleLicenseInfo?.vehicleType?.includes('型') || this.vehicleLicenseInfo?.vehicleType?.includes('微型') || this.vehicleLicenseInfo?.vehicleType?.includes('普通') || this.vehicleLicenseInfo?.vehicleType?.includes('摩托') ) {
this.vehicleTypes.map(item => {
if( item.value == 1 || item.value == 9 ) {
item.disabled = false;