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
8beca19e
Commit
8beca19e
authored
Aug 14, 2020
by
刘俊宏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
下单列表完善
parent
a06773ef
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
43 additions
and
8 deletions
+43
-8
GeliBusinessPlatform.xcworkspace/xcuserdata/liujunhong.xcuserdatad/UserInterfaceState.xcuserstate
...ata/liujunhong.xcuserdatad/UserInterfaceState.xcuserstate
+0
-0
GeliBusinessPlatform/ViewController/运单列表/YDLBVc.swift
GeliBusinessPlatform/ViewController/运单列表/YDLBVc.swift
+43
-8
No files found.
GeliBusinessPlatform.xcworkspace/xcuserdata/liujunhong.xcuserdatad/UserInterfaceState.xcuserstate
View file @
8beca19e
No preview for this file type
GeliBusinessPlatform/ViewController/运单列表/YDLBVc.swift
View file @
8beca19e
...
...
@@ -719,6 +719,17 @@ class YDLBVc: BaseViewController,UITableViewDelegate,UITableViewDataSource,UISea
let
rowModel
=
datas
[
indexPath
.
row
]
if
rowModel
.
lc_name
==
"货拉拉"
{
if
rowModel
.
delivery_status
==
1
{
return
257
}
if
rowModel
.
delivery_status
==
4
&&
rowModel
.
pay_status
==
1
{
return
257
}
return
227
}
if
rowModel
.
delivery_status
==
1
{
return
257
}
...
...
@@ -742,15 +753,27 @@ class YDLBVc: BaseViewController,UITableViewDelegate,UITableViewDataSource,UISea
cell
.
acButton
.
isHidden
=
true
let
rowModel
=
datas
[
indexPath
.
row
]
if
rowModel
.
delivery_status
==
1
{
cell
.
acButton
.
isHidden
=
false
cell
.
acButton
.
setTitle
(
"取消运单"
,
for
:
.
normal
)
}
if
((
rowModel
.
freight
)
!
>
0
)
&&
rowModel
.
pay_status
==
1
{
cell
.
acButton
.
isHidden
=
false
cell
.
acButton
.
setTitle
(
"支付运费"
,
for
:
.
normal
)
if
rowModel
.
lc_name
==
"货拉拉"
{
if
rowModel
.
delivery_status
==
1
{
cell
.
acButton
.
isHidden
=
false
cell
.
acButton
.
setTitle
(
"取消运单"
,
for
:
.
normal
)
}
if
rowModel
.
delivery_status
==
4
&&
rowModel
.
pay_status
==
1
{
cell
.
acButton
.
isHidden
=
false
cell
.
acButton
.
setTitle
(
"支付运费"
,
for
:
.
normal
)
}
}
else
{
if
rowModel
.
delivery_status
==
1
{
cell
.
acButton
.
isHidden
=
false
cell
.
acButton
.
setTitle
(
"取消运单"
,
for
:
.
normal
)
}
if
((
rowModel
.
freight
)
!
>
0
)
&&
rowModel
.
pay_status
==
1
{
cell
.
acButton
.
isHidden
=
false
cell
.
acButton
.
setTitle
(
"支付运费"
,
for
:
.
normal
)
}
}
cell
.
acButton
.
tag
=
indexPath
.
row
cell
.
title1
.
text
=
"运单号:"
+
rowModel
.
lwb_no
!
...
...
@@ -774,13 +797,25 @@ class YDLBVc: BaseViewController,UITableViewDelegate,UITableViewDataSource,UISea
if
rowModel
.
order_sn
?
.
count
==
0
{
cell
.
orderNumLbl
.
text
=
"订单号:-"
}
return
cell
}
//MARK:--cell 按钮方法
var
paymentView
:
PaymentView
?
var
selectIndex
:
Int
?
func
YunDanLieBiaoCellAction
(
sender
:
UIButton
)
{
let
rowModel
=
datas
[
sender
.
tag
]
if
rowModel
.
lc_name
==
"货拉拉"
{
let
vc
=
WaybillDetailViewController
()
vc
.
lwb_no
=
rowModel
.
lwb_no
!
self
.
navigationController
?
.
pushViewController
(
vc
,
animated
:
true
)
return
}
selectIndex
=
sender
.
tag
switch
sender
.
titleLabel
?
.
text
{
case
"支付运费"
:
...
...
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