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
feccce66
Commit
feccce66
authored
Jun 16, 2020
by
lujunye
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化客户列表展示
parent
7137e7d7
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
2 deletions
+12
-2
GeliBusinessPlatform.xcworkspace/xcuserdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
...erdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
+0
-0
GeliBusinessPlatform/ViewController/客户管理/KeHuListViewController.swift
...Platform/ViewController/客户管理/KeHuListViewController.swift
+6
-1
GeliBusinessPlatform/ViewController/客户管理/KeHuXQViewController.swift
...ssPlatform/ViewController/客户管理/KeHuXQViewController.swift
+6
-1
No files found.
GeliBusinessPlatform.xcworkspace/xcuserdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
View file @
feccce66
No preview for this file type
GeliBusinessPlatform/ViewController/客户管理/KeHuListViewController.swift
View file @
feccce66
...
...
@@ -339,7 +339,12 @@ class KeHuListViewController: BaseViewController,UITableViewDelegate,UITableView
cell
.
statusLbl2
.
isHidden
=
true
if
rowModel
.
discounts_rate
!=
0
&&
rowModel
.
discounts_rate
!=
100
{
cell
.
statusLbl2
.
isHidden
=
false
cell
.
statusLbl2
.
text
=
"
\(
rowModel
.
discounts_rate
!
)
折"
let
num1
=
rowModel
.
discounts_rate
!
/
10
let
num2
=
rowModel
.
discounts_rate
!
%
10
cell
.
statusLbl2
.
text
=
"
\(
num1
)
折"
if
num2
!=
0
{
cell
.
statusLbl2
.
text
=
"
\(
num1
)
.
\(
num2
)
折"
}
}
cell
.
arrowImg
.
isHidden
=
true
cell
.
nameLbl2
.
isHidden
=
true
...
...
GeliBusinessPlatform/ViewController/客户管理/KeHuXQViewController.swift
View file @
feccce66
...
...
@@ -166,7 +166,12 @@ class KeHuXQViewController: BaseViewController,UITableViewDelegate,UITableViewDa
cell
.
statusLbl2
.
isHidden
=
true
if
model
!.
discounts_rate
!=
0
&&
model
!.
discounts_rate
!=
100
{
cell
.
statusLbl2
.
isHidden
=
false
cell
.
statusLbl2
.
text
=
"
\(
model
!.
discounts_rate
!
)
折"
let
num1
=
model
!.
discounts_rate
!
/
10
let
num2
=
model
!.
discounts_rate
!
%
10
cell
.
statusLbl2
.
text
=
"
\(
num1
)
折"
if
num2
!=
0
{
cell
.
statusLbl2
.
text
=
"
\(
num1
)
.
\(
num2
)
折"
}
}
cell
.
arrowImg
.
isHidden
=
true
cell
.
nameLbl2
.
isHidden
=
true
...
...
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