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
10567670
Commit
10567670
authored
Jul 14, 2020
by
lujunye
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化cell显示
parent
d291a3c2
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
13 deletions
+17
-13
GeliBusinessPlatform.xcworkspace/xcuserdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
...erdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
+0
-0
GeliBusinessPlatform/ViewController/订单列表/OrderListVC.swift
GeliBusinessPlatform/ViewController/订单列表/OrderListVC.swift
+3
-3
GeliBusinessPlatform/ViewController/采购单详情/CGDListCell.xib
GeliBusinessPlatform/ViewController/采购单详情/CGDListCell.xib
+14
-10
No files found.
GeliBusinessPlatform.xcworkspace/xcuserdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
View file @
10567670
No preview for this file type
GeliBusinessPlatform/ViewController/订单列表/OrderListVC.swift
View file @
10567670
...
@@ -189,11 +189,11 @@ class OrderListVC: BaseViewController, UITableViewDelegate, UITableViewDataSourc
...
@@ -189,11 +189,11 @@ class OrderListVC: BaseViewController, UITableViewDelegate, UITableViewDataSourc
// cell.leftIcon.isHidden = true
// cell.leftIcon.isHidden = true
// cell.nameLblLeft.constant = -15
// cell.nameLblLeft.constant = -15
if
rowModel
.
cus_name
!=
nil
{
if
rowModel
.
cus_name
!=
nil
{
cell
.
nameLbl
.
text
=
rowModel
.
cus_name
cell
.
nameLbl
.
text
=
rowModel
.
cus_name
!
}
else
{
}
else
{
cell
.
nameLbl
.
text
=
rowModel
.
user_name
cell
.
nameLbl
.
text
=
rowModel
.
user_name
!
}
}
cell
.
orderNumerLbl
.
text
=
rowModel
.
order_sn
cell
.
orderNumerLbl
.
text
=
rowModel
.
order_sn
!
cell
.
statusLbl
.
text
=
orderStatusStrByInt
(
statusNumber
:
rowModel
.
order_status
!
)
cell
.
statusLbl
.
text
=
orderStatusStrByInt
(
statusNumber
:
rowModel
.
order_status
!
)
cell
.
countLbl
.
text
=
"
\(
rowModel
.
goods_number
!
)
"
cell
.
countLbl
.
text
=
"
\(
rowModel
.
goods_number
!
)
"
cell
.
priceLbl
.
text
=
rowModel
.
sum_amount
cell
.
priceLbl
.
text
=
rowModel
.
sum_amount
...
...
GeliBusinessPlatform/ViewController/采购单详情/CGDListCell.xib
View file @
10567670
...
@@ -37,8 +37,12 @@
...
@@ -37,8 +37,12 @@
<constraint
firstAttribute=
"height"
constant=
"17.5"
id=
"q0W-cG-7kX"
/>
<constraint
firstAttribute=
"height"
constant=
"17.5"
id=
"q0W-cG-7kX"
/>
</constraints>
</constraints>
</imageView>
</imageView>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"标题"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"CPQ-JB-dO9"
>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"321312"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"CPQ-JB-dO9"
>
<rect
key=
"frame"
x=
"35"
y=
"16"
width=
"27"
height=
"16"
/>
<rect
key=
"frame"
x=
"35"
y=
"16"
width=
"44"
height=
"16"
/>
<constraints>
<constraint
firstAttribute=
"width"
relation=
"lessThanOrEqual"
constant=
"70"
id=
"Jno-Ez-xfr"
/>
<constraint
firstAttribute=
"width"
relation=
"greaterThanOrEqual"
constant=
"40"
id=
"h2R-4R-NZP"
/>
</constraints>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"13"
/>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"13"
/>
<color
key=
"textColor"
name=
"标题字颜色"
/>
<color
key=
"textColor"
name=
"标题字颜色"
/>
<nil
key=
"highlightedColor"
/>
<nil
key=
"highlightedColor"
/>
...
@@ -168,8 +172,8 @@
...
@@ -168,8 +172,8 @@
</userDefinedRuntimeAttribute>
</userDefinedRuntimeAttribute>
</userDefinedRuntimeAttributes>
</userDefinedRuntimeAttributes>
</label>
</label>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"
Label
"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"UuD-5H-NJZ"
>
<label
opaque=
"NO"
userInteractionEnabled=
"NO"
contentMode=
"left"
horizontalHuggingPriority=
"251"
verticalHuggingPriority=
"251"
text=
"
4323434234r234242424
"
textAlignment=
"natural"
lineBreakMode=
"tailTruncation"
baselineAdjustment=
"alignBaselines"
adjustsFontSizeToFit=
"NO"
translatesAutoresizingMaskIntoConstraints=
"NO"
id=
"UuD-5H-NJZ"
>
<rect
key=
"frame"
x=
"
299"
y=
"16"
width=
"33
"
height=
"16"
/>
<rect
key=
"frame"
x=
"
174"
y=
"16"
width=
"158
"
height=
"16"
/>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"13"
/>
<fontDescription
key=
"fontDescription"
type=
"system"
pointSize=
"13"
/>
<color
key=
"textColor"
name=
"标题字颜色"
/>
<color
key=
"textColor"
name=
"标题字颜色"
/>
<nil
key=
"highlightedColor"
/>
<nil
key=
"highlightedColor"
/>
...
@@ -180,18 +184,19 @@
...
@@ -180,18 +184,19 @@
<constraint
firstItem=
"ZEQ-bR-jNZ"
firstAttribute=
"leading"
secondItem=
"xNb-6a-mWT"
secondAttribute=
"leading"
id=
"3H6-Mf-efn"
/>
<constraint
firstItem=
"ZEQ-bR-jNZ"
firstAttribute=
"leading"
secondItem=
"xNb-6a-mWT"
secondAttribute=
"leading"
id=
"3H6-Mf-efn"
/>
<constraint
firstItem=
"HVh-eU-WcT"
firstAttribute=
"top"
secondItem=
"xNb-6a-mWT"
secondAttribute=
"top"
constant=
"15"
id=
"3vl-Na-tUS"
/>
<constraint
firstItem=
"HVh-eU-WcT"
firstAttribute=
"top"
secondItem=
"xNb-6a-mWT"
secondAttribute=
"top"
constant=
"15"
id=
"3vl-Na-tUS"
/>
<constraint
firstItem=
"wn2-a8-osu"
firstAttribute=
"top"
secondItem=
"ZEQ-bR-jNZ"
secondAttribute=
"bottom"
id=
"4nM-v6-4eY"
/>
<constraint
firstItem=
"wn2-a8-osu"
firstAttribute=
"top"
secondItem=
"ZEQ-bR-jNZ"
secondAttribute=
"bottom"
id=
"4nM-v6-4eY"
/>
<constraint
firstItem=
"CPQ-JB-dO9"
firstAttribute=
"centerY"
secondItem=
"HVh-eU-WcT"
secondAttribute=
"centerY"
id=
"6qc-GO-WUG"
/>
<constraint
firstItem=
"UuD-5H-NJZ"
firstAttribute=
"leading"
relation=
"greaterThanOrEqual"
secondItem=
"CPQ-JB-dO9"
secondAttribute=
"trailing"
constant=
"10"
id=
"ADQ-aj-VhR"
/>
<constraint
firstItem=
"CPQ-JB-dO9"
firstAttribute=
"leading"
secondItem=
"HVh-eU-WcT"
secondAttribute=
"trailing"
constant=
"5"
id=
"F2c-jm-aNc"
/>
<constraint
firstItem=
"UuD-5H-NJZ"
firstAttribute=
"centerY"
secondItem=
"HVh-eU-WcT"
secondAttribute=
"centerY"
id=
"GE2-bZ-CEn"
/>
<constraint
firstItem=
"UuD-5H-NJZ"
firstAttribute=
"centerY"
secondItem=
"CPQ-JB-dO9"
secondAttribute=
"centerY"
id=
"GE2-bZ-CEn"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"UuD-5H-NJZ"
secondAttribute=
"trailing"
constant=
"15"
id=
"Gbe-hd-ENe"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"UuD-5H-NJZ"
secondAttribute=
"trailing"
constant=
"15"
id=
"Gbe-hd-ENe"
/>
<constraint
firstItem=
"HVh-eU-WcT"
firstAttribute=
"leading"
secondItem=
"xNb-6a-mWT"
secondAttribute=
"leading"
constant=
"15"
id=
"I5S-Pm-VYW"
/>
<constraint
firstItem=
"HVh-eU-WcT"
firstAttribute=
"leading"
secondItem=
"xNb-6a-mWT"
secondAttribute=
"leading"
constant=
"15"
id=
"I5S-Pm-VYW"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"7hI-Mv-St2"
secondAttribute=
"trailing"
id=
"OFd-nP-Oac"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"7hI-Mv-St2"
secondAttribute=
"trailing"
id=
"OFd-nP-Oac"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"ekx-rs-uaM"
secondAttribute=
"trailing"
constant=
"15"
id=
"Ou3-Ad-CKj"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"ekx-rs-uaM"
secondAttribute=
"trailing"
constant=
"15"
id=
"Ou3-Ad-CKj"
/>
<constraint
firstAttribute=
"bottom"
secondItem=
"wn2-a8-osu"
secondAttribute=
"bottom"
id=
"RkH-CY-G70"
/>
<constraint
firstAttribute=
"bottom"
secondItem=
"wn2-a8-osu"
secondAttribute=
"bottom"
id=
"RkH-CY-G70"
/>
<constraint
firstItem=
"CPQ-JB-dO9"
firstAttribute=
"centerY"
secondItem=
"HVh-eU-WcT"
secondAttribute=
"centerY"
id=
"SAL-fU-SIA"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"Zir-Fk-Cq5"
secondAttribute=
"trailing"
constant=
"15"
id=
"STv-nb-6Vw"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"Zir-Fk-Cq5"
secondAttribute=
"trailing"
constant=
"15"
id=
"STv-nb-6Vw"
/>
<constraint
firstItem=
"wn2-a8-osu"
firstAttribute=
"leading"
secondItem=
"xNb-6a-mWT"
secondAttribute=
"leading"
id=
"WxW-JQ-CYI"
/>
<constraint
firstItem=
"wn2-a8-osu"
firstAttribute=
"leading"
secondItem=
"xNb-6a-mWT"
secondAttribute=
"leading"
id=
"WxW-JQ-CYI"
/>
<constraint
firstItem=
"ekx-rs-uaM"
firstAttribute=
"centerY"
secondItem=
"CPQ-JB-dO9"
secondAttribute=
"centerY"
id=
"jha-tT-l79"
/>
<constraint
firstItem=
"CPQ-JB-dO9"
firstAttribute=
"leading"
secondItem=
"HVh-eU-WcT"
secondAttribute=
"trailing"
constant=
"5"
id=
"aZJ-Hv-anu"
/>
<constraint
firstItem=
"Zir-Fk-Cq5"
firstAttribute=
"centerY"
secondItem=
"CPQ-JB-dO9"
secondAttribute=
"centerY"
id=
"pOY-qL-gXq"
/>
<constraint
firstItem=
"ekx-rs-uaM"
firstAttribute=
"centerY"
secondItem=
"HVh-eU-WcT"
secondAttribute=
"centerY"
id=
"jha-tT-l79"
/>
<constraint
firstItem=
"Zir-Fk-Cq5"
firstAttribute=
"centerY"
secondItem=
"HVh-eU-WcT"
secondAttribute=
"centerY"
id=
"pOY-qL-gXq"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"ZEQ-bR-jNZ"
secondAttribute=
"trailing"
id=
"qLc-bo-y4p"
/>
<constraint
firstAttribute=
"trailing"
secondItem=
"ZEQ-bR-jNZ"
secondAttribute=
"trailing"
id=
"qLc-bo-y4p"
/>
<constraint
firstItem=
"ZEQ-bR-jNZ"
firstAttribute=
"top"
secondItem=
"7hI-Mv-St2"
secondAttribute=
"bottom"
id=
"tlx-vS-U17"
/>
<constraint
firstItem=
"ZEQ-bR-jNZ"
firstAttribute=
"top"
secondItem=
"7hI-Mv-St2"
secondAttribute=
"bottom"
id=
"tlx-vS-U17"
/>
<constraint
firstItem=
"7hI-Mv-St2"
firstAttribute=
"top"
secondItem=
"HVh-eU-WcT"
secondAttribute=
"bottom"
constant=
"15"
id=
"tp0-bW-35O"
/>
<constraint
firstItem=
"7hI-Mv-St2"
firstAttribute=
"top"
secondItem=
"HVh-eU-WcT"
secondAttribute=
"bottom"
constant=
"15"
id=
"tp0-bW-35O"
/>
...
@@ -224,7 +229,6 @@
...
@@ -224,7 +229,6 @@
<outlet
property=
"leftIcon"
destination=
"HVh-eU-WcT"
id=
"dMO-qL-wPe"
/>
<outlet
property=
"leftIcon"
destination=
"HVh-eU-WcT"
id=
"dMO-qL-wPe"
/>
<outlet
property=
"listBgView"
destination=
"ZEQ-bR-jNZ"
id=
"tlg-VJ-Qsv"
/>
<outlet
property=
"listBgView"
destination=
"ZEQ-bR-jNZ"
id=
"tlg-VJ-Qsv"
/>
<outlet
property=
"nameLbl"
destination=
"CPQ-JB-dO9"
id=
"iu0-NX-a71"
/>
<outlet
property=
"nameLbl"
destination=
"CPQ-JB-dO9"
id=
"iu0-NX-a71"
/>
<outlet
property=
"nameLblLeft"
destination=
"F2c-jm-aNc"
id=
"HWs-sw-XVh"
/>
<outlet
property=
"orderNumberRight"
destination=
"Gbe-hd-ENe"
id=
"Ss7-Kf-hKd"
/>
<outlet
property=
"orderNumberRight"
destination=
"Gbe-hd-ENe"
id=
"Ss7-Kf-hKd"
/>
<outlet
property=
"orderNumerLbl"
destination=
"UuD-5H-NJZ"
id=
"sef-jY-IB7"
/>
<outlet
property=
"orderNumerLbl"
destination=
"UuD-5H-NJZ"
id=
"sef-jY-IB7"
/>
<outlet
property=
"priceLbl"
destination=
"gXv-WF-NRU"
id=
"VRb-af-Nta"
/>
<outlet
property=
"priceLbl"
destination=
"gXv-WF-NRU"
id=
"VRb-af-Nta"
/>
...
...
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