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 910c1c7f
authored
Nov 23, 2022
by
chenwq
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
优惠券,去掉适用门店;核销列表
1 parent
c55927c0
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
278 additions
and
248 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/receiveDetail.vue
src/views/couponManage/recordList.vue
src/views/couponManage/editCashCoupon.vue
View file @
910c1c7
...
@@ -104,9 +104,8 @@
...
@@ -104,9 +104,8 @@
</el-form-item>
</el-form-item>
</
template
>
</
template
>
<
template
slot=
"denominationHtml"
>
<
template
slot=
"denominationHtml"
>
<el-input
v-model=
"editForm.denomination"
id=
"denomination"
placeholder=
"请输入面值"
:disabled=
"apear != 'couponAdd'"
@
blur
.
native
.
capture=
"editForm.useChannel == 1 && denominationBlur($event)"
>
<el-input
v-model=
"editForm.denomination"
id=
"denomination"
placeholder=
"请输入面值"
:disabled=
"apear != 'couponAdd'"
@
blur
.
native
.
capture=
"editForm.useChannel == 1 && denominationBlur($event)"
></el-input>
<!--
<span
slot=
"append"
>
元
</span>
-->
元
</el-input>
<span
style=
"color: red; margin-left: 15px"
v-if=
"priceFlag && editForm.useChannel == 1"
>
{{
<span
style=
"color: red; margin-left: 15px"
v-if=
"priceFlag && editForm.useChannel == 1"
>
{{
selectedAllProList
.
length
?
'存在零售价低于代金券的商品'
:
'系统暂无已创建的商品,请先创建好商品后再配置代金券'
selectedAllProList
.
length
?
'存在零售价低于代金券的商品'
:
'系统暂无已创建的商品,请先创建好商品后再配置代金券'
}}
</span>
}}
</span>
...
@@ -114,9 +113,10 @@
...
@@ -114,9 +113,10 @@
<!-- 库存,集团版集团账号-无限制库存;其他-输入框 -->
<!-- 库存,集团版集团账号-无限制库存;其他-输入框 -->
<
template
slot=
"stock"
slot-scope=
"scope"
>
<
template
slot=
"stock"
slot-scope=
"scope"
>
<span
v-if=
"$isGroupUp"
>
无库存限制
</span>
<span
v-if=
"$isGroupUp"
>
无库存限制
</span>
<el-input
:disabled=
"apear != 'couponAdd'"
v-else
class=
"w-150"
v-model=
"editForm[scope.scope.name]"
placeholder=
"请输入库存"
>
<div
v-else
>
<!--
<span
slot=
"suffix"
>
张
</span>
-->
<el-input
:disabled=
"apear != 'couponAdd'"
class=
"w-150"
v-model=
"editForm[scope.scope.name]"
placeholder=
"请输入库存"
></el-input>
</el-input>
张
</div>
</
template
>
</
template
>
<!-- 只有使用途径为线上商品时才有效,到店核销时屏蔽 -->
<!-- 只有使用途径为线上商品时才有效,到店核销时屏蔽 -->
<
template
slot=
"goodsHtml"
>
<
template
slot=
"goodsHtml"
>
...
@@ -145,11 +145,11 @@
...
@@ -145,11 +145,11 @@
<el-button
style=
"margin-left: 80px"
@
click=
"editMessage"
>
编辑
</el-button>
<el-button
style=
"margin-left: 80px"
@
click=
"editMessage"
>
编辑
</el-button>
</
template
>
</
template
>
</glsx-combi-form>
</glsx-combi-form>
<div
v-if=
"$isGroupUp"
>
<
!-- <
div v-if="$isGroupUp">
<p class="edit-title">适用门店配置</p>
<p class="edit-title">适用门店配置</p>
<glsx-combi-form class="edit-form-container" ref="merchantRef" :isEdit="true" :isBlock="true" :formRef="editChildRef" :formObj="editForm" :formData="merchantEditFormData" :formRules="merchantRule">
<glsx-combi-form class="edit-form-container" ref="merchantRef" :isEdit="true" :isBlock="true" :formRef="editChildRef" :formObj="editForm" :formData="merchantEditFormData" :formRules="merchantRule">
</glsx-combi-form>
</glsx-combi-form>
</div>
</div>
-->
</div>
</div>
<GLFooter>
<GLFooter>
<el-button
@
click=
"handleCancel"
size=
"medium"
>
{{ apear != 'couponSee' ? '取消' : '返回' }}
</el-button>
<el-button
@
click=
"handleCancel"
size=
"medium"
>
{{ apear != 'couponSee' ? '取消' : '返回' }}
</el-button>
...
@@ -202,8 +202,8 @@ export default {
...
@@ -202,8 +202,8 @@ export default {
full
:
''
,
full
:
''
,
goods
:
'1'
,
goods
:
'1'
,
goodsRefList
:
[],
goodsRefList
:
[],
directionalFlag
:
'1'
,
directionalFlag
:
'1'
scopeApplication
:
''
//
scopeApplication: ''
},
},
//商品列表
//商品列表
tableParams
:
{
tableParams
:
{
...
@@ -297,12 +297,12 @@ export default {
...
@@ -297,12 +297,12 @@ export default {
isHide
:
true
isHide
:
true
},
},
{
{
label
:
'面值
/元
'
,
label
:
'面值'
,
name
:
'denomination'
,
name
:
'denomination'
,
addHtml
:
'denominationHtml'
addHtml
:
'denominationHtml'
},
},
{
{
label
:
'库存
/张
'
,
label
:
'库存'
,
name
:
'stock'
,
name
:
'stock'
,
addHtml
:
'stock'
addHtml
:
'stock'
// width: '150px',
// width: '150px',
...
@@ -326,29 +326,29 @@ export default {
...
@@ -326,29 +326,29 @@ export default {
}
}
],
],
// 适用门店
// 适用门店
merchantRule
:
{
//
merchantRule: {
scopeApplication
:
[{
required
:
true
,
message
:
'请选择适用范围'
,
trigger
:
'change'
}]
//
scopeApplication: [{ required: true, message: '请选择适用范围', trigger: 'change' }]
},
//
},
merchantEditFormData
:
[
//
merchantEditFormData: [
{
//
{
label
:
'适用范围'
,
//
label: '适用范围',
name
:
'scopeApplication'
,
//
name: 'scopeApplication',
type
:
'radio'
,
//
type: 'radio',
optionId
:
'confId'
,
//
optionId: 'confId',
optionLabel
:
'confName'
,
//
optionLabel: 'confName',
isDisabled
:
false
,
//
isDisabled: false,
optionList
:
[
//
optionList: [
{
//
{
confId
:
'1'
,
//
confId: '1',
confName
:
'旗下所有店通用'
//
confName: '旗下所有店通用'
},
//
},
{
//
{
confId
:
'2'
,
//
confId: '2',
confName
:
'旗下同品牌店通用(根据客户绑定车辆品牌自动筛选出适用门店)'
//
confName: '旗下同品牌店通用(根据客户绑定车辆品牌自动筛选出适用门店)'
}
//
}
]
//
]
}
//
}
]
//
]
}
}
},
},
...
@@ -624,9 +624,9 @@ export default {
...
@@ -624,9 +624,9 @@ export default {
this
.
editForm
.
effectiveType
=
this
.
editForm
.
effectiveType
+
''
this
.
editForm
.
effectiveType
=
this
.
editForm
.
effectiveType
+
''
this
.
editForm
.
useBarriers
=
this
.
editForm
.
useBarriers
+
''
this
.
editForm
.
useBarriers
=
this
.
editForm
.
useBarriers
+
''
this
.
editForm
.
anticipatedCost
=
(
this
.
editForm
.
anticipatedCost
/
100
).
toFixed
(
2
)
this
.
editForm
.
anticipatedCost
=
(
this
.
editForm
.
anticipatedCost
/
100
).
toFixed
(
2
)
if
(
this
.
$isGroupUp
)
{
//
if (this.$isGroupUp) {
this
.
editForm
.
scopeApplication
=
this
.
editForm
.
scopeApplication
+
''
//
this.editForm.scopeApplication = this.editForm.scopeApplication + ''
}
//
}
//有效期
//有效期
//有效类型 1:固定天数,领取后计算 2:时间段,3:永久有效
//有效类型 1:固定天数,领取后计算 2:时间段,3:永久有效
if
(
this
.
editForm
.
effectiveType
==
2
)
{
if
(
this
.
editForm
.
effectiveType
==
2
)
{
...
@@ -723,9 +723,10 @@ export default {
...
@@ -723,9 +723,10 @@ export default {
obj
.
limitStockFlag
=
this
.
$isGroupUp
?
2
:
1
obj
.
limitStockFlag
=
this
.
$isGroupUp
?
2
:
1
if
(
!
this
.
$isGroupUp
)
{
if
(
!
this
.
$isGroupUp
)
{
obj
.
stock
=
form
.
stock
obj
.
stock
=
form
.
stock
}
else
{
obj
.
scopeApplication
=
form
.
scopeApplication
}
}
// else {
// obj.scopeApplication = form.scopeApplication
// }
//类型(0:不限制次数,1:根据有效期限制多少次,2:根据间隔多少天限制多少次)
//类型(0:不限制次数,1:根据有效期限制多少次,2:根据间隔多少天限制多少次)
obj
.
useType
=
1
obj
.
useType
=
1
//有效期或者间隔天数使用次数
//有效期或者间隔天数使用次数
...
@@ -758,20 +759,21 @@ export default {
...
@@ -758,20 +759,21 @@ export default {
handleConfirm
()
{
handleConfirm
()
{
this
.
validateRules
()
this
.
validateRules
()
this
.
$refs
.
editFormRef
.
$refs
[
this
.
editChildRef
].
validate
((
valid
,
errorObj
)
=>
{
this
.
$refs
.
editFormRef
.
$refs
[
this
.
editChildRef
].
validate
((
valid
,
errorObj
)
=>
{
var
merchantval
=
true
//
var merchantval = true
var
merchantErrorObj
=
[]
//
var merchantErrorObj = []
if
(
this
.
$isGroupUp
)
{
//
if (this.$isGroupUp) {
this
.
$refs
.
merchantRef
.
$refs
[
this
.
editChildRef
].
validate
((
merchantVaild
,
errorObj
)
=>
{
//
this.$refs.merchantRef.$refs[this.editChildRef].validate((merchantVaild, errorObj) => {
merchantval
=
merchantVaild
//
merchantval = merchantVaild
merchantErrorObj
=
errorObj
//
merchantErrorObj = errorObj
})
//
})
}
//
}
if
(
!
valid
)
{
if
(
!
valid
)
{
this
.
whereToGo
(
Object
.
keys
(
errorObj
)[
0
])
this
.
whereToGo
(
Object
.
keys
(
errorObj
)[
0
])
}
else
if
(
!
merchantval
)
{
this
.
whereToGo
(
Object
.
keys
(
merchantErrorObj
)[
0
])
}
}
if
(
valid
&&
merchantval
)
{
// else if (!merchantval) {
// this.whereToGo(Object.keys(merchantErrorObj)[0])
// }
if
(
valid
)
{
if
(
this
.
priceFlag
&&
this
.
editForm
.
useChannel
==
1
)
{
if
(
this
.
priceFlag
&&
this
.
editForm
.
useChannel
==
1
)
{
//存在零售价低于代金券的商品
//存在零售价低于代金券的商品
this
.
whereToGo
(
'denomination'
)
this
.
whereToGo
(
'denomination'
)
...
...
src/views/couponManage/editDiscountCoupon.vue
View file @
910c1c7
...
@@ -98,9 +98,8 @@
...
@@ -98,9 +98,8 @@
<!-- 库存,集团版集团账号-无限制库存;其他-输入框 -->
<!-- 库存,集团版集团账号-无限制库存;其他-输入框 -->
<
template
slot=
"stock"
slot-scope=
"scope"
>
<
template
slot=
"stock"
slot-scope=
"scope"
>
<span
v-if=
"$isGroupUp"
>
无库存限制
</span>
<span
v-if=
"$isGroupUp"
>
无库存限制
</span>
<el-input
:disabled=
"apear != 'couponAdd'"
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=
"请输入库存"
></el-input>
<!--
<span
slot=
"suffix"
>
张
</span>
-->
张
</el-input>
</
template
>
</
template
>
<
template
slot=
"useDescriptionHtml"
>
<
template
slot=
"useDescriptionHtml"
>
<el-input
type=
"textarea"
v-model=
"editForm.useDescription"
:autosize=
"
{ minRows: 2, maxRows: 4 }" maxlength="200" :disabled="userDisable" />
<el-input
type=
"textarea"
v-model=
"editForm.useDescription"
:autosize=
"
{ minRows: 2, maxRows: 4 }" maxlength="200" :disabled="userDisable" />
...
@@ -109,10 +108,10 @@
...
@@ -109,10 +108,10 @@
<el-button
style=
"margin-left: 80px"
@
click=
"editMessage"
>
编辑
</el-button>
<el-button
style=
"margin-left: 80px"
@
click=
"editMessage"
>
编辑
</el-button>
</
template
>
</
template
>
</glsx-combi-form>
</glsx-combi-form>
<div
v-if=
"$isGroupUp"
>
<
!-- <
div v-if="$isGroupUp">
<p class="edit-title">适用门店配置</p>
<p class="edit-title">适用门店配置</p>
<glsx-combi-form class="edit-form-container" ref="merchantRef" :isEdit="true" :isBlock="true" :formRef="editChildRef" :formObj="editForm" :formData="merchantEditFormData" :formRules="merchantRule"></glsx-combi-form>
<glsx-combi-form class="edit-form-container" ref="merchantRef" :isEdit="true" :isBlock="true" :formRef="editChildRef" :formObj="editForm" :formData="merchantEditFormData" :formRules="merchantRule"></glsx-combi-form>
</div>
</div>
-->
</div>
</div>
<GLFooter>
<GLFooter>
<el-button
@
click=
"handleCancel"
size=
"medium"
>
{{ apear != 'couponSee' ? '取消' : '返回' }}
</el-button>
<el-button
@
click=
"handleCancel"
size=
"medium"
>
{{ apear != 'couponSee' ? '取消' : '返回' }}
</el-button>
...
@@ -174,8 +173,8 @@ export default {
...
@@ -174,8 +173,8 @@ export default {
effectiveDays
:
''
,
effectiveDays
:
''
,
anticipatedCost
:
''
,
anticipatedCost
:
''
,
discountIntensity
:
''
,
discountIntensity
:
''
,
directionalFlag
:
'1'
,
directionalFlag
:
'1'
scopeApplication
:
''
//
scopeApplication: ''
},
},
editRule
:
{
editRule
:
{
anticipatedCost
:
[{
required
:
true
,
message
:
'请输入预估成本'
,
trigger
:
'change'
}],
anticipatedCost
:
[{
required
:
true
,
message
:
'请输入预估成本'
,
trigger
:
'change'
}],
...
@@ -215,7 +214,7 @@ export default {
...
@@ -215,7 +214,7 @@ export default {
addHtml
:
'useLimitHtml'
addHtml
:
'useLimitHtml'
},
},
{
{
label
:
'库存
/张
'
,
label
:
'库存'
,
name
:
'stock'
,
name
:
'stock'
,
addHtml
:
'stock'
addHtml
:
'stock'
// width: '180px',
// width: '180px',
...
@@ -245,29 +244,29 @@ export default {
...
@@ -245,29 +244,29 @@ export default {
}
}
],
],
// 适用门店
// 适用门店
merchantRule
:
{
//
merchantRule: {
scopeApplication
:
[{
required
:
true
,
message
:
'请选择适用范围'
,
trigger
:
'change'
}]
//
scopeApplication: [{ required: true, message: '请选择适用范围', trigger: 'change' }]
},
//
},
merchantEditFormData
:
[
//
merchantEditFormData: [
{
//
{
label
:
'适用范围'
,
//
label: '适用范围',
name
:
'scopeApplication'
,
//
name: 'scopeApplication',
type
:
'radio'
,
//
type: 'radio',
optionId
:
'confId'
,
//
optionId: 'confId',
optionLabel
:
'confName'
,
//
optionLabel: 'confName',
isDisabled
:
false
,
//
isDisabled: false,
optionList
:
[
//
optionList: [
{
//
{
confId
:
'1'
,
//
confId: '1',
confName
:
'旗下所有店通用'
//
confName: '旗下所有店通用'
},
//
},
{
//
{
confId
:
'2'
,
//
confId: '2',
confName
:
'旗下同品牌店通用(根据客户绑定车辆品牌自动筛选出适用门店)'
//
confName: '旗下同品牌店通用(根据客户绑定车辆品牌自动筛选出适用门店)'
}
//
}
]
//
]
}
//
}
]
//
]
}
}
},
},
...
@@ -397,9 +396,9 @@ export default {
...
@@ -397,9 +396,9 @@ export default {
this
.
editForm
.
useBarriers
=
this
.
editForm
.
useBarriers
+
''
this
.
editForm
.
useBarriers
=
this
.
editForm
.
useBarriers
+
''
this
.
editForm
.
anticipatedCost
=
(
this
.
editForm
.
anticipatedCost
/
100
).
toFixed
(
2
)
this
.
editForm
.
anticipatedCost
=
(
this
.
editForm
.
anticipatedCost
/
100
).
toFixed
(
2
)
this
.
editForm
.
discountIntensity
=
(
this
.
editForm
.
discountIntensity
/
100
).
toFixed
(
2
)
this
.
editForm
.
discountIntensity
=
(
this
.
editForm
.
discountIntensity
/
100
).
toFixed
(
2
)
if
(
this
.
$isGroupUp
)
{
//
if (this.$isGroupUp) {
this
.
editForm
.
scopeApplication
=
this
.
editForm
.
scopeApplication
+
''
//
this.editForm.scopeApplication = this.editForm.scopeApplication + ''
}
//
}
//使用限制,满多少元可用
//使用限制,满多少元可用
if
(
this
.
editForm
.
useBarriers
==
2
)
{
if
(
this
.
editForm
.
useBarriers
==
2
)
{
this
.
editForm
.
full
=
this
.
editForm
.
full
this
.
editForm
.
full
=
this
.
editForm
.
full
...
@@ -479,9 +478,10 @@ export default {
...
@@ -479,9 +478,10 @@ export default {
obj
.
limitStockFlag
=
this
.
$isGroupUp
?
2
:
1
obj
.
limitStockFlag
=
this
.
$isGroupUp
?
2
:
1
if
(
!
this
.
$isGroupUp
)
{
if
(
!
this
.
$isGroupUp
)
{
obj
.
stock
=
form
.
stock
obj
.
stock
=
form
.
stock
}
else
{
obj
.
scopeApplication
=
form
.
scopeApplication
}
}
// else {
// obj.scopeApplication = form.scopeApplication
// }
//折扣
//折扣
obj
.
discountIntensity
=
(
form
.
discountIntensity
*
100
).
toFixed
(
0
)
obj
.
discountIntensity
=
(
form
.
discountIntensity
*
100
).
toFixed
(
0
)
//类型(0:不限制次数,1:根据有效期限制多少次,2:根据间隔多少天限制多少次)
//类型(0:不限制次数,1:根据有效期限制多少次,2:根据间隔多少天限制多少次)
...
@@ -506,20 +506,21 @@ export default {
...
@@ -506,20 +506,21 @@ export default {
handleConfirm
()
{
handleConfirm
()
{
this
.
validateRules
()
this
.
validateRules
()
this
.
$refs
.
editFormRef
.
$refs
[
this
.
editChildRef
].
validate
((
valid
,
errorObj
)
=>
{
this
.
$refs
.
editFormRef
.
$refs
[
this
.
editChildRef
].
validate
((
valid
,
errorObj
)
=>
{
var
merchantval
=
true
//
var merchantval = true
var
merchantErrorObj
=
[]
//
var merchantErrorObj = []
if
(
this
.
$isGroupUp
)
{
//
if (this.$isGroupUp) {
this
.
$refs
.
merchantRef
.
$refs
[
this
.
editChildRef
].
validate
((
merchantVaild
,
errorObj
)
=>
{
//
this.$refs.merchantRef.$refs[this.editChildRef].validate((merchantVaild, errorObj) => {
merchantval
=
merchantVaild
//
merchantval = merchantVaild
merchantErrorObj
=
errorObj
//
merchantErrorObj = errorObj
})
//
})
}
//
}
if
(
!
valid
)
{
if
(
!
valid
)
{
this
.
whereToGo
(
Object
.
keys
(
errorObj
)[
0
])
this
.
whereToGo
(
Object
.
keys
(
errorObj
)[
0
])
}
else
if
(
!
merchantval
)
{
this
.
whereToGo
(
Object
.
keys
(
merchantErrorObj
)[
0
])
}
}
if
(
valid
&&
merchantval
)
{
// else if (!merchantval) {
// this.whereToGo(Object.keys(merchantErrorObj)[0])
// }
if
(
valid
)
{
var
params
=
this
.
getCouponInfoParams
()
var
params
=
this
.
getCouponInfoParams
()
let
method
=
''
let
method
=
''
if
(
params
.
couponId
)
{
if
(
params
.
couponId
)
{
...
...
src/views/couponManage/editExchangeCoupon.vue
View file @
910c1c7
...
@@ -96,10 +96,10 @@
...
@@ -96,10 +96,10 @@
<el-button
style=
"margin-left: 80px"
@
click=
"editMessage"
>
编辑
</el-button>
<el-button
style=
"margin-left: 80px"
@
click=
"editMessage"
>
编辑
</el-button>
</
template
>
</
template
>
</glsx-combi-form>
</glsx-combi-form>
<div
v-if=
"$isGroupUp"
>
<
!-- <
div v-if="$isGroupUp">
<p class="edit-title">适用门店配置</p>
<p class="edit-title">适用门店配置</p>
<glsx-combi-form class="edit-form-container" ref="merchantRef" :isEdit="true" :isBlock="true" :formRef="editChildRef" :formObj="editForm" :formData="merchantEditFormData" :formRules="merchantRule"></glsx-combi-form>
<glsx-combi-form class="edit-form-container" ref="merchantRef" :isEdit="true" :isBlock="true" :formRef="editChildRef" :formObj="editForm" :formData="merchantEditFormData" :formRules="merchantRule"></glsx-combi-form>
</div>
</div>
-->
</div>
</div>
<GLFooter>
<GLFooter>
<el-button
@
click=
"handleCancel"
size=
"medium"
>
{{ apear != 'couponSee' ? '取消' : '返回' }}
</el-button>
<el-button
@
click=
"handleCancel"
size=
"medium"
>
{{ apear != 'couponSee' ? '取消' : '返回' }}
</el-button>
...
@@ -158,8 +158,8 @@ export default {
...
@@ -158,8 +158,8 @@ export default {
effectiveTime
:
[],
effectiveTime
:
[],
effectiveDays
:
''
,
effectiveDays
:
''
,
anticipatedCost
:
''
,
anticipatedCost
:
''
,
directionalFlag
:
'1'
,
directionalFlag
:
'1'
scopeApplication
:
''
//
scopeApplication: ''
},
},
editRule
:
{
editRule
:
{
anticipatedCost
:
[{
required
:
true
,
message
:
'请输入预估成本'
,
trigger
:
'change'
}],
anticipatedCost
:
[{
required
:
true
,
message
:
'请输入预估成本'
,
trigger
:
'change'
}],
...
@@ -215,29 +215,29 @@ export default {
...
@@ -215,29 +215,29 @@ export default {
}
}
],
],
// 适用门店
// 适用门店
merchantRule
:
{
//
merchantRule: {
scopeApplication
:
[{
required
:
true
,
message
:
'请选择适用范围'
,
trigger
:
'change'
}]
//
scopeApplication: [{ required: true, message: '请选择适用范围', trigger: 'change' }]
},
//
},
merchantEditFormData
:
[
//
merchantEditFormData: [
{
//
{
label
:
'适用范围'
,
//
label: '适用范围',
name
:
'scopeApplication'
,
//
name: 'scopeApplication',
type
:
'radio'
,
//
type: 'radio',
optionId
:
'confId'
,
//
optionId: 'confId',
optionLabel
:
'confName'
,
//
optionLabel: 'confName',
isDisabled
:
false
,
//
isDisabled: false,
optionList
:
[
//
optionList: [
{
//
{
confId
:
'1'
,
//
confId: '1',
confName
:
'旗下所有店通用'
//
confName: '旗下所有店通用'
},
//
},
{
//
{
confId
:
'2'
,
//
confId: '2',
confName
:
'旗下同品牌店通用(根据客户绑定车辆品牌自动筛选出适用门店)'
//
confName: '旗下同品牌店通用(根据客户绑定车辆品牌自动筛选出适用门店)'
}
//
}
]
//
]
}
//
}
]
//
]
}
}
},
},
...
@@ -344,9 +344,9 @@ export default {
...
@@ -344,9 +344,9 @@ export default {
this
.
editForm
.
directionalFlag
=
this
.
editForm
.
directionalFlag
+
''
this
.
editForm
.
directionalFlag
=
this
.
editForm
.
directionalFlag
+
''
this
.
editForm
.
effectiveType
=
this
.
editForm
.
effectiveType
+
''
this
.
editForm
.
effectiveType
=
this
.
editForm
.
effectiveType
+
''
this
.
editForm
.
anticipatedCost
=
(
this
.
editForm
.
anticipatedCost
/
100
).
toFixed
(
2
)
this
.
editForm
.
anticipatedCost
=
(
this
.
editForm
.
anticipatedCost
/
100
).
toFixed
(
2
)
if
(
this
.
$isGroupUp
)
{
//
if (this.$isGroupUp) {
this
.
editForm
.
scopeApplication
=
this
.
editForm
.
scopeApplication
+
''
//
this.editForm.scopeApplication = this.editForm.scopeApplication + ''
}
//
}
//有效期
//有效期
//有效类型 1:固定天数,领取后计算 2:时间段,3:永久有效
//有效类型 1:固定天数,领取后计算 2:时间段,3:永久有效
if
(
this
.
editForm
.
effectiveType
==
2
)
{
if
(
this
.
editForm
.
effectiveType
==
2
)
{
...
@@ -409,9 +409,10 @@ export default {
...
@@ -409,9 +409,10 @@ export default {
obj
.
limitStockFlag
=
this
.
$isGroupUp
?
2
:
1
obj
.
limitStockFlag
=
this
.
$isGroupUp
?
2
:
1
if
(
!
this
.
$isGroupUp
)
{
if
(
!
this
.
$isGroupUp
)
{
obj
.
stock
=
form
.
stock
obj
.
stock
=
form
.
stock
}
else
{
obj
.
scopeApplication
=
form
.
scopeApplication
}
}
// else {
// obj.scopeApplication = form.scopeApplication
// }
//类型(0:不限制次数,1:根据有效期限制多少次,2:根据间隔多少天限制多少次)
//类型(0:不限制次数,1:根据有效期限制多少次,2:根据间隔多少天限制多少次)
obj
.
useType
=
1
obj
.
useType
=
1
//有效期或者间隔天数使用次数
//有效期或者间隔天数使用次数
...
@@ -434,20 +435,21 @@ export default {
...
@@ -434,20 +435,21 @@ export default {
handleConfirm
()
{
handleConfirm
()
{
this
.
validateRules
()
this
.
validateRules
()
this
.
$refs
.
editFormRef
.
$refs
[
this
.
editChildRef
].
validate
((
valid
,
errorObj
)
=>
{
this
.
$refs
.
editFormRef
.
$refs
[
this
.
editChildRef
].
validate
((
valid
,
errorObj
)
=>
{
var
merchantval
=
true
//
var merchantval = true
var
merchantErrorObj
=
[]
//
var merchantErrorObj = []
if
(
this
.
$isGroupUp
)
{
//
if (this.$isGroupUp) {
this
.
$refs
.
merchantRef
.
$refs
[
this
.
editChildRef
].
validate
((
merchantVaild
,
errorObj
)
=>
{
//
this.$refs.merchantRef.$refs[this.editChildRef].validate((merchantVaild, errorObj) => {
merchantval
=
merchantVaild
//
merchantval = merchantVaild
merchantErrorObj
=
errorObj
//
merchantErrorObj = errorObj
})
//
})
}
//
}
if
(
!
valid
)
{
if
(
!
valid
)
{
this
.
whereToGo
(
Object
.
keys
(
errorObj
)[
0
])
this
.
whereToGo
(
Object
.
keys
(
errorObj
)[
0
])
}
else
if
(
!
merchantval
)
{
this
.
whereToGo
(
Object
.
keys
(
merchantErrorObj
)[
0
])
}
}
if
(
valid
&&
merchantval
)
{
// else if (!merchantval) {
// this.whereToGo(Object.keys(merchantErrorObj)[0])
// }
if
(
valid
)
{
var
params
=
this
.
getCouponInfoParams
()
var
params
=
this
.
getCouponInfoParams
()
let
method
=
''
let
method
=
''
if
(
params
.
couponId
)
{
if
(
params
.
couponId
)
{
...
...
src/views/couponManage/editMemberService.vue
View file @
910c1c7
...
@@ -60,23 +60,22 @@
...
@@ -60,23 +60,22 @@
</el-radio-group>
</el-radio-group>
</div>
</div>
</el-form-item>
</el-form-item>
<el-form-item
v-if=
"!$isGroupUp"
size=
"small"
label=
"会员价/元:"
prop=
"vipPrice"
>
<el-form-item
v-if=
"!$isGroupUp"
size=
"small"
label=
"会员价:"
prop=
"vipPrice"
>
<el-input
size=
"small"
:disabled=
"disabledContent"
maxlength=
"8"
v-model=
"ruleForm.vipPrice"
placeholder=
"请输入会员价"
@
keyup
.
native=
"ruleForm.vipPrice = oninput(ruleForm.vipPrice)"
>
<el-input
size=
"small"
:disabled=
"disabledContent"
maxlength=
"8"
v-model=
"ruleForm.vipPrice"
placeholder=
"请输入会员价"
@
keyup
.
native=
"ruleForm.vipPrice = oninput(ruleForm.vipPrice)"
></el-input>
<!--
<span
slot=
"suffix"
class=
"suffix-label"
>
元
</span>
-->
元
</el-input>
</el-form-item>
</el-form-item>
<el-form-item
v-if=
"!$isGroupUp"
size=
"small"
label=
"门店价/元:"
prop=
"shopPrice"
>
<el-form-item
v-if=
"!$isGroupUp"
size=
"small"
label=
"门店价:"
prop=
"shopPrice"
>
<el-input
size=
"small"
:disabled=
"disabledContent"
maxlength=
"8"
v-model=
"ruleForm.shopPrice"
placeholder=
"请输入门店价"
@
keyup
.
native=
"ruleForm.shopPrice = oninput(ruleForm.shopPrice)"
>
<el-input
size=
"small"
:disabled=
"disabledContent"
maxlength=
"8"
v-model=
"ruleForm.shopPrice"
placeholder=
"请输入门店价"
@
keyup
.
native=
"ruleForm.shopPrice = oninput(ruleForm.shopPrice)"
></el-input>
<!--
<span
slot=
"suffix"
class=
"suffix-label"
>
元
</span>
-->
元
</el-input>
</el-form-item>
</el-form-item>
<!-- 库存,集团版集团账号-无限制库存;其他-输入框 -->
<!-- 库存,集团版集团账号-无限制库存;其他-输入框 -->
<el-form-item
size=
"small"
label=
"库存
/张
:"
prop=
"stock"
>
<el-form-item
size=
"small"
label=
"库存:"
prop=
"stock"
>
<!--
<el-input
size=
"small"
:disabled=
"title == '查看'"
maxlength=
"6"
v-model
.
number=
"ruleForm.stock"
placeholder=
"请输入"
></el-input>
-->
<!--
<el-input
size=
"small"
:disabled=
"title == '查看'"
maxlength=
"6"
v-model
.
number=
"ruleForm.stock"
placeholder=
"请输入"
></el-input>
-->
<span
v-if=
"$isGroupUp"
>
无库存限制
</span>
<span
v-if=
"$isGroupUp"
>
无库存限制
</span>
<el-input
:disabled=
"title == '查看'"
v-else
class=
"w-150"
v-model=
"ruleForm.stock"
placeholder=
"请输入库存"
>
<div
v-else
>
<!--
<span
slot=
"suffix"
>
张
</span>
-->
<el-input
:disabled=
"title == '查看'"
class=
"w-150"
v-model=
"ruleForm.stock"
placeholder=
"请输入库存"
></el-input>
</el-input>
张
</div>
</el-form-item>
</el-form-item>
<el-form-item
size=
"small"
label=
"使用说明:"
prop=
"useDescription"
>
<el-form-item
size=
"small"
label=
"使用说明:"
prop=
"useDescription"
>
<el-input
size=
"small"
:rows=
"6"
:disabled=
"disabledDescription"
type=
"textarea"
v-model=
"ruleForm.useDescription"
placeholder=
"请输入"
maxlength=
"200"
show-word-limit
></el-input>
<el-input
size=
"small"
:rows=
"6"
:disabled=
"disabledDescription"
type=
"textarea"
v-model=
"ruleForm.useDescription"
placeholder=
"请输入"
maxlength=
"200"
show-word-limit
></el-input>
...
@@ -86,10 +85,10 @@
...
@@ -86,10 +85,10 @@
</el-form-item>
</el-form-item>
</el-form>
</el-form>
<div
class=
"edit-container"
v-if=
"$isGroupUp"
>
<
!--
<
div
class=
"edit-container"
v-if=
"$isGroupUp"
>
<p
class=
"edit-title"
>
适用门店配置
</p>
<p
class=
"edit-title"
>
适用门店配置
</p>
<glsx-combi-form
class=
"edit-form-container"
ref=
"merchantRef"
:isEdit=
"true"
:isBlock=
"true"
:formRef=
"editChildRef"
:formObj=
"ruleForm"
:formData=
"merchantEditFormData"
:formRules=
"merchantRule"
></glsx-combi-form>
<glsx-combi-form
class=
"edit-form-container"
ref=
"merchantRef"
:isEdit=
"true"
:isBlock=
"true"
:formRef=
"editChildRef"
:formObj=
"ruleForm"
:formData=
"merchantEditFormData"
:formRules=
"merchantRule"
></glsx-combi-form>
</div>
</div>
-->
<!--
<div
class=
"serviceCard"
>
<!--
<div
class=
"serviceCard"
>
<div
class=
"cardtop"
>
<div
class=
"cardtop"
>
<img
src=
"@/assets/serviceMemberCard.png"
alt=
""
/>
<img
src=
"@/assets/serviceMemberCard.png"
alt=
""
/>
...
@@ -229,8 +228,8 @@ export default {
...
@@ -229,8 +228,8 @@ export default {
shopPrice
:
''
,
shopPrice
:
''
,
stock
:
''
,
stock
:
''
,
useDescription
:
''
,
useDescription
:
''
,
daterange
:
[]
,
daterange
:
[]
scopeApplication
:
''
//
scopeApplication: ''
},
},
copyRuleForm
:
{},
copyRuleForm
:
{},
rules
:
{
rules
:
{
...
@@ -257,29 +256,29 @@ export default {
...
@@ -257,29 +256,29 @@ export default {
merchantName
:
''
,
merchantName
:
''
,
title
:
this
.
$route
.
query
.
title
||
''
,
title
:
this
.
$route
.
query
.
title
||
''
,
// 适用门店
// 适用门店
merchantRule
:
{
//
merchantRule: {
scopeApplication
:
[{
required
:
true
,
message
:
'请选择适用范围'
,
trigger
:
'change'
}]
//
scopeApplication: [{ required: true, message: '请选择适用范围', trigger: 'change' }]
},
//
},
merchantEditFormData
:
[
//
merchantEditFormData: [
{
//
{
label
:
'适用范围'
,
//
label: '适用范围',
name
:
'scopeApplication'
,
//
name: 'scopeApplication',
type
:
'radio'
,
//
type: 'radio',
optionId
:
'confId'
,
//
optionId: 'confId',
optionLabel
:
'confName'
,
//
optionLabel: 'confName',
isDisabled
:
false
,
//
isDisabled: false,
optionList
:
[
//
optionList: [
{
//
{
confId
:
'1'
,
//
confId: '1',
confName
:
'旗下所有店通用'
//
confName: '旗下所有店通用'
},
//
},
{
//
{
confId
:
'2'
,
//
confId: '2',
confName
:
'旗下同品牌店通用(根据客户绑定车辆品牌自动筛选出适用门店)'
//
confName: '旗下同品牌店通用(根据客户绑定车辆品牌自动筛选出适用门店)'
}
//
}
]
//
]
}
//
}
]
//
]
}
}
},
},
computed
:
{
computed
:
{
...
@@ -358,9 +357,9 @@ export default {
...
@@ -358,9 +357,9 @@ export default {
this
.
ruleForm
=
res
this
.
ruleForm
=
res
this
.
ruleForm
.
anticipatedCost
=
(
res
.
anticipatedCost
/
100
).
toFixed
(
2
)
this
.
ruleForm
.
anticipatedCost
=
(
res
.
anticipatedCost
/
100
).
toFixed
(
2
)
this
.
ruleForm
.
customUseLimit
=
res
.
useType
this
.
ruleForm
.
customUseLimit
=
res
.
useType
if
(
this
.
$isGroupUp
)
{
//
if (this.$isGroupUp) {
this
.
ruleForm
.
scopeApplication
=
res
.
scopeApplication
+
''
//
this.ruleForm.scopeApplication = res.scopeApplication + ''
}
//
}
if
(
res
.
effectiveType
==
1
)
{
if
(
res
.
effectiveType
==
1
)
{
this
.
ruleForm
.
effectiveDays
=
res
.
effectiveDays
this
.
ruleForm
.
effectiveDays
=
res
.
effectiveDays
}
}
...
@@ -390,20 +389,21 @@ export default {
...
@@ -390,20 +389,21 @@ export default {
clearTimeout
(
this
.
timer
)
clearTimeout
(
this
.
timer
)
this
.
timer
=
setTimeout
(()
=>
{
this
.
timer
=
setTimeout
(()
=>
{
this
.
$refs
[
formName
].
validate
((
valid
,
errorObj
)
=>
{
this
.
$refs
[
formName
].
validate
((
valid
,
errorObj
)
=>
{
var
merchantval
=
true
//
var merchantval = true
var
merchantErrorObj
=
[]
//
var merchantErrorObj = []
if
(
this
.
$isGroupUp
)
{
//
if (this.$isGroupUp) {
this
.
$refs
.
merchantRef
.
$refs
[
this
.
editChildRef
].
validate
((
merchantVaild
,
errorObj
)
=>
{
//
this.$refs.merchantRef.$refs[this.editChildRef].validate((merchantVaild, errorObj) => {
merchantval
=
merchantVaild
//
merchantval = merchantVaild
merchantErrorObj
=
errorObj
//
merchantErrorObj = errorObj
})
//
})
}
//
}
if
(
!
valid
)
{
if
(
!
valid
)
{
this
.
whereToGo
(
Object
.
keys
(
errorObj
)[
0
])
this
.
whereToGo
(
Object
.
keys
(
errorObj
)[
0
])
}
else
if
(
!
merchantval
)
{
this
.
whereToGo
(
Object
.
keys
(
merchantErrorObj
)[
0
])
}
}
if
(
valid
&&
merchantval
)
{
// else if (!merchantval) {
// this.whereToGo(Object.keys(merchantErrorObj)[0])
// }
if
(
valid
)
{
if
(
this
.
isEdit
==
true
)
{
if
(
this
.
isEdit
==
true
)
{
this
.
updateService
()
this
.
updateService
()
}
else
{
}
else
{
...
@@ -470,9 +470,10 @@ export default {
...
@@ -470,9 +470,10 @@ export default {
params
.
limitStockFlag
=
this
.
$isGroupUp
?
2
:
1
params
.
limitStockFlag
=
this
.
$isGroupUp
?
2
:
1
if
(
!
this
.
$isGroupUp
)
{
if
(
!
this
.
$isGroupUp
)
{
params
.
stock
=
this
.
ruleForm
.
stock
params
.
stock
=
this
.
ruleForm
.
stock
}
else
{
params
.
scopeApplication
=
this
.
ruleForm
.
scopeApplication
}
}
// else {
// params.scopeApplication = this.ruleForm.scopeApplication
// }
params
.
useDescription
=
this
.
ruleForm
.
useDescription
params
.
useDescription
=
this
.
ruleForm
.
useDescription
params
.
discountType
=
7
params
.
discountType
=
7
...
@@ -620,8 +621,8 @@ export default {
...
@@ -620,8 +621,8 @@ export default {
.radioGroupWrap
{
.radioGroupWrap
{
width
:
550px
;
width
:
550px
;
height
:
164px
;
height
:
164px
;
background-color
:
#f9f9f9
;
//
background-color
:
#f9f9f9
;
padding-top
:
10px
;
//
padding-top
:
10px
;
padding-left
:
20px
;
padding-left
:
20px
;
}
}
}
}
...
...
src/views/couponManage/index.vue
View file @
910c1c7
...
@@ -241,17 +241,17 @@ export default {
...
@@ -241,17 +241,17 @@ export default {
width
:
'100px'
,
width
:
'100px'
,
addHtml
:
'status'
addHtml
:
'status'
},
},
{
//
{
label
:
'适用范围'
,
//
label: '适用范围',
name
:
'scopeApplication'
,
//
name: 'scopeApplication',
width
:
160
,
//
width: 160,
formatter
:
cellValue
=>
{
//
formatter: cellValue => {
return
{
//
return {
1
:
'旗下所有店通用'
,
//
1: '旗下所有店通用',
2
:
'旗下品牌店通用'
//
2: '旗下品牌店通用'
}[
cellValue
.
scopeApplication
]
//
}[cellValue.scopeApplication]
}
//
}
},
//
},
{
{
label
:
'已领取'
,
label
:
'已领取'
,
prop
:
'getAmount'
prop
:
'getAmount'
...
@@ -320,10 +320,10 @@ export default {
...
@@ -320,10 +320,10 @@ export default {
created
()
{
created
()
{
this
.
userInfo
=
this
.
$globalState
.
session
this
.
userInfo
=
this
.
$globalState
.
session
if
(
!
this
.
$isGroupUp
)
{
//
if (!this.$isGroupUp) {
let
idx
=
this
.
tableParams
.
tableColumns
.
findIndex
(
item
=>
item
.
label
==
'适用范围'
)
//
let idx = this.tableParams.tableColumns.findIndex(item => item.label == '适用范围')
this
.
tableParams
.
tableColumns
.
splice
(
idx
,
1
)
//
this.tableParams.tableColumns.splice(idx, 1)
}
//
}
},
},
mounted
()
{
mounted
()
{
...
...
src/views/couponManage/receiveDetail.vue
View file @
910c1c7
...
@@ -104,10 +104,10 @@ export default {
...
@@ -104,10 +104,10 @@ export default {
label
:
'有效期'
,
label
:
'有效期'
,
name
:
'effectiveTxt'
name
:
'effectiveTxt'
},
},
{
//
{
label
:
'适用范围'
,
//
label: '适用范围',
name
:
'scopeApplicationTxt'
//
name: 'scopeApplicationTxt'
},
//
},
{
{
label
:
'发行库存'
,
label
:
'发行库存'
,
name
:
'limitStockFlag'
,
name
:
'limitStockFlag'
,
...
@@ -268,10 +268,10 @@ export default {
...
@@ -268,10 +268,10 @@ export default {
components
:
{},
components
:
{},
created
()
{
created
()
{
if
(
!
this
.
$isGroupUp
)
{
//
if (!this.$isGroupUp) {
let
idx
=
this
.
couponFormData
.
findIndex
(
item
=>
item
.
label
==
'适用范围'
)
//
let idx = this.couponFormData.findIndex(item => item.label == '适用范围')
this
.
couponFormData
.
splice
(
idx
,
1
)
//
this.couponFormData.splice(idx, 1)
}
//
}
},
},
mounted
()
{
mounted
()
{
...
@@ -348,13 +348,13 @@ export default {
...
@@ -348,13 +348,13 @@ export default {
}
}
}
}
// 适用范围
// 适用范围
if
(
this
.
$isGroupUp
)
{
//
if (this.$isGroupUp) {
this
.
coupon
.
scopeApplicationTxt
=
//
this.coupon.scopeApplicationTxt =
{
//
{
1
:
'旗下所有店通用'
,
//
1: '旗下所有店通用',
2
:
'旗下品牌店通用'
//
2: '旗下品牌店通用'
}[
coupon
.
scopeApplication
]
||
'-'
//
}[coupon.scopeApplication] || '-'
}
//
}
})
})
},
},
...
...
src/views/couponManage/recordList.vue
View file @
910c1c7
...
@@ -75,12 +75,32 @@ export default {
...
@@ -75,12 +75,32 @@ export default {
// 搜索
// 搜索
searchFormData
:
[
searchFormData
:
[
{
{
label
:
'核销码'
,
label
:
'发放门店'
,
name
:
'verificationCode'
,
name
:
''
,
type
:
'input'
,
labelWidth
:
56
,
labelWidth
:
56
,
maxlength
:
50
type
:
'select'
,
optionList
:
[],
optionId
:
'confId'
,
optionLabel
:
'confName'
,
optionsName
:
'discountTypeList'
},
{
label
:
'核销门店'
,
name
:
''
,
labelWidth
:
56
,
type
:
'select'
,
optionList
:
[],
optionId
:
'confId'
,
optionLabel
:
'confName'
,
optionsName
:
'discountTypeList'
},
},
// {
// label: '核销门店',
// name: 'verificationMerchantName',
// type: 'input',
// isHide: false,
// maxlength: 50
// },
{
{
label
:
'券名称'
,
label
:
'券名称'
,
name
:
'couponName'
,
name
:
'couponName'
,
...
@@ -98,13 +118,6 @@ export default {
...
@@ -98,13 +118,6 @@ export default {
optionsName
:
'discountTypeList'
optionsName
:
'discountTypeList'
},
},
{
{
label
:
'核销门店'
,
name
:
'verificationMerchantName'
,
type
:
'input'
,
isHide
:
false
,
maxlength
:
50
},
{
label
:
'核销人'
,
label
:
'核销人'
,
name
:
'verificationOperator'
,
name
:
'verificationOperator'
,
type
:
'input'
,
type
:
'input'
,
...
@@ -121,6 +134,13 @@ export default {
...
@@ -121,6 +134,13 @@ export default {
maxlength
:
11
maxlength
:
11
},
},
{
{
label
:
'核销码'
,
name
:
'verificationCode'
,
type
:
'input'
,
labelWidth
:
56
,
maxlength
:
50
},
{
label
:
'核销日期'
,
label
:
'核销日期'
,
name
:
'daterange'
,
name
:
'daterange'
,
type
:
'datePicker'
,
type
:
'datePicker'
,
...
@@ -147,16 +167,11 @@ export default {
...
@@ -147,16 +167,11 @@ export default {
tableOption
:
false
,
tableOption
:
false
,
tableColumns
:
[
tableColumns
:
[
{
{
label
:
'核销码'
,
label
:
'核销用户'
,
prop
:
'verificationCode'
,
width
:
200
},
{
label
:
'用户信息'
,
prop
:
'userName'
,
prop
:
'userName'
,
width
:
220
,
width
:
220
,
formatter
:
cellValue
=>
{
formatter
:
cellValue
=>
{
return
cellValue
.
userName
+
' '
+
cellValue
.
phone
return
(
cellValue
.
userName
||
''
)
+
' '
+
cellValue
.
phone
}
}
},
},
{
{
...
@@ -180,6 +195,10 @@ export default {
...
@@ -180,6 +195,10 @@ export default {
}
}
},
},
{
{
label
:
'发放门店'
,
prop
:
''
},
{
label
:
'核销门店'
,
label
:
'核销门店'
,
prop
:
'verificationMerchantName'
prop
:
'verificationMerchantName'
},
},
...
@@ -188,6 +207,11 @@ export default {
...
@@ -188,6 +207,11 @@ export default {
prop
:
'verificationOperator'
prop
:
'verificationOperator'
},
},
{
{
label
:
'核销码'
,
prop
:
'verificationCode'
,
width
:
200
},
{
label
:
'券来源'
,
label
:
'券来源'
,
prop
:
'packageName'
,
prop
:
'packageName'
,
addHtml
:
'packageName'
,
addHtml
:
'packageName'
,
...
@@ -246,9 +270,9 @@ export default {
...
@@ -246,9 +270,9 @@ export default {
if
(
this
.
$isGroupUp
)
{
if
(
this
.
$isGroupUp
)
{
this
.
getPackageList
()
this
.
getPackageList
()
}
}
this
.
showOrHideAttr
(
'searchFormData'
,
this
.
$isGroupUp
?
'核销人'
:
'
核销门店
'
,
true
)
this
.
showOrHideAttr
(
'searchFormData'
,
this
.
$isGroupUp
?
'核销人'
:
''
,
true
)
!
this
.
$isGroupUp
&&
this
.
showOrHideAttr
(
'searchFormData'
,
'券来源'
,
true
)
!
this
.
$isGroupUp
&&
this
.
showOrHideAttr
(
'searchFormData'
,
'券来源'
,
true
)
this
.
deleteAttr
(
this
.
$isGroupUp
?
[
'核销人'
]
:
[
'核销门店'
])
this
.
deleteAttr
(
this
.
$isGroupUp
?
[
'核销人'
]
:
[])
},
},
mounted
()
{
mounted
()
{
...
...
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