页面优化
This commit is contained in:
parent
323bd3b551
commit
4171abc1fe
@ -185,7 +185,7 @@
|
|||||||
// 13043214321
|
// 13043214321
|
||||||
this.dataList = res.data.vehicleContract
|
this.dataList = res.data.vehicleContract
|
||||||
this.carList = res.data.vehicleRentCars
|
this.carList = res.data.vehicleRentCars
|
||||||
this.checked = [this.carList[0].car_id]
|
this.checked = [this.carList[0].car_id] || ''
|
||||||
this.dataList.cars_info ? this.dataList.cars_info = JSON.parse(this.dataList.cars_info).license :
|
this.dataList.cars_info ? this.dataList.cars_info = JSON.parse(this.dataList.cars_info).license :
|
||||||
""
|
""
|
||||||
if (this.dataList.status == 3) {
|
if (this.dataList.status == 3) {
|
||||||
@ -275,7 +275,7 @@
|
|||||||
|
|
||||||
contractApi({
|
contractApi({
|
||||||
id: this.dataList.id,
|
id: this.dataList.id,
|
||||||
car_id: this.checked[0]?.car_id ? this.checked[0].car_id : ""
|
car_id: this.checked[0] || ""
|
||||||
}).then(res => {
|
}).then(res => {
|
||||||
this.navTo('/subpkg/property/success')
|
this.navTo('/subpkg/property/success')
|
||||||
})
|
})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user