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
41b24638
Commit
41b24638
authored
Aug 30, 2023
by
dragondean@qq.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/dev' into dev
parents
e279e29b
3364b41b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
1 deletion
+17
-1
edit.vue
src/views/ecw/channel/edit.vue
+17
-1
No files found.
src/views/ecw/channel/edit.vue
View file @
41b24638
...
@@ -93,6 +93,17 @@
...
@@ -93,6 +93,17 @@
</el-form-item>
</el-form-item>
</el-col>
</el-col>
</el-row>
</el-row>
<el-row
:gutter=
"20"
>
<el-col
:span=
"12"
>
<el-form-item
label=
"渠道泡重比例"
prop=
"attrId"
>
<el-input
v-model.number=
"form.bubbleWeightRatio"
style=
"width: 200px"
>
<template
#suffix
>
<span>
%
</span>
</
template
>
</el-input>
</el-form-item>
</el-col>
</el-row>
<div
style=
"display: flex; justify-content: space-between;"
>
<div
style=
"display: flex; justify-content: space-between;"
>
<h1>
<h1>
<span
style=
"color: red;font-size: 14px;font-weight: 700;"
>
*
</span>
<span
style=
"color: red;font-size: 14px;font-weight: 700;"
>
*
</span>
...
@@ -103,7 +114,7 @@
...
@@ -103,7 +114,7 @@
<el-button
type=
"text"
@
click=
"dialogVisible = true;"
>
选择渠道包装模板
</el-button>
<el-button
type=
"text"
@
click=
"dialogVisible = true;"
>
选择渠道包装模板
</el-button>
</div>
</div>
</div>
</div>
<el-row
:gutter=
"20"
v-for=
"(itemm, index) in form.channelPackagingList"
:key=
"index"
>
<el-row
:gutter=
"20"
v-for=
"(itemm, index) in form.channelPackagingList"
style=
"margin-bottom: 50px;border-bottom: 1px solid #cccccc"
:key=
"index"
>
<el-col
:span=
"2"
>
包装类型{{index + 1}}:
</el-col>
<el-col
:span=
"2"
>
包装类型{{index + 1}}:
</el-col>
<el-col
:span=
"5"
>
<el-col
:span=
"5"
>
<el-select
multiple
v-model=
"itemm.packagingTypes"
>
<el-select
multiple
v-model=
"itemm.packagingTypes"
>
...
@@ -187,6 +198,7 @@ export default {
...
@@ -187,6 +198,7 @@ export default {
return
{
return
{
dialogVisible
:
false
,
dialogVisible
:
false
,
form
:
{
form
:
{
bubbleWeightRatio
:
100
,
channelCostCreateReqVO
:{},
channelCostCreateReqVO
:{},
channelPackagingList
:[],
channelPackagingList
:[],
attrId
:[],
attrId
:[],
...
@@ -250,6 +262,9 @@ export default {
...
@@ -250,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
()
...
@@ -365,6 +380,7 @@ export default {
...
@@ -365,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