Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jiedao-app-operator-master
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lanbaoming
jiedao-app-operator-master
Commits
8993c471
Commit
8993c471
authored
Nov 27, 2023
by
我在何方
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
订单异常优化
parent
49fef957
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
10 deletions
+11
-10
prepayDeal.vue
src/views/ecw/order/prepayDeal.vue
+11
-10
No files found.
src/views/ecw/order/prepayDeal.vue
View file @
8993c471
...
...
@@ -1197,12 +1197,6 @@
that
.
loading
=
true
;
getExceptionById
(
that
.
orderExceptionId
).
then
(
response
=>
{
that
.
orderExceptionData
=
response
.
data
;
// that.orderExceptionData.orderExceptionType = 'order_other_exception'
// that.orderExceptionData.orderExceptionType = 'order_miss_exception'
// that.orderExceptionData.orderExceptionType = 'not_customer_service_exception'
// that.orderExceptionData.orderExceptionType = 'not_shipping_channel_exception'
// that.orderExceptionData.orderExceptionType = 'channel_exception'
// that.orderExceptionData.orderExceptionType = 'fee_exception'
that
.
loading
=
false
;
that
.
orderId
=
response
.
data
.
orderId
that
.
getOrderData
()
...
...
@@ -1261,8 +1255,12 @@
getOrder
(
this
.
orderId
).
then
(
response
=>
{
this
.
orderData
=
response
.
data
if
(
this
.
orderData
.
channelId
!=
0
){
this
.
channelList
.
map
(
v
=>
{
if
(
v
.
channelId
==
this
.
orderData
.
channelId
){
this
.
handlerParams
.
channelId
=
this
.
orderData
.
channelId
}
}
)
}
this
.
handlerParams
.
lineId
=
this
.
orderData
.
lineId
if
(
response
.
data
.
customerId
){
...
...
@@ -1282,10 +1280,11 @@
v
.
clearanceFreightVolume
=
this
.
unitList
[
1
][
'
id
'
]
}
}
)
}
else
if
(
this
.
orderExceptionData
.
orderExceptionType
==
'
line_loop_exception
'
){
this
.
getExceptionPriceList
(
'
line_loop_exception
'
,
1
)
}
}
if
(
this
.
orderExceptionData
.
orderExceptionType
==
'
line_loop_exception
'
){
this
.
getExceptionPriceList
(
'
line_loop_exception
'
,
1
)
}
if
(
this
.
handlerParams
.
orderExceptionHandlerResult
==
'
continue_channel
'
){
this
.
getExceptionPriceList
(
'
continue_channel
'
,
1
)
}
...
...
@@ -1307,6 +1306,7 @@
getOrderExcptionResult
(){
getOrderExcptionResult
({
orderExceptionId
:
this
.
orderExceptionId
}
).
then
(
res
=>
{
this
.
handlerParams
=
Object
.
assign
(
this
.
handlerParams
,
res
.
data
.
list
[
0
])
if
(
!
this
.
orderExceptionData
.
handlerTime
){
this
.
orderExceptionData
.
handlerTime
=
this
.
handlerParams
.
handlerTime
}
...
...
@@ -1404,7 +1404,7 @@
}
}
if
((
this
.
orderExceptionData
.
orderExceptionType
==
'
not_shipping_channel_exception
'
&&
this
.
handlerParams
.
orderExceptionHandlerResult
==
'
change_channel
'
)
||
(
this
.
orderExceptionData
.
orderExceptionType
==
'
channel_exception
'
&&
this
.
handlerParams
.
orderExceptionHandlerResult
==
'
set_shipment_channel
'
)){
if
(
this
.
handlerParams
.
channelId
==
0
){
if
(
!
this
.
handlerParams
.
channelId
||
this
.
handlerParams
.
channelId
==
0
){
this
.
$modal
.
msgError
(
this
.
$t
(
'
请选择出货渠道
'
));
return
}
...
...
@@ -1645,6 +1645,7 @@
}
}
}
)
console
.
log
(
that
.
loopOrderItem
)
}
else
{
getOrderExceptionChannelPriceList
({
orderId
:
that
.
orderId
,
exceptionId
:
parseInt
(
that
.
orderExceptionId
),
exceptionResultId
:
that
.
handlerParams
.
id
}
).
then
(
res
=>
{
if
(
res
.
code
==
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