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
6532ec2e
Commit
6532ec2e
authored
Nov 13, 2023
by
dragondean@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复未报价异常处理价格编辑页面不显示渠道
parent
451040b0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
17 deletions
+20
-17
edit.vue
src/views/ecw/productPrice/edit.vue
+20
-17
No files found.
src/views/ecw/productPrice/edit.vue
View file @
6532ec2e
...
...
@@ -582,12 +582,7 @@ export default {
if
(
this
.
$route
.
query
.
action
==
'
update
'
){
let
res
=
await
getProductPrice
(
this
.
$route
.
query
.
id
)
this
.
$set
(
this
,
'
form
'
,
res
.
data
)
// 显示渠道
if
(
this
.
form
.
shippingChannelId
){
getChannel
(
this
.
form
.
shippingChannelId
).
then
(
res
=>
{
this
.
channel
=
res
.
data
}
)
}
if
(
this
.
form
.
needPay
){
this
.
needPay
=
true
}
...
...
@@ -669,12 +664,12 @@ export default {
// 如果指定了始发,目的仓和运输方式,渠道,则是从未报价异常跳转过来的,固定一个路线
if
(
this
.
$route
.
query
.
startWarehouseId
){
openedRouterList
({
const
res
=
await
openedRouterList
({
destCityId
:
this
.
$route
.
query
.
importCity
,
lineId
:
this
.
$route
.
query
.
lineId
,
startCityId
:
this
.
$route
.
query
.
exportCity
,
transportType
:
this
.
$route
.
query
.
transportId
}
)
.
then
(
res
=>
{
}
)
console
.
log
(
"
open --->
"
,
res
)
this
.
lineList
=
[
Object
.
assign
({
...
...
@@ -682,9 +677,10 @@ export default {
lineId
:
this
.
$route
.
query
.
lineId
,
shippingChannelId
:
this
.
$route
.
query
.
channelId
,
warehouseLineDO
:
{...
res
.
data
[
0
]
}
}
)]
}
)
]
// 后面会根据这个渠道ID获取渠道信息
this
.
form
.
shippingChannelId
=
this
.
$route
.
query
.
channelId
}
}
...
...
@@ -710,6 +706,13 @@ export default {
this
.
$set
(
this
.
form
,
'
productId
'
,
+
this
.
$route
.
query
.
product_id
)
}
// 显示渠道(修改或者从异常处理等进入携带了渠道参数)
if
(
this
.
form
.
shippingChannelId
){
getChannel
(
this
.
form
.
shippingChannelId
).
then
(
res
=>
{
this
.
channel
=
res
.
data
}
)
}
getCurrencyList
().
then
(
res
=>
this
.
currencyList
=
res
.
data
)
getUnitList
().
then
(
res
=>
this
.
unitList
=
res
.
data
)
...
...
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