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

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

@@ -33,7 +33,7 @@ Page({
alertInfo(message)
return;
}
if (!data?.tenement?.id || !data?.name || !data?.phone || !data?.email) {
if (!data?.id) {
const user = wx.getStorageSync('user')
if (user.isAdmin) {
wx.showModal({

View File

@@ -73,7 +73,7 @@
<van-field
value="{{ detail.phone }}"
wx:if="{{detail.headerType === 0}}"
label="电话"
label="手机号"
readonly
title-width="132rpx"
disabled="{{true}}"