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
77de6e61
Commit
77de6e61
authored
Aug 04, 2023
by
我在何方
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
不可出渠道异常完善
parent
29a25edf
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
110 additions
and
50 deletions
+110
-50
orderException.js
src/api/ecw/orderException.js
+9
-0
NotShipingChannel.vue
src/views/ecw/order/components/NotShipingChannel.vue
+22
-1
prepayDeal.vue
src/views/ecw/order/prepayDeal.vue
+79
-49
No files found.
src/api/ecw/orderException.js
View file @
77de6e61
...
...
@@ -120,4 +120,13 @@ export function getOrderExcptionResult(query) {
method
:
'
get
'
,
params
:
query
})
}
// 根据订单ID,异常ID获取价格
export
function
getOrderExceptionChannelPriceList
(
data
)
{
return
request
({
url
:
'
/order/exception-channel-price/getOrderExceptionChannelPriceList
'
,
method
:
'
post
'
,
data
:
data
})
}
\ No newline at end of file
src/views/ecw/order/components/NotShipingChannel.vue
View file @
77de6e61
...
...
@@ -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
{
getExceptionById
}
from
'
@/api/ecw/orderException
'
import
{
getExceptionById
,
getOrderExceptionChannelPriceList
}
from
'
@/api/ecw/orderException
'
export
default
{
name
:
'
NotShipingChannel
'
,
...
...
@@ -147,6 +147,7 @@ export default {
}
},
async
created
(){
await
getUnitList
().
then
(
res
=>
this
.
unitList
=
res
.
data
)
await
getCurrencyList
().
then
(
res
=>
this
.
currencyList
=
res
.
data
)
this
.
productAttrList
=
(
await
getProductAttrList
()).
data
if
(
this
.
id
){
...
...
@@ -161,6 +162,7 @@ export default {
if
(
res
.
data
.
orderId
){
getOrder
(
res
.
data
.
orderId
).
then
(
res
=>
{
this
.
order
=
res
.
data
this
.
getExceptionPriceList
(
res
.
data
.
orderId
)
})
}
})
...
...
@@ -182,6 +184,25 @@ export default {
this
.
channel
=
res
.
data
})
},
getExceptionPriceList
(
orderId
){
let
that
=
this
getOrderExceptionChannelPriceList
({
orderId
:
orderId
,
exceptionId
:
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
)
if
(
item
){
v
.
oneSeaFreight
=
item
.
freightFee
v
.
seaFreightCurrency
=
item
.
freightCurrencyId
v
.
seaFreightVolume
=
item
.
freightUnitId
v
.
oneClearanceFreight
=
item
.
clearanceFee
v
.
clearanceFreightCurrency
=
item
.
clearanceCurrencyId
v
.
clearanceFreightVolume
=
item
.
clearanceUnitId
}
})
}
})
}
}
}
</
script
>
...
...
src/views/ecw/order/prepayDeal.vue
View file @
77de6e61
This diff is collapsed.
Click to expand it.
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