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
91b39340
Commit
91b39340
authored
Mar 04, 2021
by
lujunye
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
补回物流公司,运单号显示
parent
2af5c9a1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
31 additions
and
14 deletions
+31
-14
GeliBusinessPlatform.xcworkspace/xcuserdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
...erdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
+0
-0
GeliBusinessPlatform/ViewController/订单详情/OrderDViewController.swift
...ssPlatform/ViewController/订单详情/OrderDViewController.swift
+31
-14
No files found.
GeliBusinessPlatform.xcworkspace/xcuserdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
View file @
91b39340
No preview for this file type
GeliBusinessPlatform/ViewController/订单详情/OrderDViewController.swift
View file @
91b39340
...
...
@@ -104,8 +104,8 @@ class OrderDViewController: BaseViewController,UITableViewDelegate,UITableViewDa
// let YuShouPart3Arr = ["订单编号","下单时间","订单来源","提货方式","物流公司","运单号","支付方式","支付状态","买家留言","订单备注"]
// let isYuShouPart3Arr = ["订单编号","下单时间","订单来源","提货方式","物流公司","运单号","定金支付方式","定金支付状态","尾款支付方式","尾款支付状态","买家留言","订单备注"]
//新的
let
YuShouPart3Arr
=
[
"订单编号"
,
"下单时间"
,
"订单来源"
,
"关联凭证"
,
"提货方式"
,
"支付方式"
,
"支付状态"
,
"买家留言"
,
"订单备注"
]
let
isYuShouPart3Arr
=
[
"订单编号"
,
"下单时间"
,
"订单来源"
,
"关联凭证"
,
"提货方式"
,
"定金支付方式"
,
"定金支付状态"
,
"尾款支付方式"
,
"尾款支付状态"
,
"买家留言"
,
"订单备注"
]
let
YuShouPart3Arr
=
[
"订单编号"
,
"下单时间"
,
"订单来源"
,
"关联凭证"
,
"
物流公司"
,
"运单号"
,
"
提货方式"
,
"支付方式"
,
"支付状态"
,
"买家留言"
,
"订单备注"
]
let
isYuShouPart3Arr
=
[
"订单编号"
,
"下单时间"
,
"订单来源"
,
"关联凭证"
,
"
物流公司"
,
"运单号"
,
"
提货方式"
,
"定金支付方式"
,
"定金支付状态"
,
"尾款支付方式"
,
"尾款支付状态"
,
"买家留言"
,
"订单备注"
]
let
nonYuShouPart3Arr
=
[
"收货人"
,
"联系电话"
,
"地址"
]
...
...
@@ -668,7 +668,7 @@ class OrderDViewController: BaseViewController,UITableViewDelegate,UITableViewDa
if
isYuShou
{
isYushoucount
=
2
}
if
indexPath
.
row
==
(
8
+
isYushoucount
){
if
indexPath
.
row
==
5
||
indexPath
.
row
==
(
10
+
isYushoucount
){
let
cell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
"PingLunCell"
)
as!
PingLunCell
cell
.
tag
=
indexPath
.
row
...
...
@@ -679,7 +679,21 @@ class OrderDViewController: BaseViewController,UITableViewDelegate,UITableViewDa
}
switch
indexPath
.
row
{
case
8
:
case
5
:
cell
.
contentLbl
.
text
=
self
.
dataMdoel
?
.
order_res
?
.
lwb_no
if
self
.
dataMdoel
?
.
order_res
?
.
lwb_no
==
nil
{
cell
.
contentLbl
.
text
=
"-"
}
else
if
cell
.
contentLbl
.
text
?
.
count
==
0
{
cell
.
contentLbl
.
text
=
"请输入物流单号"
if
!
isCaneditLatsData
{
//MARK:-不能进行修改了
cell
.
contentLbl
.
text
=
"-"
}
}
break
case
10
:
cell
.
contentLbl
.
text
=
self
.
dataMdoel
?
.
order_res
?
.
order_postscript
if
self
.
dataMdoel
?
.
order_res
?
.
order_postscript
==
nil
{
cell
.
contentLbl
.
text
=
"-"
...
...
@@ -705,7 +719,7 @@ class OrderDViewController: BaseViewController,UITableViewDelegate,UITableViewDa
}
return
cell
}
if
indexPath
.
row
==
5
||
indexPath
.
row
==
6
||
indexPath
.
row
==
(
5
+
isYushoucount
)
||
indexPath
.
row
==
(
6
+
isYushoucount
){
if
indexPath
.
row
==
4
||
indexPath
.
row
==
7
||
indexPath
.
row
==
8
||
indexPath
.
row
==
(
7
+
isYushoucount
)
||
indexPath
.
row
==
(
8
+
isYushoucount
){
if
isYuShou
{
cell
.
nameLbl
.
text
=
isYuShouPart3Arr
[
indexPath
.
row
]
...
...
@@ -716,12 +730,12 @@ class OrderDViewController: BaseViewController,UITableViewDelegate,UITableViewDa
cell
.
arrowImg
.
isHidden
=
false
cell
.
contentRight
.
constant
=
32
if
indexPath
.
row
==
8
{
if
indexPath
.
row
==
10
{
if
self
.
dataMdoel
?
.
order_res
?
.
sale_res
?
.
wk_pay_type
==
11
||
self
.
dataMdoel
?
.
order_res
?
.
sale_res
?
.
wk_pay_type
==
12
{
cell
.
arrowImg
.
isHidden
=
true
cell
.
contentRight
.
constant
=
15
}
}
else
if
indexPath
.
row
==
6
{
}
else
if
indexPath
.
row
==
8
{
if
isYuShou
{
if
self
.
dataMdoel
?
.
order_res
?
.
sale_res
?
.
dj_pay_type
==
11
||
self
.
dataMdoel
?
.
order_res
?
.
sale_res
?
.
dj_pay_type
==
12
{
cell
.
arrowImg
.
isHidden
=
true
...
...
@@ -736,16 +750,18 @@ class OrderDViewController: BaseViewController,UITableViewDelegate,UITableViewDa
}
switch
indexPath
.
row
{
case
5
:
case
4
:
cell
.
contentLbl
.
text
=
self
.
dataMdoel
?
.
order_res
?
.
lc_name
break
case
7
:
if
isYuShou
{
cell
.
contentLbl
.
text
=
self
.
dataMdoel
?
.
order_res
?
.
sale_res
?
.
dj_pay_type_cn
}
else
{
cell
.
contentLbl
.
text
=
self
.
dataMdoel
?
.
order_res
?
.
pay_type_cn
}
break
case
6
:
case
8
:
if
isYuShou
{
cell
.
contentLbl
.
text
=
self
.
dataMdoel
?
.
order_res
?
.
sale_res
?
.
dj_pay_status_cn
...
...
@@ -756,14 +772,14 @@ class OrderDViewController: BaseViewController,UITableViewDelegate,UITableViewDa
cell
.
arrowImg
.
isHidden
=
true
cell
.
contentRight
.
constant
=
15
break
case
7
:
case
9
:
if
isYuShou
{
cell
.
contentLbl
.
text
=
self
.
dataMdoel
?
.
order_res
?
.
sale_res
?
.
wk_pay_type_cn
}
else
{
cell
.
contentLbl
.
text
=
StringByInt
(
number
:
(
self
.
dataMdoel
?
.
order_res
?
.
sale_res
?
.
wk_pay_type
!
)
!
)
}
break
case
8
:
case
10
:
cell
.
contentLbl
.
text
=
self
.
dataMdoel
?
.
order_res
?
.
sale_res
?
.
wk_pay_status_cn
cell
.
arrowImg
.
isHidden
=
true
cell
.
contentRight
.
constant
=
15
...
...
@@ -811,14 +827,15 @@ class OrderDViewController: BaseViewController,UITableViewDelegate,UITableViewDa
case
3
:
cell
.
textTF
.
text
=
self
.
dataMdoel
?
.
order_res
?
.
order_associated_code
break
case
4
:
case
6
:
if
self
.
dataMdoel
?
.
order_res
?
.
shipping_type
==
1
{
cell
.
textTF
.
text
=
"派送"
}
else
{
cell
.
textTF
.
text
=
"自提"
}
break
case
(
7
+
isYushoucount
):
case
(
9
+
isYushoucount
):
cell
.
textTF
.
text
=
self
.
dataMdoel
?
.
order_res
?
.
postscript
break
...
...
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