修复bug
This commit is contained in:
@@ -62,7 +62,7 @@
|
||||
</view>
|
||||
|
||||
|
||||
<view class="form-item" @click="bindCarClick">
|
||||
<view class="form-item" @click="bindCarClick" v-if="formData.certificationStatus === '1'">
|
||||
<text class="item-label">绑定车辆</text>
|
||||
<text class="item-placeholder"
|
||||
:class="{selected: formData.bindCar}">{{ formData.bindCar || '请选择' }}</text>
|
||||
@@ -115,6 +115,7 @@
|
||||
bindCarId: uni.getStorageSync('bindCarId'),
|
||||
owner: uni.getStorageSync('ownerName'),
|
||||
ownerId: uni.getStorageSync('ownerId'),
|
||||
certificationStatus:''
|
||||
})
|
||||
|
||||
onShow(() => {
|
||||
@@ -274,13 +275,11 @@
|
||||
formData.value.parkingSpaceId = data.id
|
||||
uni.setStorageSync('parkingSpaceId', data.id)
|
||||
formData.value.parkingStatus = data.parkingStatus,
|
||||
uni.setStorageSync('parkingStatus', data.parkingStatus)
|
||||
|
||||
uni.setStorageSync('parkingStatus', data.parkingStatus)
|
||||
|
||||
formData.value.bindCar = data.carNum
|
||||
uni.setStorageSync('bindCarName', data.carNum)
|
||||
|
||||
|
||||
formData.value.bindCarId = data.carId
|
||||
uni.setStorageSync('bindCarId', data.carId)
|
||||
|
||||
@@ -288,6 +287,7 @@
|
||||
uni.setStorageSync('ownerName', data.residentName)
|
||||
formData.value.ownerId = data.residentId
|
||||
uni.setStorageSync('ownerId', data.residentId)
|
||||
formData.value.certificationStatus = data.certificationStatus
|
||||
|
||||
} catch (err) {
|
||||
uni.showToast({
|
||||
|
||||
Reference in New Issue
Block a user