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
f3119db8
Commit
f3119db8
authored
Apr 19, 2021
by
lujunye
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sadfasdfasdf332323
parent
0b0bfa35
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
37 additions
and
22 deletions
+37
-22
GeliBusinessPlatform.xcworkspace/xcuserdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
...erdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
+0
-0
GeliBusinessPlatform/ViewController/代客下单(货运)/下运单/XiaYunDanViewController.swift
...ViewController/代客下单(货运)/下运单/XiaYunDanViewController.swift
+9
-2
GeliBusinessPlatform/ViewController/拼拼货group/PPH_YDXQ_VC.swift
...usinessPlatform/ViewController/拼拼货group/PPH_YDXQ_VC.swift
+24
-17
GeliBusinessPlatform/ViewController/货拉拉/运单详情/WaybillDetailViewController.swift
...ViewController/货拉拉/运单详情/WaybillDetailViewController.swift
+1
-1
GeliBusinessPlatform/ViewController/运单列表/YDLBVc.swift
GeliBusinessPlatform/ViewController/运单列表/YDLBVc.swift
+3
-2
No files found.
GeliBusinessPlatform.xcworkspace/xcuserdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
View file @
f3119db8
No preview for this file type
GeliBusinessPlatform/ViewController/代客下单(货运)/下运单/XiaYunDanViewController.swift
View file @
f3119db8
...
@@ -164,7 +164,10 @@ class XiaYunDanViewController: BaseViewController,UITableViewDelegate,UITableVie
...
@@ -164,7 +164,10 @@ class XiaYunDanViewController: BaseViewController,UITableViewDelegate,UITableVie
}
}
}
}
}
}
getPPH_Price
()
}
func
getPPH_Price
(){
if
pph_send_arr
.
count
>
0
&&
pph_receive_arr
.
count
>
0
{
if
pph_send_arr
.
count
>
0
&&
pph_receive_arr
.
count
>
0
{
var
tempArr
:
Array
<
addPinPinOrder_adrInfo
>
=
[]
var
tempArr
:
Array
<
addPinPinOrder_adrInfo
>
=
[]
pph_send_arr
.
forEach
{
(
item
)
in
pph_send_arr
.
forEach
{
(
item
)
in
...
@@ -1087,7 +1090,11 @@ class XiaYunDanViewController: BaseViewController,UITableViewDelegate,UITableVie
...
@@ -1087,7 +1090,11 @@ class XiaYunDanViewController: BaseViewController,UITableViewDelegate,UITableVie
var
carTypesArr
:
Array
<
vehicle_arr_data
>
=
[]
var
carTypesArr
:
Array
<
vehicle_arr_data
>
=
[]
var
isPPH_Already
=
true
var
isPPH_Already
=
true
var
pph_selectCarType
=
0
var
pph_selectCarType
=
0
{
didSet
{
getPPH_Price
()
}
}
var
pphCarTypesArr
:
Array
<
getVehicleTypeData_model
>
=
[]
var
pphCarTypesArr
:
Array
<
getVehicleTypeData_model
>
=
[]
@IBAction
func
selectAction
(
_
sender
:
UIButton
)
{
@IBAction
func
selectAction
(
_
sender
:
UIButton
)
{
...
...
GeliBusinessPlatform/ViewController/拼拼货group/PPH_YDXQ_VC.swift
View file @
f3119db8
...
@@ -9,7 +9,22 @@
...
@@ -9,7 +9,22 @@
import
UIKit
import
UIKit
import
LGButton
import
LGButton
class
PPH_YDXQ_VC
:
BaseViewController
,
UITableViewDelegate
,
UITableViewDataSource
{
class
PPH_YDXQ_VC
:
BaseViewController
,
UITableViewDelegate
,
UITableViewDataSource
,
GeliAlertViewDelegate
{
func
sureGeliAlertViewAction
(
sender
:
UIButton
)
{
cancelOrder
([
"wb_no"
:
wb_no
as
Any
,
"user_token"
:
userToken
as
Any
])
{[
self
]
(
data
)
in
HUD
.
hide
()
title_lbl_h
.
constant
=
0
action_btn
.
isHidden
=
true
HUD
.
flash
(
.
label
(
"订单取消成功!"
),
onView
:
self
.
view
,
delay
:
1.2
)
{
(
result
)
in
top_img
=
UIImage
(
named
:
"pph_cancel"
)
status_str
=
"已取消"
list_view
.
reloadData
()
}
NotificationCenter
.
default
.
post
(
name
:
NSNotification
.
Name
(
rawValue
:
"logistDetail"
),
object
:
nil
,
userInfo
:
nil
)
}
failture
:
{
(
err
)
in
}
}
var
top_img
=
UIImage
(
named
:
"pph_order"
)
var
top_img
=
UIImage
(
named
:
"pph_order"
)
var
status_str
=
"派单中"
var
status_str
=
"派单中"
...
@@ -20,22 +35,14 @@ class PPH_YDXQ_VC: BaseViewController,UITableViewDelegate,UITableViewDataSource
...
@@ -20,22 +35,14 @@ class PPH_YDXQ_VC: BaseViewController,UITableViewDelegate,UITableViewDataSource
var
wb_no
=
""
var
wb_no
=
""
@IBAction
func
cancel_action
(
_
sender
:
Any
)
{
@IBAction
func
cancel_action
(
_
sender
:
Any
)
{
if
btm_title_lbl
.
text
==
"取消订单"
{
if
btm_title_lbl
.
text
==
"取消订单"
{
cancelOrder
([
"wb_no"
:
wb_no
as
Any
,
"user_token"
:
userToken
as
Any
])
{[
self
]
(
data
)
in
HUD
.
hide
()
let
alertView
=
GeliAlertView
(
frame
:
self
.
view
.
window
!.
bounds
)
title_lbl_h
.
constant
=
0
alertView
.
delegate
=
self
;
action_btn
.
isHidden
=
true
alertView
.
tishiLbl
.
text
=
""
HUD
.
flash
(
.
label
(
"订单取消成功!"
),
onView
:
self
.
view
,
delay
:
1.2
)
{
(
result
)
in
alertView
.
titileLbl
.
text
=
"是否确认取消订单?"
top_img
=
UIImage
(
named
:
"pph_cancel"
)
alertView
.
rightBtn
.
setAttributedTitle
(
NSAttributedString
(
string
:
"确认"
),
for
:
.
normal
)
status_str
=
"已取消"
self
.
view
.
window
?
.
addSubview
(
alertView
)
list_view
.
reloadData
()
}
NotificationCenter
.
default
.
post
(
name
:
NSNotification
.
Name
(
rawValue
:
"logistDetail"
),
object
:
nil
,
userInfo
:
nil
)
}
failture
:
{
(
err
)
in
}
}
else
{
}
else
{
let
phone
=
"telprompt://"
+
mobile
let
phone
=
"telprompt://"
+
mobile
if
UIApplication
.
shared
.
canOpenURL
(
URL
(
string
:
phone
)
!
)
{
if
UIApplication
.
shared
.
canOpenURL
(
URL
(
string
:
phone
)
!
)
{
...
...
GeliBusinessPlatform/ViewController/货拉拉/运单详情/WaybillDetailViewController.swift
View file @
f3119db8
...
@@ -360,7 +360,7 @@ class WaybillDetailViewController: BaseViewController ,UITableViewDelegate,UITab
...
@@ -360,7 +360,7 @@ class WaybillDetailViewController: BaseViewController ,UITableViewDelegate,UITab
return
cell
return
cell
}
}
if
indexPath
.
section
==
1
{
if
indexPath
.
section
==
1
{
let
cell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
"DriverItemTableViewCell"
)
as!
DriverItemTableViewCell
let
cell
=
tableView
.
dequeueReusableCell
(
withIdentifier
:
"DriverItemTableViewCell"
)
as!
DriverItemTableViewCell
if
dataModel
?
.
driver_info
!=
nil
{
if
dataModel
?
.
driver_info
!=
nil
{
cell
.
driverNameLbl
.
text
=
dataModel
?
.
driver_info
?
.
name
cell
.
driverNameLbl
.
text
=
dataModel
?
.
driver_info
?
.
name
cell
.
driverNumLbL
.
text
=
dataModel
?
.
driver_info
?
.
license_plate
cell
.
driverNumLbL
.
text
=
dataModel
?
.
driver_info
?
.
license_plate
...
...
GeliBusinessPlatform/ViewController/运单列表/YDLBVc.swift
View file @
f3119db8
...
@@ -832,8 +832,9 @@ class YDLBVc: BaseViewController,UITableViewDelegate,UITableViewDataSource,UISea
...
@@ -832,8 +832,9 @@ class YDLBVc: BaseViewController,UITableViewDelegate,UITableViewDataSource,UISea
}
}
cell
.
acButton
.
tag
=
indexPath
.
row
cell
.
acButton
.
tag
=
indexPath
.
row
if
rowModel
.
lwb_no
!=
nil
{
cell
.
title1
.
text
=
"运单号:"
+
rowModel
.
lwb_no
!
cell
.
title1
.
text
=
"运单号:"
+
rowModel
.
lwb_no
!
}
if
rowModel
.
lc_name
==
"货拉拉"
{
if
rowModel
.
lc_name
==
"货拉拉"
{
cell
.
title1
.
text
=
"运单号:"
+
rowModel
.
wb_no
!
cell
.
title1
.
text
=
"运单号:"
+
rowModel
.
wb_no
!
}
}
...
...
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