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
31f10808
Commit
31f10808
authored
Oct 18, 2024
by
Steven杜宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
// 预约
parent
0f88d139
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
8 deletions
+13
-8
YHResignAppointTimeMultipleCell.swift
...HKAppoint(在港递交预约)/V/YHResignAppointTimeMultipleCell.swift
+6
-4
YHResignAppointTimeSingleCell.swift
...gnHKAppoint(在港递交预约)/V/YHResignAppointTimeSingleCell.swift
+7
-4
No files found.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/Resign(续签)/ResignHKAppoint(在港递交预约)/V/YHResignAppointTimeMultipleCell.swift
View file @
31f10808
...
...
@@ -114,10 +114,12 @@ class YHResignAppointTimeMultipleCell: UITableViewCell {
if
self
.
model
.
leave_hk_at
.
isEmpty
{
self
.
model
.
ready_to_submit_at
=
selectTimeStr
}
else
{
if
self
.
compareDates
(
selectTimeStr
,
self
.
model
.
leave_hk_at
)
!=
.
small
{
// selectTimeStr >= leave_hk_at
YHHUD
.
flash
(
message
:
"预约在港递交时间必须早于预计离港时间"
)
return
if
!
self
.
model
.
notleaveHK
{
// 离港才比较日期
if
self
.
compareDates
(
selectTimeStr
,
self
.
model
.
leave_hk_at
)
!=
.
small
{
// selectTimeStr >= leave_hk_at
YHHUD
.
flash
(
message
:
"预约在港递交时间必须早于预计离港时间"
)
return
}
}
self
.
model
.
ready_to_submit_at
=
selectTimeStr
}
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/Resign(续签)/ResignHKAppoint(在港递交预约)/V/YHResignAppointTimeSingleCell.swift
View file @
31f10808
...
...
@@ -50,6 +50,7 @@ class YHResignAppointTimeSingleCell: UITableViewCell {
view
.
clickBlock
=
{
[
weak
self
]
in
guard
let
self
=
self
else
{
return
}
self
.
getDateInfo
{
[
weak
self
]
startDate
,
endDate
in
guard
let
self
=
self
else
{
return
}
let
view
=
YHRangeDatePickerSheetView2
.
sheetView
()
...
...
@@ -65,10 +66,12 @@ class YHResignAppointTimeSingleCell: UITableViewCell {
if
self
.
model
.
leave_hk_at
.
isEmpty
{
self
.
model
.
ready_to_submit_at
=
selectTimeStr
}
else
{
if
self
.
compareDates
(
selectTimeStr
,
self
.
model
.
leave_hk_at
)
!=
.
small
{
// selectTimeStr >= leave_hk_at
YHHUD
.
flash
(
message
:
"预约在港递交时间必须早于预计离港时间"
)
return
if
!
self
.
model
.
notleaveHK
{
// 离港才比较日期
if
self
.
compareDates
(
selectTimeStr
,
self
.
model
.
leave_hk_at
)
!=
.
small
{
// selectTimeStr >= leave_hk_at
YHHUD
.
flash
(
message
:
"预约在港递交时间必须早于预计离港时间"
)
return
}
}
self
.
model
.
ready_to_submit_at
=
selectTimeStr
}
...
...
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