完善店务端员工新增和删除

This commit is contained in:
2026-07-15 17:33:34 +08:00
parent ad1ae376f8
commit 00a435ecfb
12 changed files with 288 additions and 12 deletions
+2 -2
View File
@@ -137,8 +137,8 @@ Page({
const phone = String(form.phone || '').trim()
const account = String(form.account || '').trim()
const password = String(form.password || '').trim()
const wechatId = String(form.wechatId || '').trim()
if (!nickname || !phone || !account || !password || !wechatId) {
const wechatId = String(form.wechatId || '').trim() || phone
if (!nickname || !phone || !account || !password) {
wx.showToast({ title: '请补全美甲师信息', icon: 'none' })
return
}
+1 -1
View File
@@ -60,7 +60,7 @@
<input value="{{createForm.password}}" data-field="password" bindinput="onCreateInput" password placeholder="请输入密码" />
</view>
<view class="modal-field">
<text class="required-label">微信号</text>
<text>微信号</text>
<input value="{{createForm.wechatId}}" data-field="wechatId" bindinput="onCreateInput" placeholder="请输入微信号" />
</view>
</view>