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
a521ab93
Commit
a521ab93
authored
Jun 01, 2023
by
dragondean@qq.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
价格列表完善
parent
d2308455
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
3 deletions
+6
-3
index.vue
src/views/ecw/productPrice/index.vue
+6
-3
No files found.
src/views/ecw/productPrice/index.vue
View file @
a521ab93
...
...
@@ -68,7 +68,10 @@
</
template
>
<!--指定商品-->
<el-button
v-if=
"$route.query.product_id"
type=
"primary"
v-hasPermi=
"['ecw:product-price:single_product']"
@
click=
"batchSetSingleProductPrice"
>
{{$t('批量设置单个商品的路线')}}
</el-button>
<
template
v-else
>
<el-button
type=
"primary"
size=
"mini"
v-hasPermi=
"['ecw:product-price:single_product']"
@
click=
"batchSetSingleProductPrice('sea')"
>
{{
$t
(
'
批量设置商品海运路线
'
)
}}
</el-button>
<el-button
type=
"primary"
size=
"mini"
v-hasPermi=
"['ecw:product-price:single_product']"
@
click=
"batchSetSingleProductPrice('air')"
>
{{
$t
(
'
批量设置商品空运路线
'
)
}}
</el-button>
</
template
>
</el-col>
<right-toolbar
:showSearch.sync=
"showSearch"
@
queryTable=
"getList"
></right-toolbar>
...
...
@@ -660,8 +663,8 @@ export default {
}
,
// 批量修改单个商品的价格(一条或者多条,后者全部路线)
batchSetSingleProductPrice
(){
this
.
$router
.
push
(
'
../../lineProject/product-price/edit?action=batchUpdate&product_id=
'
+
this
.
$route
.
query
.
product_id
+
'
&ids=
'
+
this
.
ids
)
batchSetSingleProductPrice
(
type
){
this
.
$router
.
push
(
`../../lineProject/product-price/edit?action=batchUpdate&type=${type
}
&product_id=${this.$route.query.product_id
}
&ids=${this.ids
}
`
)
}
,
// 批量设置路线
handleBatchEdit
(
type
)
{
...
...
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