水费缴费部分代码同步

This commit is contained in:
wangyuxin
2026-06-01 11:17:04 +08:00
parent fbe07e21a6
commit c740126617
14 changed files with 717 additions and 555 deletions

View File

@@ -181,6 +181,7 @@
residentId: uni.getStorageSync('userId')
}).then(res => {
uni.hideLoading()
console.log(res);
if (res.code === 200) {
uni.showToast({
title: '提交成功',
@@ -195,10 +196,17 @@
icon: 'none'
})
}
}).catch(err => {
uni.hideLoading()
uni.showToast({
title: err.msg || '网络异常',
icon: 'none'
})
})
}
}
})
}
const loadParkingSpaceDetail = async () => {
// 防重复请求
@@ -225,14 +233,14 @@
formData.value.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)
formData.value.bindCar = data.carNum
uni.setStorageSync('bindCarName', data.carNum)
formData.value.bindCarId = data.carId
uni.setStorageSync('bindCarId', data.carId)
} catch (err) {