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
0bbd29f8
Commit
0bbd29f8
authored
Nov 25, 2024
by
Steven杜宇
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'qmas-1130' of
http://gitlab.galaxy-immi.com/mobile-group/galaxy-iOS
into qmas-1130
parents
0a1b1fae
5ce50372
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
14 deletions
+18
-14
YHIncomeRecordWorkExperienceViewController.swift
...(收入记录)/C/YHIncomeRecordWorkExperienceViewController.swift
+15
-11
YHIncomeInputMoneyCell.swift
...我的信息流程)/IncomeRecord(收入记录)/V/YHIncomeInputMoneyCell.swift
+3
-3
No files found.
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/QMAS(优才)/ServiceProcess(我的信息流程)/IncomeRecord(收入记录)/C/YHIncomeRecordWorkExperienceViewController.swift
View file @
0bbd29f8
...
...
@@ -497,32 +497,36 @@ extension YHIncomeRecordWorkExperienceViewController: UITableViewDelegate, UITab
extension
YHIncomeRecordWorkExperienceViewController
{
private
func
checkInput
()
->
Bool
{
var
retValue
=
true
var
updateRows
:
[
IndexPath
]
=
[]
if
companyModel
.
has_all_file
==
YHIncomeRecordHasAllFile
.
unknown
.
rawValue
{
isHasAllFileOK
=
false
if
let
hasAllFileIndexPath
=
hasAllFileIndexPath
,
tableView
.
numberOfSections
>
hasAllFileIndexPath
.
section
,
tableView
.
numberOfRows
(
inSection
:
hasAllFileIndexPath
.
section
)
>
hasAllFileIndexPath
.
row
{
tableView
.
reloadRows
(
at
:
[
hasAllFileIndexPath
],
with
:
.
none
)
updateRows
.
append
(
hasAllFileIndexPath
)
}
ret
urn
false
ret
Value
=
false
}
isHasAllFileOK
=
true
if
companyModel
.
income_type
.
count
==
0
{
isIncomeTypeOK
=
false
if
let
incomeTypeIndexPath
=
incomeTypeIndexPath
,
tableView
.
numberOfSections
>
incomeTypeIndexPath
.
section
,
tableView
.
numberOfRows
(
inSection
:
incomeTypeIndexPath
.
section
)
>
incomeTypeIndexPath
.
row
{
tableView
.
reloadRows
(
at
:
[
incomeTypeIndexPath
],
with
:
.
none
)
updateRows
.
append
(
incomeTypeIndexPath
)
}
ret
urn
false
ret
Value
=
false
}
isIncomeTypeOK
=
true
if
companyModel
.
income_money
==
0
{
isIncomeMoneyOK
=
false
if
let
incomMoneyIndexPath
=
incomMoneyIndexPath
,
tableView
.
numberOfSections
>
incomMoneyIndexPath
.
section
,
tableView
.
numberOfRows
(
inSection
:
incomMoneyIndexPath
.
section
)
>
incomMoneyIndexPath
.
row
{
tableView
.
reloadRows
(
at
:
[
incomMoneyIndexPath
],
with
:
.
none
)
updateRows
.
append
(
incomMoneyIndexPath
)
}
return
false
retValue
=
false
}
if
updateRows
.
count
>
0
{
tableView
.
reloadRows
(
at
:
updateRows
,
with
:
.
none
)
isHasAllFileOK
=
true
isIncomeTypeOK
=
true
isIncomeMoneyOK
=
true
}
isIncomeMoneyOK
=
true
return
true
return
retValue
}
private
func
requestData
(
isNeedLoading
:
Bool
=
false
)
{
...
...
galaxy/galaxy/Classes/Modules/IntelligentService(服务中心)/QMAS(优才)/ServiceProcess(我的信息流程)/IncomeRecord(收入记录)/V/YHIncomeInputMoneyCell.swift
View file @
0bbd29f8
...
...
@@ -57,7 +57,7 @@ class YHIncomeInputMoneyCell: YHResignDocumentCell {
let
label
=
UILabel
()
label
.
font
=
.
PFSC_R
(
ofSize
:
12
)
label
.
textColor
=
.
failColor
label
.
text
=
"请
选择
"
label
.
text
=
"请
输入
"
return
label
}()
...
...
@@ -110,11 +110,11 @@ class YHIncomeInputMoneyCell: YHResignDocumentCell {
infoFailLabel
.
isHidden
=
!
needShowFailButton
infoFailLabel
.
snp
.
remakeConstraints
{
make
in
if
needShowFailButton
{
make
.
top
.
equalTo
(
info
Detail
Label
.
snp
.
bottom
)
.
offset
(
6
)
make
.
top
.
equalTo
(
info
Title
Label
.
snp
.
bottom
)
.
offset
(
6
)
}
make
.
left
.
equalToSuperview
()
.
offset
(
18
)
make
.
right
.
lessThanOrEqualToSuperview
()
.
offset
(
-
18
)
make
.
bottom
.
e
qualToSuperview
()
.
offset
(
-
16
)
make
.
bottom
.
lessThanOrE
qualToSuperview
()
.
offset
(
-
16
)
}
}
...
...
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