fix(addMember, editMember): 身份证查询 flag=101/null 分支补充回填 sex 和 birthday
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 4.7
parent
587dfc1f3a
commit
f8fc84b8e7
@@ -354,8 +354,10 @@ Page({
|
||||
'form.idCard': serverResult.idCard ?? '',
|
||||
'form.gender': parsed.gender,
|
||||
'form.age': parsed.age,
|
||||
'form.sex': parsed.sex,
|
||||
'form.height': serverResult.height ? String(serverResult.height) : '',
|
||||
'form.weight': serverResult.weight ? String(serverResult.weight) : ''
|
||||
'form.weight': serverResult.weight ? String(serverResult.weight) : '',
|
||||
birthday: serverResult.birthday || parsed.birthday
|
||||
})
|
||||
return
|
||||
}
|
||||
@@ -365,7 +367,9 @@ Page({
|
||||
serverResult,
|
||||
hasQueried: true,
|
||||
'form.gender': parsed.gender,
|
||||
'form.age': parsed.age
|
||||
'form.age': parsed.age,
|
||||
'form.sex': parsed.sex,
|
||||
birthday: serverResult.birthday || parsed.birthday
|
||||
}
|
||||
if (serverResult.height) {
|
||||
data['form.height'] = String(serverResult.height)
|
||||
|
||||
@@ -254,8 +254,10 @@ Page({
|
||||
'form.idCard': serverResult.idCard ?? '',
|
||||
'form.gender': parsed.gender,
|
||||
'form.age': parsed.age,
|
||||
'form.sex': parsed.sex,
|
||||
'form.height': serverResult.height ? String(serverResult.height) : '',
|
||||
'form.weight': serverResult.weight ? String(serverResult.weight) : ''
|
||||
'form.weight': serverResult.weight ? String(serverResult.weight) : '',
|
||||
birthday: serverResult.birthday || parsed.birthday
|
||||
})
|
||||
return
|
||||
}
|
||||
@@ -265,7 +267,9 @@ Page({
|
||||
serverResult,
|
||||
hasQueried: true,
|
||||
'form.gender': parsed.gender,
|
||||
'form.age': parsed.age
|
||||
'form.age': parsed.age,
|
||||
'form.sex': parsed.sex,
|
||||
birthday: serverResult.birthday || parsed.birthday
|
||||
}
|
||||
if (serverResult.height) {
|
||||
data['form.height'] = String(serverResult.height)
|
||||
|
||||
Reference in New Issue
Block a user