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
50c12a9b
Commit
50c12a9b
authored
Aug 14, 2020
by
lujunye
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
调整取消订单界面
parent
3800afc7
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
19 additions
and
13 deletions
+19
-13
GeliBusinessPlatform.xcworkspace/xcuserdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
...erdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
+0
-0
GeliBusinessPlatform/ViewController/代客下单(货运)/下运单/XiaYunDanViewController.swift
...ViewController/代客下单(货运)/下运单/XiaYunDanViewController.swift
+0
-11
GeliBusinessPlatform/ViewController/货拉拉/取消订单/HuolalaCancelViewController.swift
...ViewController/货拉拉/取消订单/HuolalaCancelViewController.swift
+1
-1
GeliBusinessPlatform/ViewController/货拉拉/运单详情/WaybillDetailViewController.swift
...ViewController/货拉拉/运单详情/WaybillDetailViewController.swift
+18
-1
No files found.
GeliBusinessPlatform.xcworkspace/xcuserdata/junyelu.xcuserdatad/UserInterfaceState.xcuserstate
View file @
50c12a9b
No preview for this file type
GeliBusinessPlatform/ViewController/代客下单(货运)/下运单/XiaYunDanViewController.swift
View file @
50c12a9b
...
...
@@ -714,13 +714,8 @@ class XiaYunDanViewController: BaseViewController,UITableViewDelegate,UITableVie
@IBAction
func
selectAction
(
_
sender
:
UIButton
)
{
if
rightBtn
==
sender
{
hBtnViewH
.
constant
=
CGFloat
(
TabHeight
)
if
adrDatas
.
count
==
0
{
HUD
.
flash
(
.
progress
)
cityList
([
"user_token"
:
UserToken
as
Any
,
"nonce_str"
:
String
.
randomStr
(
len
:
30
)
as
Any
],
success
:
{
(
data
)
in
let
model
=
data
as!
cityListModel
...
...
@@ -734,7 +729,6 @@ class XiaYunDanViewController: BaseViewController,UITableViewDelegate,UITableVie
self
.
getUICarList
()
HUD
.
hide
()
})
{
(
err
)
in
}
}
else
{
if
isAlready
{
getUICarList
()
...
...
@@ -746,19 +740,14 @@ class XiaYunDanViewController: BaseViewController,UITableViewDelegate,UITableVie
locBtn
.
isUserInteractionEnabled
=
true
}
}
}
else
{
print
(
"adrDatas.count5"
,
adrDatas
.
count
,
isAlready
)
locBtn
.
isUserInteractionEnabled
=
false
rightBtn
.
isSelected
=
false
leftBtn
.
isSelected
=
true
lineV
.
frame
.
origin
.
x
=
0
hllView
.
isHidden
=
true
closeCarList
()
}
}
...
...
GeliBusinessPlatform/ViewController/货拉拉/取消订单/HuolalaCancelViewController.swift
View file @
50c12a9b
...
...
@@ -256,7 +256,7 @@ class HuolalaCancelViewController: BaseViewController ,UITableViewDelegate,UITab
orderLalamoveCancel
(
dict
,
success
:
{
(
data
)
in
NotificationCenter
.
default
.
post
(
name
:
NSNotification
.
Name
(
rawValue
:
"HuolalaOrderChange"
),
object
:
nil
)
NotificationCenter
.
default
.
post
(
name
:
NSNotification
.
Name
(
rawValue
:
"HuolalaOrderChange"
),
object
:
"isCancel"
)
HUD
.
flash
(
.
labeledSubSuccess
(
subtitle
:
"取消成功"
),
delay
:
1.2
)
...
...
GeliBusinessPlatform/ViewController/货拉拉/运单详情/WaybillDetailViewController.swift
View file @
50c12a9b
...
...
@@ -38,7 +38,7 @@ class WaybillDetailViewController: BaseViewController ,UITableViewDelegate,UITab
loadData
()
if
!
isYDBc
{
NotificationCenter
.
default
.
addObserver
(
self
,
selector
:
#selector(
loadData
)
,
name
:
NSNotification
.
Name
(
rawValue
:
"HuolalaOrderChange"
),
object
:
nil
)
NotificationCenter
.
default
.
addObserver
(
self
,
selector
:
#selector(
getNoti(noti:)
)
,
name
:
NSNotification
.
Name
(
rawValue
:
"HuolalaOrderChange"
),
object
:
nil
)
}
bottomLheight
.
constant
=
0
...
...
@@ -46,16 +46,33 @@ class WaybillDetailViewController: BaseViewController ,UITableViewDelegate,UITab
bottomBtn
.
isHidden
=
true
}
var
notiObj
=
""
@objc
func
getNoti
(
noti
:
Notification
){
notiObj
=
noti
.
object
as!
String
print
(
"abc == "
,
notiObj
)
loadData
()
}
@objc
func
loadData
(){
indexNext
=
0
HUD
.
show
(
.
progress
)
let
UserToken
=
UserDefaults
.
standard
.
value
(
forKey
:
"user_token"
)
bottomLheight
.
constant
=
0
bottomLbl
.
isHidden
=
true
bottomBtn
.
isHidden
=
true
getHllOrderDetails
([
"user_token"
:
UserToken
as
Any
,
"lwb_no"
:
lwb_no
as
Any
],
success
:
{
(
data
)
in
HUD
.
hide
()
let
model
=
data
as!
getHllOrderDetailsModel
if
model
.
data
?
.
order_detail_item
!=
nil
{
if
(
model
.
data
?
.
order_detail_item
?
.
order_item
?
.
order_status
==
0
||
model
.
data
?
.
order_detail_item
?
.
order_item
?
.
order_status
==
1
)
&&
self
.
notiObj
.
count
>
0
{
self
.
loadData
()
return
}
self
.
notiObj
=
""
self
.
dataModel
=
model
.
data
!
if
!
self
.
isYDBc
{
switch
self
.
dataModel
?
.
order_detail_item
?
.
order_item
?
.
order_status
{
case
0
:
...
...
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