This commit is contained in:
xiaozhiyong
2023-10-12 11:02:14 +08:00
parent e331393f09
commit 7bd17a3692
15 changed files with 497 additions and 265 deletions

View File

@@ -13,11 +13,12 @@
<view class="flexone margin size">{{Route.start.title}}</view>
</view>
<view v-for="item,index in midwayPointList" :key="index"
@click="chooseLocation('midwayPoint',index)" class=" Padding addressInput flex ac flexone height79">
<view v-for="item,index in midwayPointList" :key="index" @click="chooseLocation('midwayPoint',index)"
class=" Padding addressInput flex ac flexone height79">
<view style="background-color: #32CD32;" class="yuan" />
<view class="flexone margin size">{{item.title || '请输入途经点'}}</view>
<image @click.stop="removeLocation(index)" class="remove" src="../../../static/img/remove.png"></image>
<image @click.stop="removeLocation(index)" class="remove" src="../../../static/img/remove.png">
</image>
</view>
<view @click="chooseLocation('end')" class=" Padding addressInput flex ac flexone height79">
@@ -134,7 +135,7 @@
this.midwayPointList.splice(index, 1)
this.$parent.passiveRedraw(this.midwayPointList)
},
additionLocation() {
this.midwayPointList.push({
@@ -174,17 +175,17 @@
value: items.id
})
})
this.menuList.push(data)
if (item === 'productCodes') {
this.menuList.push(data)
}
})
this.menuList[2].Sublist.unshift({
lable: '全渠道',
value: ''
});
// [this.menuList[1],this.menuList[3]]=[this.menuList[3],this.menuList[1]]
[this.menuList[0], this.menuList[1], this.menuList[2], this.menuList[3]] = [this.menuList[0],
this.menuList[3], this.menuList[1], this.menuList[2]
[this.menuList[0], this.menuList[1], this.menuList[2], ] = [this.menuList[0],
this.menuList[2], this.menuList[1]
];
// console.log(this.menuList, '***')
})
},
datassFn() {