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
4351a1a6
Commit
4351a1a6
authored
Feb 04, 2021
by
lujunye
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
补充出库批次界面信息
parent
271433da
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
2 deletions
+10
-2
GeliBusinessPlatform.xcworkspace/xcuserdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
...erdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
+0
-0
GeliBusinessPlatform/ViewController/1.1入库&出库/出库/CKGmCell.swift
...usinessPlatform/ViewController/1.1入库&出库/出库/CKGmCell.swift
+7
-0
GeliBusinessPlatform/ViewController/1.1入库&出库/出库/NewCKVc.swift
...BusinessPlatform/ViewController/1.1入库&出库/出库/NewCKVc.swift
+3
-2
No files found.
GeliBusinessPlatform.xcworkspace/xcuserdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
View file @
4351a1a6
No preview for this file type
GeliBusinessPlatform/ViewController/1.1入库&出库/出库/CKGmCell.swift
View file @
4351a1a6
...
...
@@ -34,6 +34,7 @@ class CKGmCell: UITableViewCell {
// Initialization code
}
let
scrollView
=
UIScrollView
()
let
remind_lbl
=
UILabel
()
override
func
layoutIfNeeded
()
{
let
colorName
=
"#F3F4F8"
scrollView
.
bounces
=
true
...
...
@@ -153,6 +154,12 @@ class CKGmCell: UITableViewCell {
scrollView
.
contentSize
=
CGSize
(
width
:
495.0
,
height
:
38.5
+
30.0
*
CGFloat
(
dataArr
!.
count
))
scrollView
.
isScrollEnabled
=
true
super
.
layoutIfNeeded
()
remind_lbl
.
frame
=
CGRect
(
x
:
scrollView
.
frame
.
minX
,
y
:
scrollView
.
frame
.
maxY
+
7
,
width
:
200
,
height
:
15
)
remind_lbl
.
text
=
"*滑动查看更多信息"
self
.
contentView
.
addSubview
(
remind_lbl
)
remind_lbl
.
font
=
UIFont
.
systemFont
(
ofSize
:
11
)
remind_lbl
.
textColor
=
UIColor
(
named
:
"#F57575"
)
}
override
func
setSelected
(
_
selected
:
Bool
,
animated
:
Bool
)
{
super
.
setSelected
(
selected
,
animated
:
animated
)
...
...
GeliBusinessPlatform/ViewController/1.1入库&出库/出库/NewCKVc.swift
View file @
4351a1a6
...
...
@@ -320,8 +320,10 @@ class NewCKVc: BaseViewController,UITableViewDelegate,UITableViewDataSource,CKNo
if
arr
!.
count
>
0
{
cell
.
dataArr
=
arr
cell
.
scrollView
.
isHidden
=
false
cell
.
remind_lbl
.
isHidden
=
false
}
else
{
cell
.
scrollView
.
isHidden
=
true
cell
.
remind_lbl
.
isHidden
=
true
}
return
cell
}
...
...
@@ -380,11 +382,10 @@ class NewCKVc: BaseViewController,UITableViewDelegate,UITableViewDataSource,CKNo
if
isGm
{
let
arr
=
piCiArr
!
[
indexPath
.
row
]
if
arr
.
count
>
0
{
return
CGFloat
(
140
+
arr
.
count
*
30
+
4
0
)
return
CGFloat
(
140
+
arr
.
count
*
30
+
6
0
)
}
else
{
return
140
}
}
return
139
}
...
...
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