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
0b0bfa35
Commit
0b0bfa35
authored
Apr 17, 2021
by
lujunye
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
阿斯顿发送到发斯蒂芬
parent
d0a801d1
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
17 additions
and
18 deletions
+17
-18
GeliBusinessPlatform.xcworkspace/xcuserdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
...erdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
+0
-0
GeliBusinessPlatform/ViewController/代客下单(货运)/下运单/XiaYunDanViewController.swift
...ViewController/代客下单(货运)/下运单/XiaYunDanViewController.swift
+9
-11
GeliBusinessPlatform/ViewController/地图/SJMapViewController.swift
...inessPlatform/ViewController/地图/SJMapViewController.swift
+7
-5
GeliBusinessPlatform/ViewController/拼拼货group/P_P_H_Adr_VC.swift
...sinessPlatform/ViewController/拼拼货group/P_P_H_Adr_VC.swift
+1
-2
No files found.
GeliBusinessPlatform.xcworkspace/xcuserdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
View file @
0b0bfa35
No preview for this file type
GeliBusinessPlatform/ViewController/代客下单(货运)/下运单/XiaYunDanViewController.swift
View file @
0b0bfa35
...
@@ -61,12 +61,10 @@ class XiaYunDanViewController: BaseViewController,UITableViewDelegate,UITableVie
...
@@ -61,12 +61,10 @@ class XiaYunDanViewController: BaseViewController,UITableViewDelegate,UITableVie
case
2
:
//未设置支付密码
case
2
:
//未设置支付密码
HUD
.
flash
(
.
label
(
"请设置支付密码"
),
delay
:
1.2
)
HUD
.
flash
(
.
label
(
"请设置支付密码"
),
delay
:
1.2
)
break
break
// case 3://资金不足额
case
3
:
//资金不足额
// HUD.flash(.label("资金余额不足"), delay: 1.2)
HUD
.
flash
(
.
label
(
"资金余额不足"
),
delay
:
1.2
)
// break
break
case
3
,
4
:
//资金足额
case
4
:
//资金足额
var
tempArr
:
Array
<
addPinPinOrder_adrInfo
>
=
[]
var
tempArr
:
Array
<
addPinPinOrder_adrInfo
>
=
[]
pph_send_arr
.
forEach
{
(
item
)
in
pph_send_arr
.
forEach
{
(
item
)
in
tempArr
.
append
(
item
)
tempArr
.
append
(
item
)
...
@@ -95,16 +93,16 @@ class XiaYunDanViewController: BaseViewController,UITableViewDelegate,UITableVie
...
@@ -95,16 +93,16 @@ class XiaYunDanViewController: BaseViewController,UITableViewDelegate,UITableVie
infos
.
append
(
info
)
infos
.
append
(
info
)
}
}
let
infosData
=
dataChangeString
(
sender
:
infos
)
let
infosData
=
dataChangeString
(
sender
:
infos
)
// if pph_time.count == 0
{
if
timeStamp
==
-
1
{
//
HUD.flash(.label("请选择用车时间"), delay: 1.2)
HUD
.
flash
(
.
label
(
"请选择用车时间"
),
delay
:
1.2
)
//
return
return
//
}
}
let
dict
=
[
"user_token"
:
UserToken
as
Any
,
let
dict
=
[
"user_token"
:
UserToken
as
Any
,
"uid"
:
pphCarTypesArr
[
pph_selectCarType
]
.
id
as
Any
,
"uid"
:
pphCarTypesArr
[
pph_selectCarType
]
.
id
as
Any
,
"price"
:
totalPrice
as
Any
,
"price"
:
totalPrice
as
Any
,
"orderType"
:
1
as
Any
,
"orderType"
:
1
as
Any
,
"startDate"
:
""
as
Any
,
"startDate"
:
timeStamp
as
Any
,
"demo"
:
""
as
Any
,
"demo"
:
""
as
Any
,
"typeid"
:
pphCarTypesArr
[
pph_selectCarType
]
.
type
as
Any
,
"typeid"
:
pphCarTypesArr
[
pph_selectCarType
]
.
type
as
Any
,
"tailplate"
:
0
as
Any
,
"tailplate"
:
0
as
Any
,
...
...
GeliBusinessPlatform/ViewController/地图/SJMapViewController.swift
View file @
0b0bfa35
...
@@ -213,8 +213,11 @@ class SJMapViewController: UIViewController,NavBarViewDelegate,AMapLocationManag
...
@@ -213,8 +213,11 @@ class SJMapViewController: UIViewController,NavBarViewDelegate,AMapLocationManag
// }
// }
@objc
func
submitAction
(){
@objc
func
submitAction
(){
if
adrStr
!=
nil
{
if
idx
!=
nil
{
delegate
?
.
SJMapViewControllerSelectArd
(
adr
:
adrStr
!
,
cityData
:
cityData
!
,
loc
:
"
\(
lat
)
-
\(
lng
)
"
)
let
cell
=
listView
?
.
cellForRow
(
at
:
idx
!
)
as!
SJMapCell
delegate
?
.
SJMapViewControllerSelectArd
(
adr
:
cell
.
nameLbl
.
text
!
,
cityData
:
cell
.
cityData
,
loc
:
"
\(
cell
.
lat
!
)
-
\(
cell
.
lng
!
)
"
)
self
.
navigationController
?
.
popViewController
(
animated
:
true
)
self
.
navigationController
?
.
popViewController
(
animated
:
true
)
}
else
{
}
else
{
HUD
.
flash
(
.
label
(
"请选择地址"
),
delay
:
1.2
)
HUD
.
flash
(
.
label
(
"请选择地址"
),
delay
:
1.2
)
...
@@ -327,8 +330,7 @@ class SJMapViewController: UIViewController,NavBarViewDelegate,AMapLocationManag
...
@@ -327,8 +330,7 @@ class SJMapViewController: UIViewController,NavBarViewDelegate,AMapLocationManag
let
cell
=
tableView
.
cellForRow
(
at
:
idx
!
)
as!
SJMapCell
let
cell
=
tableView
.
cellForRow
(
at
:
idx
!
)
as!
SJMapCell
mapView
.
setCenter
(
CLLocationCoordinate2D
(
latitude
:
CLLocationDegrees
(
cell
.
lat
!
),
longitude
:
CLLocationDegrees
(
cell
.
lng
!
)),
animated
:
false
)
mapView
.
setCenter
(
CLLocationCoordinate2D
(
latitude
:
CLLocationDegrees
(
cell
.
lat
!
),
longitude
:
CLLocationDegrees
(
cell
.
lng
!
)),
animated
:
false
)
adrStr
=
cell
.
nameLbl
.
text
adrStr
=
cell
.
nameLbl
.
text
print
(
"abc == "
,
cell
.
lat
,
cell
.
lng
)
delegate
?
.
SJMapViewControllerSelectArd
(
adr
:
cell
.
nameLbl
.
text
!
,
cityData
:
cell
.
cityData
,
loc
:
"
\(
cell
.
lat
!
)
-
\(
cell
.
lng
!
)
"
)
delegate
?
.
SJMapViewControllerSelectArd
(
adr
:
cell
.
nameLbl
.
text
!
,
cityData
:
cityData
!
,
loc
:
"
\(
cell
.
lat
!
)
-
\(
cell
.
lng
!
)
"
)
self
.
navigationController
?
.
popViewController
(
animated
:
true
)
self
.
navigationController
?
.
popViewController
(
animated
:
true
)
}
}
...
@@ -340,7 +342,7 @@ class SJMapViewController: UIViewController,NavBarViewDelegate,AMapLocationManag
...
@@ -340,7 +342,7 @@ class SJMapViewController: UIViewController,NavBarViewDelegate,AMapLocationManag
listView
?
.
reloadData
()
listView
?
.
reloadData
()
adrStr
=
cell
.
nameLbl
.
text
adrStr
=
cell
.
nameLbl
.
text
if
isSearchMode
{
if
isSearchMode
{
delegate
?
.
SJMapViewControllerSelectArd
(
adr
:
cell
.
nameLbl
.
text
!
,
cityData
:
c
ityData
!
,
loc
:
"
\(
cell
.
lat
!
)
-
\(
cell
.
lng
!
)
"
)
delegate
?
.
SJMapViewControllerSelectArd
(
adr
:
cell
.
nameLbl
.
text
!
,
cityData
:
c
ell
.
cityData
,
loc
:
"
\(
cell
.
lat
!
)
-
\(
cell
.
lng
!
)
"
)
self
.
navigationController
?
.
popViewController
(
animated
:
true
)
self
.
navigationController
?
.
popViewController
(
animated
:
true
)
}
}
}
}
...
...
GeliBusinessPlatform/ViewController/拼拼货group/P_P_H_Adr_VC.swift
View file @
0b0bfa35
...
@@ -39,11 +39,10 @@ class P_P_H_Adr_VC: BaseViewController,SJMapViewControllerDelegate, UIPickerView
...
@@ -39,11 +39,10 @@ class P_P_H_Adr_VC: BaseViewController,SJMapViewControllerDelegate, UIPickerView
func
SJMapViewControllerSelectArd
(
adr
:
String
,
cityData
:
String
,
loc
:
String
)
{
func
SJMapViewControllerSelectArd
(
adr
:
String
,
cityData
:
String
,
loc
:
String
)
{
city_lbl
.
text
=
cityData
city_lbl
.
text
=
cityData
let
ar
=
loc
.
components
(
separatedBy
:
"-"
)
let
ar
=
loc
.
components
(
separatedBy
:
"-"
)
print
(
"pass_loc = "
,
loc
)
print
(
"pass_loc = "
,
loc
,
cityData
)
self
.
lng
=
(
ar
.
last
!
as
NSString
)
.
doubleValue
self
.
lng
=
(
ar
.
last
!
as
NSString
)
.
doubleValue
self
.
lat
=
(
ar
.
first
!
as
NSString
)
.
doubleValue
self
.
lat
=
(
ar
.
first
!
as
NSString
)
.
doubleValue
print
(
"location == "
,
self
.
lng
,
self
.
lat
)
let
arr
=
cityData
.
components
(
separatedBy
:
"-"
)
let
arr
=
cityData
.
components
(
separatedBy
:
"-"
)
for
i
in
0
..<
addressArray
.
count
{
for
i
in
0
..<
addressArray
.
count
{
let
provinceData
=
addressArray
[
i
]
as!
Dictionary
<
String
,
Any
>
let
provinceData
=
addressArray
[
i
]
as!
Dictionary
<
String
,
Any
>
...
...
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