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
73bcde59
Commit
73bcde59
authored
Aug 14, 2020
by
lujunye
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
补充定位判断
parent
50c12a9b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
10 deletions
+8
-10
GeliBusinessPlatform.xcworkspace/xcuserdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
...erdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
+0
-0
GeliBusinessPlatform/ViewController/代客下单(货运)/下运单/XiaYunDanViewController.swift
...ViewController/代客下单(货运)/下运单/XiaYunDanViewController.swift
+8
-10
No files found.
GeliBusinessPlatform.xcworkspace/xcuserdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
View file @
73bcde59
No preview for this file type
GeliBusinessPlatform/ViewController/代客下单(货运)/下运单/XiaYunDanViewController.swift
View file @
73bcde59
...
...
@@ -126,7 +126,6 @@ class XiaYunDanViewController: BaseViewController,UITableViewDelegate,UITableVie
if
adrArr
.
count
>
1
&&
dict
!
[
"locName"
]
as!
String
!=
"空"
{
let
firstDict
=
adrArr
.
first
let
firstCity
=
firstDict
!
[
"adr"
]
as!
cityListDataModel
let
lastDict
=
adrArr
.
last
var
addr_info_arr
:
Array
<
Any
>
=
[]
addr_info_arr
.
removeAll
()
...
...
@@ -362,8 +361,6 @@ class XiaYunDanViewController: BaseViewController,UITableViewDelegate,UITableVie
}
let
firstData
=
adrArr
.
first
!
as
NSDictionary
if
firstData
[
"locName"
]
as!
String
!=
"空"
&&
adrArr
.
count
>
1
{
...
...
@@ -376,12 +373,7 @@ class XiaYunDanViewController: BaseViewController,UITableViewDelegate,UITableVie
adrDs
.
append
(
dict
)
}
let
lat_lon_arr
=
dataChangeString
(
sender
:
adrDs
)
// var std_tag_arr = ""
// if isSpecCar {
// std_tag_arr = "带尾板"
// }
let
fD
=
adrArr
.
first
!
let
cityData
=
fD
[
"adr"
]
as!
cityListDataModel
let
params
=
[
"user_token"
:
UserToken
as
Any
,
...
...
@@ -401,7 +393,6 @@ class XiaYunDanViewController: BaseViewController,UITableViewDelegate,UITableVie
view
?
.
layoutIfNeeded
()
self
.
hListView
.
reloadData
()
return
})
{
(
err
)
in
...
...
@@ -714,7 +705,14 @@ class XiaYunDanViewController: BaseViewController,UITableViewDelegate,UITableVie
@IBAction
func
selectAction
(
_
sender
:
UIButton
)
{
if
rightBtn
==
sender
{
hBtnViewH
.
constant
=
CGFloat
(
TabHeight
)
if
locationIsOpen
==
false
{
checkLocation
()
return
}
if
adrDatas
.
count
==
0
{
HUD
.
flash
(
.
progress
)
cityList
([
"user_token"
:
UserToken
as
Any
,
"nonce_str"
:
String
.
randomStr
(
len
:
30
)
as
Any
],
success
:
{
(
data
)
in
...
...
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