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
b6c2de2b
Commit
b6c2de2b
authored
Dec 26, 2022
by
我在何方
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
未报价异常修复
parent
4a0280f1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
1 deletion
+26
-1
productPrice.js
src/api/ecw/productPrice.js
+10
-0
pending.vue
src/views/ecw/order/pending.vue
+16
-1
No files found.
src/api/ecw/productPrice.js
View file @
b6c2de2b
...
...
@@ -96,4 +96,14 @@ export function getPriceSnapshotList(priceId){
method
:
'
get
'
,
params
:
{
priceId
}
})
}
// 获得路线产品
export
function
getProductPriceGetPrice
(
query
)
{
return
request
({
url
:
'
/ecw/product-price/getPrice
'
,
method
:
'
get
'
,
params
:
query
})
}
\ No newline at end of file
src/views/ecw/order/pending.vue
View file @
b6c2de2b
...
...
@@ -123,6 +123,7 @@ import { getCurrencyList } from '@/api/ecw/currency'
import
{
getOrder
}
from
'
@/api/ecw/order
'
import
FilePreview
from
'
@/components/FilePreview
'
import
{
getProduct
}
from
'
@/api/ecw/product
'
import
{
getProductPriceGetPrice
}
from
'
@/api/ecw/productPrice
'
export
default
{
name
:
"
Pending
"
,
...
...
@@ -193,6 +194,7 @@ export default {
handEdit
(
row
){
// 未报价异常
if
(
row
.
orderExceptionType
==
'
order_no_quote_exception
'
){
if
(
row
.
orderItemId
){
var
productData
=
this
.
orderData
.
orderItemVOList
.
find
(
item
=>
item
.
orderItemId
==
row
.
orderItemId
)
if
(
productData
){
...
...
@@ -208,12 +210,25 @@ export default {
lineId
:
this
.
orderData
.
logisticsInfoDto
.
lineId
,
channelId
:
this
.
orderData
.
logisticsInfoDto
.
channelId
}
let
queryParams
=
{
productId
:
productData
.
prodId
,
lineId
:
this
.
orderData
.
logisticsInfoDto
.
lineId
,
channelId
:
this
.
orderData
.
logisticsInfoDto
.
channelId
}
let
url
=
'
../../lineProject/product-price/edit?
'
+
(
new
URLSearchParams
(
params
)).
toString
()
getProductPriceGetPrice
(
queryParams
).
then
(
res
=>
{
console
.
log
(
res
)
if
(
res
.
data
){
url
=
'
../../lineProject/product-price/edit?action=update&id=
'
+
res
.
data
.
id
}
return
this
.
$router
.
push
(
url
)
})
/* +productData.prodId
+'&product_type='+res.data.typeId
+'&transportId='+this.orderData.transportId
+'&exportCity='+this.orderData.logisticsInfoDto.startCityId+'&importCity='+this.orderData.logisticsInfoDto.destCityId */
return
this
.
$router
.
push
(
url
)
})
}
}
else
{
...
...
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