Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
I
integral-mall
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
integralMall
integral-mall
Commits
2c67652f
Commit
2c67652f
authored
Dec 14, 2021
by
crushh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update: 兑换次数换按钮
parent
e7c51cef
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
22 deletions
+20
-22
coupon.vue
src/views/goods/coupon/coupon.vue
+7
-6
gift.vue
src/views/goods/gift/gift.vue
+13
-16
No files found.
src/views/goods/coupon/coupon.vue
View file @
2c67652f
...
...
@@ -211,10 +211,7 @@
min-width=
"110px"
>
<
template
slot-scope=
"scope"
>
<el-button
type=
"text"
@
click=
"goRecord(scope.row)"
>
{{
scope
.
row
.
allExchangeNumber
}}
</el-button>
<!--
<p>
{{
scope
.
row
.
allExchangeNumber
}}
</p>
-->
<p>
{{
scope
.
row
.
allExchangeNumber
}}
</p>
</
template
>
</el-table-column>
<el-table-column
...
...
@@ -328,7 +325,9 @@
>
<span
class=
"el-dropdown-link"
style=
"color:#1890ff;cursor: pointer;"
>
<i
class=
"el-icon-more"
/>
</span>
<el-dropdown-menu
slot=
"dropdown"
style=
"width:110px;"
>
<!--
<el-dropdown-item
command=
"1"
v-if=
"scope.row.changeType === '5' && scope.row.canEdit"
>
券码
</el-dropdown-item>
-->
<el-dropdown-item
command=
"1"
v-if=
"$getButtonLimit($buttonCode.couponConversion)"
>
查看订单
</el-dropdown-item>
<el-dropdown-item
command=
"2"
v-if=
"scope.row.isDifferentialPricing && $getButtonLimit($buttonCode.couponTieredPricing)"
:limit-code=
"$buttonCode.couponTieredPricing"
>
阶梯价
</el-dropdown-item>
...
...
@@ -574,7 +573,9 @@ export default {
});
},
handleCommand
(
command
,
item
,
index
)
{
if
(
command
==
2
)
{
if
(
command
==
1
)
{
this
.
goRecord
(
item
);
}
else
if
(
command
==
2
)
{
this
.
ladderList
(
item
);
}
else
if
(
command
==
3
)
{
this
.
$confirm
(
'<div>确认删除该商品吗?</div>'
,
'提示'
,
{
...
...
src/views/goods/gift/gift.vue
View file @
2c67652f
...
...
@@ -161,8 +161,8 @@
<i
class=
"el-icon-edit"
@
click=
"editProName(scope.row)"
v-if=
"$getButtonLimit($buttonCode.gifRename)"
:limit-code=
"$buttonCode.gifRename"
v-if=
"$getButtonLimit($buttonCode.gif
t
Rename)"
:limit-code=
"$buttonCode.gif
t
Rename"
/>
</p>
</el-tooltip>
...
...
@@ -256,15 +256,7 @@
min-width=
"110px"
>
<
template
slot-scope=
"scope"
>
<!--
<p>
{{
scope
.
row
.
allExchangeNumber
}}
</p>
-->
<el-button
type=
"text"
@
click=
"goRecord(scope.row)"
>
{{
scope
.
row
.
allExchangeNumber
}}
</el-button>
<!--
<a
:href=
"windowUrl + '/member/#/wechatmemberDetail?memberId=' + scope.row.memberId"
target=
"_blank"
>
{{
scope
.
row
.
cardNum
}}
</a>
-->
<p>
{{
scope
.
row
.
allExchangeNumber
}}
</p>
</
template
>
</el-table-column>
<el-table-column
prop=
"createTime"
label=
"创建时间"
min-width=
"110px"
>
...
...
@@ -369,13 +361,16 @@
>
<span
class=
"el-dropdown-link"
style=
"color:#1890ff;cursor: pointer;"
>
<i
class=
"el-icon-more"
/>
</span>
<el-dropdown-menu
slot=
"dropdown"
style=
"width:110px;"
>
<el-dropdown-item
command=
"1"
v-if=
"scope.row.changeType === '5' && scope.row.canEdit && $getButtonLimit($buttonCode.giftCouponCode)"
:limit-code=
"$buttonCode.giftCouponCode"
>
<el-dropdown-item
command=
"1"
v-if=
"$getButtonLimit($buttonCode.couponConversion)"
>
查看订单
</el-dropdown-item>
<el-dropdown-item
command=
"2"
v-if=
"scope.row.changeType === '5' && scope.row.canEdit && $getButtonLimit($buttonCode.giftCouponCode)"
:limit-code=
"$buttonCode.giftCouponCode"
>
券码
</el-dropdown-item>
<el-dropdown-item
command=
"
2
"
v-if=
"scope.row.isDifferentialPricing && $getButtonLimit($buttonCode.giftTieredPricing)"
:limit-code=
"$buttonCode.giftTieredPricing"
>
<el-dropdown-item
command=
"
3
"
v-if=
"scope.row.isDifferentialPricing && $getButtonLimit($buttonCode.giftTieredPricing)"
:limit-code=
"$buttonCode.giftTieredPricing"
>
阶梯价
</el-dropdown-item>
<el-dropdown-item
command=
"
3
"
v-if=
"scope.row.canEdit && $getButtonLimit($buttonCode.giftDelete)"
:limit-code=
"$buttonCode.giftDelete"
>
<el-dropdown-item
command=
"
4
"
v-if=
"scope.row.canEdit && $getButtonLimit($buttonCode.giftDelete)"
:limit-code=
"$buttonCode.giftDelete"
>
删除
</el-dropdown-item>
</el-dropdown-menu>
...
...
@@ -611,10 +606,12 @@ export default {
},
handleCommand
(
command
,
item
,
index
)
{
if
(
command
==
1
)
{
this
.
g
etCouponList
(
item
.
integralMallProId
);
this
.
g
oRecord
(
item
);
}
else
if
(
command
==
2
)
{
this
.
ladderList
(
item
);
this
.
getCouponList
(
item
.
integralMallProId
);
}
else
if
(
command
==
3
)
{
this
.
ladderList
(
item
);
}
else
if
(
command
==
4
)
{
this
.
$confirm
(
'<div>确认删除该商品吗?</div>'
,
'提示'
,
{
closeOnClickModal
:
false
,
showClose
:
false
,
...
...
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