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
ea3cb17d
Commit
ea3cb17d
authored
Oct 27, 2023
by
黄卓
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/dev' into dev
parents
02e29c42
6a4250c8
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
4 deletions
+17
-4
product.js
src/api/ecw/product.js
+8
-1
product-dialog.vue
src/views/ecw/product/product-dialog.vue
+9
-3
No files found.
src/api/ecw/product.js
View file @
ea3cb17d
...
...
@@ -26,7 +26,14 @@ export function updateProduct(data) {
data
:
data
})
}
// 获得空运产品的路线价格数量
export
function
countByProductIdAndTransportType
(
params
){
return
request
({
url
:
'
/ecw/product-price/countByProductIdAndTransportType
'
,
method
:
'
get
'
,
params
})
}
// 删除产品
export
function
deleteProduct
(
id
)
{
return
request
({
...
...
src/views/ecw/product/product-dialog.vue
View file @
ea3cb17d
...
...
@@ -74,6 +74,7 @@
<
script
>
import
{
countByProductIdAndTransportType
,
createProduct
,
deleteProduct
,
exportProductExcel
,
...
...
@@ -236,9 +237,14 @@ export default {
},
methods
:
{
copyLine
(
row
,
bol
){
if
(
bol
){
countByProductIdAndTransportType
({
productId
:
row
.
id
}).
then
(
r
=>
{
this
.
$emit
(
'
copyLine
'
,
{...
row
,
priceLineCount
:
r
.
data
},
bol
)
})
}
else
{
this
.
$emit
(
'
copyLine
'
,
row
,
bol
)
}
console
.
log
(
bol
,
'
bol
'
)
},
/** 获取产品属性列表 */
getAttrList
()
{
...
...
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