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
83f5c35b
Commit
83f5c35b
authored
4 years ago
by
lujunye
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调试货拉拉下单2
parent
04aa9143
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
13 deletions
+5
-13
GeliBusinessPlatform.xcworkspace/xcuserdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
...erdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
+0
-0
GeliBusinessPlatform/ViewController/代客下单(货运)/下运单/XiaYunDanViewController.swift
...ViewController/代客下单(货运)/下运单/XiaYunDanViewController.swift
+5
-13
No files found.
GeliBusinessPlatform.xcworkspace/xcuserdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
View file @
83f5c35b
No preview for this file type
This diff is collapsed.
Click to expand it.
GeliBusinessPlatform/ViewController/代客下单(货运)/下运单/XiaYunDanViewController.swift
View file @
83f5c35b
...
...
@@ -135,16 +135,8 @@ class XiaYunDanViewController: BaseViewController,UITableViewDelegate,UITableVie
let
lastArr
=
(
firstDict
!
[
"detailAdr"
]
as!
NSString
)
.
components
(
separatedBy
:
"_"
)
var
lat_lon_Arr
:
Array
<
String
>
=
[]
for
i
in
0
..<
adrArr
.
count
{
let
item
=
adrArr
[
i
]
let
data
=
item
[
"adr"
]
as!
cityListDataModel
let
dict
=
[
"lat"
:
data
.
lat_lon
?
.
lat
,
"lon"
:
data
.
lat_lon
?
.
lon
]
print
(
"lat_lon_Arr_data == "
,
dict
)
lat_lon_Arr
.
append
(
dictChangeString
(
sender
:
dict
as
Dictionary
<
String
,
Any
>
))
}
var
addr_info_arr
:
Array
<
NSDictionary
>
=
[]
var
addr_info_arr
:
Array
<
String
>
=
[]
addr_info_arr
.
removeAll
()
for
i
in
0
..<
adrArr
.
count
{
let
item
=
adrArr
[
i
]
let
itemModel
=
item
[
"adr"
]
as!
cityListDataModel
...
...
@@ -157,9 +149,9 @@ class XiaYunDanViewController: BaseViewController,UITableViewDelegate,UITableVie
"house_number"
:
item
[
"menPai"
]
as
Any
,
"contact_name"
:
firstDict
!
[
"shouHuoRen"
]
as
Any
,
"contact_phone_no"
:
firstDict
!
[
"phoneNum"
]
as
Any
,
"lat_lon"
:
lat_lon_Arr
[
i
]]
print
(
"addr_info_arr_data == "
,
dict
)
addr_info_arr
.
append
(
dict
as
NSDictionary
)
"lat_lon"
:
[
"lat"
:
itemModel
.
lat_lon
?
.
lat
,
"lon"
:
itemModel
.
lat_lon
?
.
lon
]]
as
Dictionary
<
String
,
Any
>
addr_info_arr
.
append
(
dict
ChangeString
(
sender
:
dict
)
)
}
...
...
This diff is collapsed.
Click to expand it.
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