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
c4eb9ee2
Commit
c4eb9ee2
authored
Aug 03, 2020
by
刘俊宏
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
同上
parent
51e3cf13
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
9 deletions
+6
-9
GeliBusinessPlatform.xcworkspace/xcuserdata/liujunhong.xcuserdatad/UserInterfaceState.xcuserstate
...ata/liujunhong.xcuserdatad/UserInterfaceState.xcuserstate
+0
-0
GeliBusinessPlatform/ViewController/代客下单(货运)/运单详情/YunDanXiangQingViewController.swift
...troller/代客下单(货运)/运单详情/YunDanXiangQingViewController.swift
+3
-8
GeliBusinessPlatform/ViewController/运单列表/YDLBVc.swift
GeliBusinessPlatform/ViewController/运单列表/YDLBVc.swift
+3
-1
No files found.
GeliBusinessPlatform.xcworkspace/xcuserdata/liujunhong.xcuserdatad/UserInterfaceState.xcuserstate
View file @
c4eb9ee2
No preview for this file type
GeliBusinessPlatform/ViewController/代客下单(货运)/运单详情/YunDanXiangQingViewController.swift
View file @
c4eb9ee2
...
@@ -10,7 +10,7 @@ import UIKit
...
@@ -10,7 +10,7 @@ import UIKit
class
YunDanXiangQingViewController
:
BaseViewController
,
UITableViewDelegate
,
UITableViewDataSource
{
class
YunDanXiangQingViewController
:
BaseViewController
,
UITableViewDelegate
,
UITableViewDataSource
{
var
orderID
:
String
?
var
orderID
:
Int
?
var
dataModel
:
logisticsOrderDetailsDataModel
?
var
dataModel
:
logisticsOrderDetailsDataModel
?
@IBOutlet
weak
var
listView
:
UITableView
!
@IBOutlet
weak
var
listView
:
UITableView
!
...
@@ -61,7 +61,7 @@ class YunDanXiangQingViewController: BaseViewController,UITableViewDelegate,UITa
...
@@ -61,7 +61,7 @@ class YunDanXiangQingViewController: BaseViewController,UITableViewDelegate,UITa
HUD
.
flash
(
.
progress
)
HUD
.
flash
(
.
progress
)
listView
.
isHidden
=
true
listView
.
isHidden
=
true
logisticsOrderDetails
([
"user_token"
:
UserToken
as
Any
,
"id"
:
"238"
as
Any
],
success
:
{
(
data
)
in
logisticsOrderDetails
([
"user_token"
:
UserToken
as
Any
,
"id"
:
orderID
as
Any
],
success
:
{
(
data
)
in
HUD
.
hide
()
HUD
.
hide
()
let
model
=
data
as!
logisticsOrderDetailsModel
let
model
=
data
as!
logisticsOrderDetailsModel
...
@@ -202,10 +202,8 @@ class YunDanXiangQingViewController: BaseViewController,UITableViewDelegate,UITa
...
@@ -202,10 +202,8 @@ class YunDanXiangQingViewController: BaseViewController,UITableViewDelegate,UITa
arrStr
.
append
((
dataModel
?
.
order_sn
)
!
)
arrStr
.
append
((
dataModel
?
.
order_sn
)
!
)
arrStr
.
append
(
String
(
format
:
"%.2f"
,
(
dataModel
?
.
freight_pre
)
!
))
arrStr
.
append
(
String
(
format
:
"%.2f"
,
(
dataModel
?
.
freight_pre
)
!
))
arrStr
.
append
((
dataModel
?
.
fc_flag_cn
)
!
)
arrStr
.
append
((
dataModel
?
.
fc_flag_cn
)
!
)
print
(
"sadkf == "
,
arrStr
[
indexPath
.
row
])
cell
.
contentLbl
.
text
=
arrStr
[
indexPath
.
row
]
cell
.
contentLbl
.
text
=
arrStr
[
indexPath
.
row
]
cell
.
imgRight
.
constant
=
0
cell
.
imgRight
.
constant
=
0
// cell.textTF.isUserInteractionEnabled = false
cell
.
btmLine
.
isHidden
=
true
cell
.
btmLine
.
isHidden
=
true
return
cell
return
cell
}
}
...
@@ -220,11 +218,8 @@ class YunDanXiangQingViewController: BaseViewController,UITableViewDelegate,UITa
...
@@ -220,11 +218,8 @@ class YunDanXiangQingViewController: BaseViewController,UITableViewDelegate,UITa
arrStr
.
append
((
dataModel
?
.
home_delivery_on_cn
)
!
)
arrStr
.
append
((
dataModel
?
.
home_delivery_on_cn
)
!
)
arrStr
.
append
((
dataModel
?
.
site_delivery_cn
)
!
)
arrStr
.
append
((
dataModel
?
.
site_delivery_cn
)
!
)
arrStr
.
append
(
String
(
format
:
"%.2f"
,
(
dataModel
?
.
guarantee_value
)
!
))
arrStr
.
append
(
String
(
format
:
"%.2f"
,
(
dataModel
?
.
guarantee_value
)
!
))
// arrStr.append((dataModel?.remark)!)
arrStr
.
append
((
dataModel
?
.
remark
)
!
)
arrStr
.
append
(
"jsaldkfja;sldfja;sldjfa;lsjdfasl;kjdfasl;dfjsaldfjasldfjasldfjasl;dfjasldfsjaldfj"
)
cell
.
contentLbl
.
text
=
arrStr
[
indexPath
.
row
]
cell
.
contentLbl
.
text
=
arrStr
[
indexPath
.
row
]
// cell.textTF.isUserInteractionEnabled = false
cell
.
imgRight
.
constant
=
0
cell
.
imgRight
.
constant
=
0
cell
.
btmLine
.
isHidden
=
true
cell
.
btmLine
.
isHidden
=
true
return
cell
return
cell
...
...
GeliBusinessPlatform/ViewController/运单列表/YDLBVc.swift
View file @
c4eb9ee2
...
@@ -494,6 +494,8 @@ class YDLBVc: BaseViewController,UITableViewDelegate,UITableViewDataSource,UISea
...
@@ -494,6 +494,8 @@ class YDLBVc: BaseViewController,UITableViewDelegate,UITableViewDataSource,UISea
func
tableView
(
_
tableView
:
UITableView
,
didSelectRowAt
indexPath
:
IndexPath
)
{
func
tableView
(
_
tableView
:
UITableView
,
didSelectRowAt
indexPath
:
IndexPath
)
{
let
vc
=
YunDanXiangQingViewController
()
let
vc
=
YunDanXiangQingViewController
()
let
rowModel
=
datas
[
indexPath
.
row
]
vc
.
orderID
=
rowModel
.
id
self
.
navigationController
?
.
pushViewController
(
vc
,
animated
:
true
)
self
.
navigationController
?
.
pushViewController
(
vc
,
animated
:
true
)
}
}
var
BeginDate
:
Date
!
=
nil
var
BeginDate
:
Date
!
=
nil
...
@@ -555,7 +557,7 @@ class YDLBVc: BaseViewController,UITableViewDelegate,UITableViewDataSource,UISea
...
@@ -555,7 +557,7 @@ class YDLBVc: BaseViewController,UITableViewDelegate,UITableViewDataSource,UISea
let
UserToken
=
UserDefaults
.
standard
.
value
(
forKey
:
"user_token"
)
let
UserToken
=
UserDefaults
.
standard
.
value
(
forKey
:
"user_token"
)
jdOrderList
([
"user_token"
:
UserToken
as
Any
,
"key
W
ord"
:
keyWord
as
Any
,
"start_time"
:
start_time
as
Any
,
"end_time"
:
end_time
as
Any
,
"lc_id"
:
lc_id
as
Any
,
"order_sn"
:
order_sn
as
Any
,
"sale_plat"
:
sale_plat
as
Any
,
"pay_status"
:
pay_status
as
Any
,
"delivery_status"
:
delivery_status
as
Any
],
success
:
{
(
data
)
in
jdOrderList
([
"user_token"
:
UserToken
as
Any
,
"key
w
ord"
:
keyWord
as
Any
,
"start_time"
:
start_time
as
Any
,
"end_time"
:
end_time
as
Any
,
"lc_id"
:
lc_id
as
Any
,
"order_sn"
:
order_sn
as
Any
,
"sale_plat"
:
sale_plat
as
Any
,
"pay_status"
:
pay_status
as
Any
,
"delivery_status"
:
delivery_status
as
Any
],
success
:
{
(
data
)
in
self
.
datas
.
removeAll
()
self
.
datas
.
removeAll
()
let
dataModel
=
data
as!
LogisticsModel
let
dataModel
=
data
as!
LogisticsModel
...
...
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