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 695a26b4
authored
May 19, 2022
by
chenwq
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
集团-去掉会员价,门店价;库存查看
1 parent
797871c6
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
16 additions
and
7 deletions
src/views/couponManage/editCashCoupon.vue
src/views/couponManage/editDiscountCoupon.vue
src/views/couponManage/editExchangeCoupon.vue
src/views/couponManage/editMemberService.vue
src/views/couponManage/index.vue
src/views/couponManage/editCashCoupon.vue
View file @
695a26b
...
@@ -109,7 +109,7 @@
...
@@ -109,7 +109,7 @@
<!-- 库存,集团版集团账号-无限制库存;其他-输入框 -->
<!-- 库存,集团版集团账号-无限制库存;其他-输入框 -->
<
template
slot=
"stock"
slot-scope=
"scope"
>
<
template
slot=
"stock"
slot-scope=
"scope"
>
<span
v-if=
"$isGroupUp"
>
无库存限制
</span>
<span
v-if=
"$isGroupUp"
>
无库存限制
</span>
<el-input
v-else
class=
"w-150"
v-model=
"editForm[scope.scope.name]"
placeholder=
"请输入库存"
>
<el-input
:disabled=
"apear != 'couponAdd'"
v-else
class=
"w-150"
v-model=
"editForm[scope.scope.name]"
placeholder=
"请输入库存"
>
<span
slot=
"suffix"
>
张
</span>
<span
slot=
"suffix"
>
张
</span>
</el-input>
</el-input>
</
template
>
</
template
>
...
...
src/views/couponManage/editDiscountCoupon.vue
View file @
695a26b
...
@@ -122,7 +122,7 @@
...
@@ -122,7 +122,7 @@
<!-- 库存,集团版集团账号-无限制库存;其他-输入框 -->
<!-- 库存,集团版集团账号-无限制库存;其他-输入框 -->
<
template
slot=
"stock"
slot-scope=
"scope"
>
<
template
slot=
"stock"
slot-scope=
"scope"
>
<span
v-if=
"$isGroupUp"
>
无库存限制
</span>
<span
v-if=
"$isGroupUp"
>
无库存限制
</span>
<el-input
v-else
class=
"w-150"
v-model=
"editForm[scope.scope.name]"
placeholder=
"请输入库存"
>
<el-input
:disabled=
"apear != 'couponAdd'"
v-else
class=
"w-150"
v-model=
"editForm[scope.scope.name]"
placeholder=
"请输入库存"
>
<span
slot=
"suffix"
>
张
</span>
<span
slot=
"suffix"
>
张
</span>
</el-input>
</el-input>
</
template
>
</
template
>
...
...
src/views/couponManage/editExchangeCoupon.vue
View file @
695a26b
...
@@ -57,7 +57,7 @@
...
@@ -57,7 +57,7 @@
<!-- 库存,集团版集团账号-无限制库存;其他-输入框 -->
<!-- 库存,集团版集团账号-无限制库存;其他-输入框 -->
<template
slot=
"stock"
slot-scope=
"scope"
>
<template
slot=
"stock"
slot-scope=
"scope"
>
<span
v-if=
"$isGroupUp"
>
无库存限制
</span>
<span
v-if=
"$isGroupUp"
>
无库存限制
</span>
<el-input
v-else
class=
"w-150"
v-model=
"editForm[scope.scope.name]"
placeholder=
"请输入库存"
>
<el-input
:disabled=
"apear != 'couponAdd'"
v-else
class=
"w-150"
v-model=
"editForm[scope.scope.name]"
placeholder=
"请输入库存"
>
<span
slot=
"suffix"
>
张
</span>
<span
slot=
"suffix"
>
张
</span>
</el-input>
</el-input>
</
template
>
</
template
>
...
...
src/views/couponManage/editMemberService.vue
View file @
695a26b
...
@@ -45,7 +45,7 @@
...
@@ -45,7 +45,7 @@
<!-- 库存,集团版集团账号-无限制库存;其他-输入框 -->
<!-- 库存,集团版集团账号-无限制库存;其他-输入框 -->
<
template
slot=
"stock"
slot-scope=
"scope"
>
<
template
slot=
"stock"
slot-scope=
"scope"
>
<span
v-if=
"$isGroupUp"
>
无库存限制
</span>
<span
v-if=
"$isGroupUp"
>
无库存限制
</span>
<el-input
v-else
class=
"w-150"
v-model=
"editForm[scope.scope.name]"
placeholder=
"请输入库存"
>
<el-input
:disabled=
"apear != 'couponAdd'"
v-else
class=
"w-150"
v-model=
"editForm[scope.scope.name]"
placeholder=
"请输入库存"
>
<span
slot=
"suffix"
>
张
</span>
<span
slot=
"suffix"
>
张
</span>
</el-input>
</el-input>
</
template
>
</
template
>
...
@@ -158,13 +158,15 @@ export default {
...
@@ -158,13 +158,15 @@ export default {
label
:
'会员价'
,
label
:
'会员价'
,
name
:
'vipPrice'
,
name
:
'vipPrice'
,
width
:
'150px'
,
width
:
'150px'
,
type
:
'input'
type
:
'input'
,
isHide
:
false
},
},
{
{
label
:
'门店价'
,
label
:
'门店价'
,
name
:
'shopPrice'
,
name
:
'shopPrice'
,
width
:
'150px'
,
width
:
'150px'
,
type
:
'input'
type
:
'input'
,
isHide
:
false
},
},
{
{
label
:
'库存'
,
label
:
'库存'
,
...
@@ -208,6 +210,13 @@ export default {
...
@@ -208,6 +210,13 @@ export default {
created
()
{
created
()
{
this
.
editRule
.
stock
[
0
].
required
=
!
this
.
$isGroupUp
this
.
editRule
.
stock
[
0
].
required
=
!
this
.
$isGroupUp
let
hideAttrList
=
[
'vipPrice'
,
'shopPrice'
]
if
(
this
.
$isGroupUp
)
{
hideAttrList
.
forEach
(
item
=>
{
let
idx
=
this
.
editFormData
.
findIndex
(
k
=>
k
.
name
==
item
)
this
.
editFormData
[
idx
].
isHide
=
true
})
}
},
},
mounted
()
{
mounted
()
{
...
...
src/views/couponManage/index.vue
View file @
695a26b
...
@@ -34,7 +34,7 @@
...
@@ -34,7 +34,7 @@
<div
class=
"table-btns"
slot=
"auth-button"
slot-scope=
"scope"
>
<div
class=
"table-btns"
slot=
"auth-button"
slot-scope=
"scope"
>
<GLButton
v-if=
"scope.scope.status == '1'"
type=
"text"
@
click=
"start(scope.scope)"
fn=
"生效"
display=
"disabled"
mode=
"el-button"
>
生效
</GLButton>
<GLButton
v-if=
"scope.scope.status == '1'"
type=
"text"
@
click=
"start(scope.scope)"
fn=
"生效"
display=
"disabled"
mode=
"el-button"
>
生效
</GLButton>
<el-button
v-if=
"scope.scope.status == '2'"
type=
"text"
@
click=
"end(scope.scope)"
>
失效
</el-button>
<el-button
v-if=
"scope.scope.status == '2'"
type=
"text"
@
click=
"end(scope.scope)"
>
失效
</el-button>
<GLButton
v-if=
"scope.scope.status == '2' || scope.scope.status == '3'"
type=
"text"
@
click=
"handleEdit(3, scope.scope)"
:fn=
"scope.scope.discountType == 3 ? '查看代金券' : scope.scope.discountType == 7 ? '查看
服务券
' : scope.scope.discountType == 2 ? '查看折扣券' : '查看兑换券'"
mode=
"el-button"
>
查看
</GLButton>
<GLButton
v-if=
"scope.scope.status == '2' || scope.scope.status == '3'"
type=
"text"
@
click=
"handleEdit(3, scope.scope)"
:fn=
"scope.scope.discountType == 3 ? '查看代金券' : scope.scope.discountType == 7 ? '查看
会员服务
' : scope.scope.discountType == 2 ? '查看折扣券' : '查看兑换券'"
mode=
"el-button"
>
查看
</GLButton>
<GLButton
v-if=
"scope.scope.status == '1' || scope.scope.status == '3'"
type=
"text"
@
click=
"del(scope.scope)"
fn=
"删除"
mode=
"el-button"
display=
"disabled"
>
删除
</GLButton>
<GLButton
v-if=
"scope.scope.status == '1' || scope.scope.status == '3'"
type=
"text"
@
click=
"del(scope.scope)"
fn=
"删除"
mode=
"el-button"
display=
"disabled"
>
删除
</GLButton>
<GLButton
type=
"text"
@
click=
"receiveDetail(scope.scope)"
fn=
"领取详情"
mode=
"el-button"
>
领取详情
</GLButton>
<GLButton
type=
"text"
@
click=
"receiveDetail(scope.scope)"
fn=
"领取详情"
mode=
"el-button"
>
领取详情
</GLButton>
</div>
</div>
...
...
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