story#6071,车辆类型为小修车时需清除拖车服务类型id
This commit is contained in:
@ -30,10 +30,10 @@
|
||||
}
|
||||
</script>
|
||||
<script src="https://webapi.amap.com/maps?v=1.4.15&key=2560bbf04daef66c810c5e6a97e8c508&plugin=AMap.Polyline"></script>
|
||||
<script src="https://unpkg.com/vconsole@latest/dist/vconsole.min.js"></script>
|
||||
<!-- <script src="https://unpkg.com/vconsole@latest/dist/vconsole.min.js"></script>-->
|
||||
<script>
|
||||
// VConsole 默认会挂载到 `window.VConsole` 上
|
||||
let vConsole = new window.VConsole();
|
||||
// let vConsole = new window.VConsole();
|
||||
(function (doc, win) {
|
||||
console.log("==window.location.pathname===",window.location.pathname)
|
||||
let docEl = doc.documentElement
|
||||
|
@ -72,7 +72,6 @@ export const myMixins = {
|
||||
methods();
|
||||
}
|
||||
setTimeout(() => {
|
||||
console.log("shengxiaoxi")
|
||||
that.noClick = true;
|
||||
}, 3000)
|
||||
} else {
|
||||
|
@ -462,6 +462,10 @@ export default {
|
||||
this.$toast('车辆类型不能为空')
|
||||
return
|
||||
}
|
||||
if(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));
|
||||
}
|
||||
await saveVehicle({
|
||||
vehicleId:this.id ? this.id : '',
|
||||
plateNumber:this.carNum ? this.carNum :'',
|
||||
|
Reference in New Issue
Block a user