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
3364b41b
Commit
3364b41b
authored
Aug 30, 2023
by
邓春圆
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
渠道泡重比例
parent
2b4f2e4c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletion
+6
-1
edit.vue
src/views/ecw/channel/edit.vue
+6
-1
No files found.
src/views/ecw/channel/edit.vue
View file @
3364b41b
...
@@ -96,7 +96,7 @@
...
@@ -96,7 +96,7 @@
<el-row
:gutter=
"20"
>
<el-row
:gutter=
"20"
>
<el-col
:span=
"12"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"渠道泡重比例"
prop=
"attrId"
>
<el-form-item
label=
"渠道泡重比例"
prop=
"attrId"
>
<el-input
style=
"width: 200px"
>
<el-input
v-model.number=
"form.bubbleWeightRatio"
style=
"width: 200px"
>
<template
#suffix
>
<template
#suffix
>
<span>
%
</span>
<span>
%
</span>
</
template
>
</
template
>
...
@@ -198,6 +198,7 @@ export default {
...
@@ -198,6 +198,7 @@ export default {
return
{
return
{
dialogVisible
:
false
,
dialogVisible
:
false
,
form
:
{
form
:
{
bubbleWeightRatio
:
100
,
channelCostCreateReqVO
:{},
channelCostCreateReqVO
:{},
channelPackagingList
:[],
channelPackagingList
:[],
attrId
:[],
attrId
:[],
...
@@ -261,6 +262,9 @@ export default {
...
@@ -261,6 +262,9 @@ export default {
if
(
this
.
form
.
warehouseIds
.
length
){
if
(
this
.
form
.
warehouseIds
.
length
){
this
.
warehouseIdsArr
=
this
.
form
.
warehouseIds
.
split
(
'
,
'
)?.
filter
(
item
=>
!!
item
)
this
.
warehouseIdsArr
=
this
.
form
.
warehouseIds
.
split
(
'
,
'
)?.
filter
(
item
=>
!!
item
)
}
}
if
(
this
.
form
.
bubbleWeightRatio
){
this
.
form
.
bubbleWeightRatio
=
this
.
form
.
bubbleWeightRatio
*
100
}
});
});
}
else
{
}
else
{
this
.
addPackaging
()
this
.
addPackaging
()
...
@@ -376,6 +380,7 @@ export default {
...
@@ -376,6 +380,7 @@ export default {
form
.
channelPackagingList
.
forEach
(
item
=>
{
form
.
channelPackagingList
.
forEach
(
item
=>
{
item
.
packagingTypes
=
item
.
packagingTypes
.
join
(
'
,
'
)
item
.
packagingTypes
=
item
.
packagingTypes
.
join
(
'
,
'
)
})
})
form
.
bubbleWeightRatio
=
form
.
bubbleWeightRatio
/
100
// 修改的提交
// 修改的提交
if
(
this
.
form
.
channelId
!=
null
)
{
if
(
this
.
form
.
channelId
!=
null
)
{
updateChannel
(
form
).
then
((
response
)
=>
{
updateChannel
(
form
).
then
((
response
)
=>
{
...
...
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