Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-outbound
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 0e0d7765
authored
Jan 19, 2024
by
王志慧
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fixed
1 parent
33789523
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
src/views/redEnvelope/components/RedEnvelopeConfig/FreeAdd.vue
src/views/redEnvelope/components/RedEnvelopeConfig/FreeAdd.vue
View file @
0e0d776
...
...
@@ -63,7 +63,7 @@
<template
v-if=
"configForm.awardList[scope.index].type == 2"
>
<!-- :红包、实物、谢谢惠顾时,为输入框 优惠券,为下拉框 -->
<el-form-item
style=
"margin-bottom: 0px"
:prop=
"'awardList.' + scope.index + '.couponId'"
:rules=
"configRules.couponId"
>
<el-select
style=
"width: 100%"
v-model=
"scope.scope.couponId"
placeholder=
"请选择"
>
<el-select
style=
"width: 100%"
v-model=
"scope.scope.couponId"
placeholder=
"请选择"
@
change=
"setAwardName(scope.scope)"
>
<el-option
v-for=
"item in couponList"
:key=
"item.id"
:label=
"item.goodsName"
:value=
"item.id"
></el-option>
</el-select>
</el-form-item>
...
...
@@ -190,7 +190,7 @@ export default {
data
()
{
return
{
loading
:
false
,
activePage
:
1
,
activePage
:
2
,
templateList
:
[],
couponList
:
[],
afterRangePickerOptions
,
...
...
@@ -489,6 +489,9 @@ export default {
})
}
},
setAwardName
(
data
){
data
.
name
=
this
.
couponList
.
filter
(
item
=>
item
.
id
==
data
.
couponId
)[
0
].
goodsName
},
handleCalculate
(
data
,
key
)
{
if
(
isNaN
(
data
[
key
]))
{
data
[
key
]
=
''
...
...
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