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
85c64ee0
Commit
85c64ee0
authored
Aug 11, 2020
by
lujunye
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调试货拉拉下单3
parent
83f5c35b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
GeliBusinessPlatform.xcworkspace/xcuserdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
...erdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
+0
-0
GeliBusinessPlatform/ViewController/代客下单(货运)/下运单/XiaYunDanViewController.swift
...ViewController/代客下单(货运)/下运单/XiaYunDanViewController.swift
+8
-8
No files found.
GeliBusinessPlatform.xcworkspace/xcuserdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
View file @
85c64ee0
No preview for this file type
GeliBusinessPlatform/ViewController/代客下单(货运)/下运单/XiaYunDanViewController.swift
View file @
85c64ee0
...
@@ -135,23 +135,23 @@ class XiaYunDanViewController: BaseViewController,UITableViewDelegate,UITableVie
...
@@ -135,23 +135,23 @@ class XiaYunDanViewController: BaseViewController,UITableViewDelegate,UITableVie
let
lastArr
=
(
firstDict
!
[
"detailAdr"
]
as!
NSString
)
.
components
(
separatedBy
:
"_"
)
let
lastArr
=
(
firstDict
!
[
"detailAdr"
]
as!
NSString
)
.
components
(
separatedBy
:
"_"
)
var
addr_info_arr
:
Array
<
String
>
=
[]
var
addr_info_arr
:
Array
<
Any
>
=
[]
addr_info_arr
.
removeAll
()
addr_info_arr
.
removeAll
()
for
i
in
0
..<
adrArr
.
count
{
for
i
in
0
..<
adrArr
.
count
{
let
item
=
adrArr
[
i
]
let
item
=
adrArr
[
i
]
let
itemModel
=
item
[
"adr"
]
as!
cityListDataModel
let
itemModel
=
item
[
"adr"
]
as!
cityListDataModel
let
itemData
=
(
item
[
"detailAdr"
]
as!
NSString
)
.
components
(
separatedBy
:
"_"
)
let
itemData
=
(
item
[
"detailAdr"
]
as!
NSString
)
.
components
(
separatedBy
:
"_"
)
let
dict
=
[
"name"
:
itemData
.
last
as
Any
,
let
dict
=
[
"name"
:
itemData
.
last
!
as
Any
,
"addr"
:
item
[
"menPai"
]
as
Any
,
"addr"
:
item
[
"menPai"
]
!
as
Any
,
"city_id"
:
itemModel
.
city_id
as
Any
,
"city_id"
:
itemModel
.
city_id
!
as
Any
,
"district_name"
:
itemData
[
1
]
as
Any
,
"district_name"
:
itemData
[
1
]
as
Any
,
"house_number"
:
item
[
"menPai"
]
as
Any
,
"house_number"
:
item
[
"menPai"
]
!
as
Any
,
"contact_name"
:
firstDict
!
[
"shouHuoRen"
]
as
Any
,
"contact_name"
:
firstDict
!
[
"shouHuoRen"
]
as
Any
,
"contact_phone_no"
:
firstDict
!
[
"phoneNum"
]
as
Any
,
"contact_phone_no"
:
firstDict
!
[
"phoneNum"
]
as
Any
,
"lat_lon"
:
[
"lat"
:
itemModel
.
lat_lon
?
.
lat
,
"lon"
:
itemModel
.
lat_lon
?
.
lon
]]
as
Dictionary
<
String
,
Any
>
"lat_lon"
:
dictChangeString
(
sender
:
[
"lat"
:
itemModel
.
lat_lon
!.
lat
as
Any
,
"lon"
:
itemModel
.
lat_lon
!.
lon
as
Any
])]
addr_info_arr
.
append
(
dict
ChangeString
(
sender
:
dict
)
)
addr_info_arr
.
append
(
dict
)
}
}
...
@@ -199,7 +199,7 @@ class XiaYunDanViewController: BaseViewController,UITableViewDelegate,UITableVie
...
@@ -199,7 +199,7 @@ class XiaYunDanViewController: BaseViewController,UITableViewDelegate,UITableVie
"remark"
:
msgArr
.
last
as
Any
,
"remark"
:
msgArr
.
last
as
Any
,
"sale_plat"
:
guanlianPingStr
as
Any
,
"sale_plat"
:
guanlianPingStr
as
Any
,
"order_sn"
:
guanlianDingStr
as
Any
,
"order_sn"
:
guanlianDingStr
as
Any
,
"addr_info"
:
addr_info_arr
as
Any
"addr_info"
:
dataChangeString
(
sender
:
addr_info_arr
)
as
Any
]
]
print
(
"23399="
,
dict1
)
print
(
"23399="
,
dict1
)
...
...
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