Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
GeliBusinessPlatform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
CI / CD Analytics
Repository Analytics
Value Stream Analytics
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ljy
GeliBusinessPlatform
Commits
c51d1056
Commit
c51d1056
authored
Jun 04, 2020
by
刘俊宏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修正出入库记录筛选展示
parent
4b73348a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
1 deletion
+9
-1
GeliBusinessPlatform.xcworkspace/xcuserdata/liujunhong.xcuserdatad/UserInterfaceState.xcuserstate
...ata/liujunhong.xcuserdatad/UserInterfaceState.xcuserstate
+0
-0
GeliBusinessPlatform/View/MoreBtnView/MoreAndTimeSelectView.swift
...nessPlatform/View/MoreBtnView/MoreAndTimeSelectView.swift
+9
-1
No files found.
GeliBusinessPlatform.xcworkspace/xcuserdata/liujunhong.xcuserdatad/UserInterfaceState.xcuserstate
View file @
c51d1056
No preview for this file type
GeliBusinessPlatform/View/MoreBtnView/MoreAndTimeSelectView.swift
View file @
c51d1056
...
...
@@ -137,8 +137,10 @@ class MoreAndTimeSelectView: UIView, TitleAndSelCalendarViewDelegate, TimeSelect
//如果展示时间选择器,就 + 235*glscale
//MARK:--展示日历选择器
var
isShowCalendarV
=
false
func
isShowCalendarV
(
isShow
:
Bool
)
{
if
isShow
{
isShowCalendarV
=
true
contentH
=
contentH
+
235*
glscale
contentHeight
.
constant
=
contentH
calendarV
.
moreSelection
=
true
...
...
@@ -153,6 +155,7 @@ class MoreAndTimeSelectView: UIView, TitleAndSelCalendarViewDelegate, TimeSelect
calendarV
.
setOldDate
(
beginD
:
BeginDate
!
,
endD
:
EndDate
!
)
}
}
else
{
isShowCalendarV
=
false
contentH
=
contentH
-
235*
glscale
contentHeight
.
constant
=
contentH
calendarV
.
removeFromSuperview
()
...
...
@@ -286,6 +289,7 @@ class MoreAndTimeSelectView: UIView, TitleAndSelCalendarViewDelegate, TimeSelect
let
suv
=
contenV
.
viewWithTag
(
10086
)
suv
?
.
removeFromSuperview
()
//选择了出入库
print
(
"选择了出入库"
)
if
sendSArr
.
count
==
0
{
contentH
=
contentH
+
120*
glscale
...
...
@@ -324,7 +328,11 @@ class MoreAndTimeSelectView: UIView, TitleAndSelCalendarViewDelegate, TimeSelect
}
}
scrollview
.
setContentOffset
(
CGPoint
(
x
:
0
,
y
:
120*
glscale
),
animated
:
true
)
var
offsetH
=
120*
glscale
if
isShowCalendarV
{
offsetH
=
offsetH
+
235*
glscale
}
scrollview
.
setContentOffset
(
CGPoint
(
x
:
0
,
y
:
offsetH
),
animated
:
true
)
}
else
{
print
(
"选择全部"
)
...
...
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