Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-marketing
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 7fc644b0
authored
Feb 22, 2023
by
王志慧
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
commit
1 parent
365b4c95
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
7 deletions
src/views/friendGroup/friendGroupDetail.vue
src/views/memberCenter/setmealAddUpdate.vue
src/views/friendGroup/friendGroupDetail.vue
View file @
7fc644b
...
@@ -50,6 +50,7 @@
...
@@ -50,6 +50,7 @@
<template
v-if=
"activeName == 1 || activeName == 4"
>
<template
v-if=
"activeName == 1 || activeName == 4"
>
<el-form-item
label=
"是否互动:"
>
<el-form-item
label=
"是否互动:"
>
<el-select
v-model=
"drawerSearchForm.isInteract"
placeholder=
""
>
<el-select
v-model=
"drawerSearchForm.isInteract"
placeholder=
""
>
<el-option
label=
"全部"
value=
""
></el-option>
<el-option
label=
"是"
value=
"true"
></el-option>
<el-option
label=
"是"
value=
"true"
></el-option>
<el-option
label=
"否"
value=
"false"
></el-option>
<el-option
label=
"否"
value=
"false"
></el-option>
</el-select>
</el-select>
...
...
src/views/memberCenter/setmealAddUpdate.vue
View file @
7fc644b
...
@@ -203,7 +203,7 @@ export default {
...
@@ -203,7 +203,7 @@ export default {
if
(
this
.
id
)
{
if
(
this
.
id
)
{
this
.
getServiceInfo
()
this
.
getServiceInfo
()
}
else
{
}
else
{
this
.
ruleForm
.
giveGoldFlag
=
2
this
.
ruleForm
.
giveGoldFlag
=
2
}
}
// this.getSetmealServiceFun() //获取服务套餐,执行完了之后去获取编辑详情
// this.getSetmealServiceFun() //获取服务套餐,执行完了之后去获取编辑详情
},
},
...
@@ -226,6 +226,11 @@ export default {
...
@@ -226,6 +226,11 @@ export default {
this
.
choseItemList
.
push
(
k
)
this
.
choseItemList
.
push
(
k
)
})
})
})
})
if
(
this
.
choseItemList
.
length
>
0
)
{
this
.
setmealContentRules
=
false
}
else
{
this
.
setmealContentRules
=
true
}
},
},
handleGiftDelete
(
attr
,
idx
)
{
handleGiftDelete
(
attr
,
idx
)
{
this
.
couponObj
[
attr
].
list
.
splice
(
idx
,
1
)
this
.
couponObj
[
attr
].
list
.
splice
(
idx
,
1
)
...
@@ -313,10 +318,6 @@ export default {
...
@@ -313,10 +318,6 @@ export default {
}
}
return
return
}
}
if
(
this
.
choseItemList
.
length
<=
0
)
{
this
.
setmealContentRules
=
true
return
}
if
(
this
.
id
)
{
if
(
this
.
id
)
{
//需要调config的接口????
//需要调config的接口????
...
@@ -332,7 +333,7 @@ export default {
...
@@ -332,7 +333,7 @@ export default {
param
.
packagePrice
=
this
.
ruleForm
.
packagePrice
param
.
packagePrice
=
this
.
ruleForm
.
packagePrice
param
.
notes
=
this
.
ruleForm
.
notes
param
.
notes
=
this
.
ruleForm
.
notes
param
.
switchStatus
=
this
.
ruleForm
.
switchStatus
?
1
:
0
param
.
switchStatus
=
this
.
ruleForm
.
switchStatus
?
1
:
0
if
(
this
.
showGh
)
param
.
giveGoldFlag
=
this
.
ruleForm
.
giveGoldFlag
if
(
this
.
showGh
)
param
.
giveGoldFlag
=
this
.
ruleForm
.
giveGoldFlag
let
lists
=
this
.
choseItemList
let
lists
=
this
.
choseItemList
for
(
var
k
in
lists
)
{
for
(
var
k
in
lists
)
{
param
[
`lists[
${
k
}
].serviceQuantity`
]
=
lists
[
k
].
couponAmount
param
[
`lists[
${
k
}
].serviceQuantity`
]
=
lists
[
k
].
couponAmount
...
@@ -368,7 +369,7 @@ export default {
...
@@ -368,7 +369,7 @@ export default {
params
.
packagePrice
=
this
.
ruleForm
.
packagePrice
params
.
packagePrice
=
this
.
ruleForm
.
packagePrice
params
.
notes
=
this
.
ruleForm
.
notes
params
.
notes
=
this
.
ruleForm
.
notes
params
.
switchStatus
=
this
.
ruleForm
.
switchStatus
?
1
:
0
params
.
switchStatus
=
this
.
ruleForm
.
switchStatus
?
1
:
0
if
(
this
.
showGh
)
params
.
giveGoldFlag
=
this
.
ruleForm
.
giveGoldFlag
if
(
this
.
showGh
)
params
.
giveGoldFlag
=
this
.
ruleForm
.
giveGoldFlag
let
list
=
this
.
choseItemList
let
list
=
this
.
choseItemList
for
(
var
i
in
list
)
{
for
(
var
i
in
list
)
{
params
[
`list[
${
i
}
].serviceQuantity`
]
=
list
[
i
].
couponAmount
params
[
`list[
${
i
}
].serviceQuantity`
]
=
list
[
i
].
couponAmount
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment