新增分享功能,修改开票判断逻辑,可查询电表列表

This commit is contained in:
2025-01-10 15:07:07 +08:00
parent ec77d26c27
commit b905da6035
11 changed files with 142 additions and 15 deletions

View File

@@ -124,6 +124,20 @@ Page({
onChangeMoney(e) {
this.setData({ money: e.detail })
},
jumpToMeterList() {
const { tenement, user } = this.data;
if (!user) {
alertInfo("请先登录")
return
}
if (!tenement) {
alertInfo("请先选择商户")
return
}
wx.navigateTo({
url: '/pages/meterList/index?id=' + tenement?.id,
})
},
async recharge() {
const { user, money, meter, tenement, park } = this.data;
if (!user || !user.id) {