Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-link
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 86005cc4
authored
Mar 15, 2023
by
杨明
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fixed
1 parent
0ea1fe14
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
16 deletions
src/views/activityLink/components/selectGoodsDialog.vue
src/views/activityLink/editActivity.vue
src/views/activityLink/components/selectGoodsDialog.vue
View file @
86005cc
...
@@ -344,8 +344,7 @@ export default {
...
@@ -344,8 +344,7 @@ export default {
goodsName
:
item
.
goodsName
,
goodsName
:
item
.
goodsName
,
denomination
:
item
.
denomination
,
denomination
:
item
.
denomination
,
effectiveDays
:
item
.
effectiveDays
,
effectiveDays
:
item
.
effectiveDays
,
rechargeDenomination
:
item
.
rechargeDenomination
,
rechargeDenomination
:
item
.
rechargeDenomination
provideWay
:
1
})
})
}
}
})
})
...
...
src/views/activityLink/editActivity.vue
View file @
86005cc
...
@@ -50,26 +50,19 @@
...
@@ -50,26 +50,19 @@
<
template
slot=
"selectGoodsBtn"
>
<
template
slot=
"selectGoodsBtn"
>
<el-button
type=
"default"
class=
"el-icon-plus"
@
click=
"handleGoodsAdd"
>
选择福利券
</el-button>
<el-button
type=
"default"
class=
"el-icon-plus"
@
click=
"handleGoodsAdd"
>
选择福利券
</el-button>
</
template
>
</
template
>
<div
slot=
"goodsListBlock"
style=
"width:
900
px"
:style=
"{ 'margin-left': defaultLabelWidth }"
v-if=
"selectedGoodsList && selectedGoodsList.length"
>
<div
slot=
"goodsListBlock"
style=
"width:
792
px"
:style=
"{ 'margin-left': defaultLabelWidth }"
v-if=
"selectedGoodsList && selectedGoodsList.length"
>
<div
class=
"goods-panel"
>
<div
class=
"goods-panel"
>
<el-table
:data=
"selectedGoodsList"
border
style=
"width: 100%"
>
<el-table
:data=
"selectedGoodsList"
border
style=
"width: 100%"
>
<el-table-column
type=
"index"
label=
"序号"
width=
"70"
></el-table-column>
<el-table-column
type=
"index"
label=
"序号"
width=
"70"
></el-table-column>
<el-table-column
prop=
"brandName"
label=
"品牌"
width=
"1
0
0"
></el-table-column>
<el-table-column
prop=
"brandName"
label=
"品牌"
width=
"1
2
0"
></el-table-column>
<el-table-column
prop=
"goodsName"
label=
"商户名称"
width=
"1
5
0"
></el-table-column>
<el-table-column
prop=
"goodsName"
label=
"商户名称"
width=
"1
6
0"
></el-table-column>
<el-table-column
prop=
"couponAmount"
label=
"数量"
width=
"
7
0"
></el-table-column>
<el-table-column
prop=
"couponAmount"
label=
"数量"
width=
"
8
0"
></el-table-column>
<el-table-column
prop=
"denomination"
label=
"劵面额"
width=
"1
2
0"
>
<el-table-column
prop=
"denomination"
label=
"劵面额"
width=
"1
4
0"
>
<
template
slot-scope=
"scope"
>
{{
(
scope
.
row
.
denomination
/
100
).
toFixed
(
2
)
}}
元
</
template
>
<
template
slot-scope=
"scope"
>
{{
(
scope
.
row
.
denomination
/
100
).
toFixed
(
2
)
}}
元
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"effectiveDays"
label=
"有效期"
width=
"1
0
0"
>
<el-table-column
prop=
"effectiveDays"
label=
"有效期"
width=
"1
2
0"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
effectiveDays
}}
天
</
template
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
effectiveDays
}}
天
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
label=
"发券规则"
>
<
template
slot-scope=
"scope"
>
<el-select
v-model=
"scope.row.provideWay"
placeholder=
"请选择"
class=
"provideWay-box"
>
<el-option
v-for=
"item in rulesOptions"
:key=
"item.value"
:label=
"item.label"
:value=
"item.value"
></el-option>
</el-select>
</
template
>
</el-table-column>
<el-table-column
label=
"操作"
width=
"100"
>
<el-table-column
label=
"操作"
width=
"100"
>
<
template
slot-scope=
"scope"
>
<
template
slot-scope=
"scope"
>
<el-button
@
click=
"handleDeleteGoods(scope.row)"
type=
"text"
size=
"small"
>
删除
</el-button>
<el-button
@
click=
"handleDeleteGoods(scope.row)"
type=
"text"
size=
"small"
>
删除
</el-button>
...
@@ -2034,7 +2027,6 @@ export default {
...
@@ -2034,7 +2027,6 @@ export default {
return
{
return
{
couponId
:
item
.
id
,
couponId
:
item
.
id
,
couponAmount
:
item
.
couponAmount
,
couponAmount
:
item
.
couponAmount
,
provideWay
:
item
.
provideWay
,
couponAnticipatedCost
:
item
.
denomination
couponAnticipatedCost
:
item
.
denomination
}
}
})
})
...
...
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