三轮车购买

This commit is contained in:
zmj 2023-10-19 13:33:31 +08:00
parent ce5e98f8fe
commit a762dfdfea
2 changed files with 8 additions and 5 deletions

View File

@ -39,7 +39,7 @@
</u-checkbox>
</u-checkbox-group>
</view>
<view class="" v-show="item.id==carCheckedArr[0]">
<view class="" v-show="item.id==carCheckedArr[0] &&type!=2">
选择该车辆为监管车辆
</view>
</view>
@ -88,12 +88,13 @@
data() {
return {
queryCar: '',
a: "https://tse3-mm.cn.bing.net/th/id/OIP-C.0xzWZj1_A-nzJiUBxrk8XQHaEo?w=298&h=186&c=7&r=0&o=5&pid=1.7",
carList: [],
carListI: [],
showPop: false,
carCheckeList: [],
carCheckedArr: []
carCheckedArr: [],
type: "",
}
},
methods: {
@ -171,6 +172,7 @@
},
onLoad(option) {
this.type = option.type
// console.log(option.license)
canBuyCarListApi().then(res => {
res.data.forEach(item => {

View File

@ -48,7 +48,7 @@
<text>签约时间: </text>
<text>{{datas.rent_time}} </text>
</view>
<view class="li" v-if="datas.type">
<view class="li" v-if="datas.type==1">
<text>到期时间: </text>
<text> {{overDateFn(datas.rent_time) }} </text>
</view>
@ -89,7 +89,8 @@
</view>
<mybtn text="购买车辆" @click="navTo2(`/subpkg/property/buyCar?license=${datas.car_license}`)"
<mybtn text="购买车辆"
@click="navTo2(`/subpkg/property/buyCar?license=${datas.car_license}&type=${datas.type}`)"
v-if="company_type==18"></mybtn>
</view>