Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
galaxy-iOS
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
mobile-group
galaxy-iOS
Commits
d732cb47
Commit
d732cb47
authored
Mar 11, 2025
by
Alex朱枝文
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
续签缴费申请-出生日期-裁剪成短的
parent
efbe5719
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
1 deletion
+14
-1
YHHKVisaRenewalApplicationVC.swift
...newalPayment(续签在港缴费)/C/YHHKVisaRenewalApplicationVC.swift
+14
-1
No files found.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/QMAS(优才)/Resign(续签)/HongKongVisaRenewalPayment(续签在港缴费)/C/YHHKVisaRenewalApplicationVC.swift
View file @
d732cb47
...
...
@@ -125,7 +125,8 @@ extension YHHKVisaRenewalApplicationVC {
}
self
.
copyToPasteBoard
(
person
.
file_num
,
message
:
"已复制临时档案号"
)
}))
paymentMembers
.
append
(
.
subInfo
(
"申请人出生日期:"
,
"
\(
person
.
birthday
)
"
,
nil
))
let
dateString
=
self
.
getShortDate
(
person
.
birthday
)
paymentMembers
.
append
(
.
subInfo
(
"申请人出生日期:"
,
"
\(
dateString
)
"
,
nil
))
paymentMembers
.
append
(
.
subInfo
(
"缴费金额:"
,
"
\(
person
.
fee_money
)
"
,
nil
,
.
bottom
))
}
...
...
@@ -153,6 +154,18 @@ extension YHHKVisaRenewalApplicationVC {
self
.
tableView
.
reloadData
()
}
}
private
func
getShortDate
(
_
originalDate
:
String
)
->
String
{
let
formatter
=
DateFormatter
()
formatter
.
dateFormat
=
"yyyy-MM-dd HH:mm:ss"
if
let
date
=
formatter
.
date
(
from
:
originalDate
)
{
formatter
.
dateFormat
=
"yyyy-MM-dd"
let
result
=
formatter
.
string
(
from
:
date
)
return
result
}
else
{
return
originalDate
}
}
private
func
showAlertView
(
confirmBlock
:
(()
->
Void
)?)
{
let
alert
=
YHVisaRenewalPayConfirmingPresenceAlertView
.
alertView
()
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment