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
c5549bf9
Commit
c5549bf9
authored
Aug 09, 2023
by
我在何方
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
不可出渠道异常优化
parent
e2621008
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
14 additions
and
5 deletions
+14
-5
orderException.js
src/api/ecw/orderException.js
+9
-0
NotShipingChannel.vue
src/views/ecw/order/components/NotShipingChannel.vue
+3
-3
prepayDeal.vue
src/views/ecw/order/prepayDeal.vue
+2
-2
No files found.
src/api/ecw/orderException.js
View file @
c5549bf9
...
...
@@ -130,3 +130,12 @@ export function getOrderExceptionChannelPriceList(data) {
data
:
data
})
}
// 根据工作流中传的业务ID,获取不可出渠道异常详细信息
export
function
getExceptionDetailByBusinessId
(
query
)
{
return
request
({
url
:
'
/ecw/order-exception/getExceptionDetailByBusinessId
'
,
method
:
'
get
'
,
params
:
query
})
}
\ No newline at end of file
src/views/ecw/order/components/NotShipingChannel.vue
View file @
c5549bf9
...
...
@@ -102,7 +102,7 @@ import {getUnitList} from "@/api/ecw/unit"
import
{
getCurrencyList
}
from
'
@/api/ecw/currency
'
import
{
getProductAttrList
}
from
'
@/api/ecw/productAttr
'
import
Decimal
from
'
decimal.js
'
import
{
getException
By
Id
,
getOrderExceptionChannelPriceList
}
from
'
@/api/ecw/orderException
'
import
{
getException
DetailByBusiness
Id
,
getOrderExceptionChannelPriceList
}
from
'
@/api/ecw/orderException
'
export
default
{
name
:
'
NotShipingChannel
'
,
...
...
@@ -157,7 +157,7 @@ export default {
methods
:{
Decimal
,
getData
(){
getException
ById
(
this
.
id
).
then
(
res
=>
{
getException
DetailByBusinessId
({
businessId
:
this
.
id
}
).
then
(
res
=>
{
this
.
orderExceptionData
=
res
.
data
if
(
res
.
data
.
orderId
){
getOrder
(
res
.
data
.
orderId
).
then
(
res
=>
{
...
...
@@ -186,7 +186,7 @@ export default {
},
getExceptionPriceList
(
orderId
){
let
that
=
this
getOrderExceptionChannelPriceList
({
orderId
:
orderId
,
exceptionId
:
parseInt
(
that
.
id
)}).
then
(
res
=>
{
getOrderExceptionChannelPriceList
({
orderId
:
orderId
,
exceptionId
:
this
.
orderExceptionData
.
id
,
exceptionResultId
:
parseInt
(
that
.
id
)}).
then
(
res
=>
{
if
(
res
.
code
==
0
&&
res
.
data
.
length
>
0
){
that
.
order
.
orderItemVOList
.
map
(
v
=>
{
var
item
=
res
.
data
.
find
(
vs
=>
vs
.
orderItemId
==
v
.
orderItemId
)
...
...
src/views/ecw/order/prepayDeal.vue
View file @
c5549bf9
...
...
@@ -758,7 +758,7 @@
channelList
:
[],
// 出货取到
tradeCityList
:[],
unitList
:
[],
selectLine
:
null
selectLine
:
null
,
}
;
}
,
activated
(){
...
...
@@ -1261,7 +1261,7 @@
//获取提交的不可出渠道异常商品清关费
getExceptionPriceList
(){
let
that
=
this
getOrderExceptionChannelPriceList
({
orderId
:
that
.
orderId
,
exceptionId
:
parseInt
(
that
.
orderExceptionId
)
}
).
then
(
res
=>
{
getOrderExceptionChannelPriceList
({
orderId
:
that
.
orderId
,
exceptionId
:
parseInt
(
that
.
orderExceptionId
)
,
exceptionResultId
:
this
.
handlerParams
.
id
}
).
then
(
res
=>
{
if
(
res
.
code
==
0
&&
res
.
data
.
length
>
0
){
that
.
orderData
.
orderItemVOList
.
map
(
v
=>
{
var
item
=
res
.
data
.
find
(
vs
=>
vs
.
orderItemId
==
v
.
orderItemId
)
...
...
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