story#6071,选择小修车时需清除原本的拖车服务类型
This commit is contained in:
@ -525,7 +525,7 @@ export default {
|
||||
this.$toast('车辆类型不能为空')
|
||||
return
|
||||
}
|
||||
if(this.selectedOption.includes(1)){//选择小修车时需清除原本的拖车服务类型
|
||||
if(this.selectedOption?.length==0 && this.selectedOption.includes(1)){//选择小修车时需清除原本的拖车服务类型
|
||||
let data=this.oldSupplierServiceList.filter(item => item.name ==='拖车服务')
|
||||
this.serviceIds = this.serviceIds.filter(item => !data[0].children.some(obj => obj.id === item));
|
||||
}
|
||||
|
Reference in New Issue
Block a user