1、入住人员添加字段

This commit is contained in:
2025-07-23 20:57:17 +08:00
parent 9d75dd2168
commit 4ff469f0ae
5 changed files with 195 additions and 111 deletions

View File

@@ -86,11 +86,11 @@ async function handleConfirm() {
}
// getValues获取为一个readonly的对象 需要修改必须先深拷贝一次
let data = cloneDeep(await formApi.getValues());
if (userInfo) {
data.userName = userInfo.userName
data.phone = userInfo.phone
data.gender = userInfo.gender
}
// if (userInfo) {
// data.userName = userInfo.userName
// data.phone = userInfo.phone
// data.gender = userInfo.gender
// }
if(unitName.value){
data.unitName = unitName.value
}