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 9653feba
authored
May 10, 2022
by
chenwq
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
全局变量(集团版集团账号);服务券,代金券,兑换券,折扣券-子弹添加,提交验证,不同平台不同账号等级。
1 parent
94d0a8c8
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
79 additions
and
36 deletions
src/assets/css/public.scss
src/setup/qiankun.js
src/setup/single.js
src/views/couponManage/editCashCoupon.vue
src/views/couponManage/editDiscountCoupon.vue
src/views/couponManage/editExchangeCoupon.vue
src/views/couponManage/editMemberService.vue
src/assets/css/public.scss
View file @
9653feb
...
@@ -240,6 +240,10 @@ html {
...
@@ -240,6 +240,10 @@ html {
height
:
120px
;
height
:
120px
;
}
}
.marketing
.w-150
{
width
:
150px
;
}
.marketing
.w-320
{
.marketing
.w-320
{
width
:
320px
;
width
:
320px
;
}
}
...
...
src/setup/qiankun.js
View file @
9653feb
...
@@ -22,6 +22,8 @@ export async function bootstrap({ history, common, messenger, globalState, route
...
@@ -22,6 +22,8 @@ export async function bootstrap({ history, common, messenger, globalState, route
Vue
.
prototype
.
$common
=
common
Vue
.
prototype
.
$common
=
common
Vue
.
prototype
.
$message
=
message
Vue
.
prototype
.
$message
=
message
Vue
.
prototype
.
$messageBox
=
messageBox
Vue
.
prototype
.
$messageBox
=
messageBox
// 集团版集团账号
Vue
.
prototype
.
$isGroupUp
=
globalState
.
session
.
merchantModel
==
1
&&
globalState
.
session
.
accountLevel
!=
4
Vue
.
prototype
.
$http
=
new
common
.
Http
({
response
,
request
,
sign
,
secret
,
alert
:
message
.
error
,
headers
:
{
token
:
globalState
.
session
.
token
}
})
Vue
.
prototype
.
$http
=
new
common
.
Http
({
response
,
request
,
sign
,
secret
,
alert
:
message
.
error
,
headers
:
{
token
:
globalState
.
session
.
token
}
})
Vue
.
prototype
.
$http2
=
new
common
.
Http
({
response
,
request
:
request2
,
sign
,
secret
,
alert
:
message
.
error
,
headers
:
{
token
:
globalState
.
session
.
token
}
})
Vue
.
prototype
.
$http2
=
new
common
.
Http
({
response
,
request
:
request2
,
sign
,
secret
,
alert
:
message
.
error
,
headers
:
{
token
:
globalState
.
session
.
token
}
})
Vue
.
prototype
.
$http_merchant
=
new
common
.
Http
({
response
,
request
:
request_merchant
,
sign
,
secret
,
alert
:
message
.
error
,
headers
:
{
token
:
globalState
.
session
.
token
}
})
Vue
.
prototype
.
$http_merchant
=
new
common
.
Http
({
response
,
request
:
request_merchant
,
sign
,
secret
,
alert
:
message
.
error
,
headers
:
{
token
:
globalState
.
session
.
token
}
})
...
...
src/setup/single.js
View file @
9653feb
...
@@ -27,6 +27,8 @@ export async function start() {
...
@@ -27,6 +27,8 @@ export async function start() {
var
token
=
Object
.
keys
(
urlParams
).
includes
(
'sessionId'
)
?
urlParams
.
sessionId
:
'scrm-base-0958821a-6542-474e-b057-74a1192a25f2-rop'
var
token
=
Object
.
keys
(
urlParams
).
includes
(
'sessionId'
)
?
urlParams
.
sessionId
:
'scrm-base-0958821a-6542-474e-b057-74a1192a25f2-rop'
Vue
.
prototype
.
$http2
=
new
Http
({
response
,
request
:
request2
,
sign
,
secret
,
alert
:
message
.
error
,
headers
:
{
token
}
})
Vue
.
prototype
.
$http2
=
new
Http
({
response
,
request
:
request2
,
sign
,
secret
,
alert
:
message
.
error
,
headers
:
{
token
}
})
Vue
.
prototype
.
$http
=
new
Http
({
response
,
request
,
sign
,
secret
,
alert
:
message
.
error
,
headers
:
{
token
:
token
}
})
Vue
.
prototype
.
$http
=
new
Http
({
response
,
request
,
sign
,
secret
,
alert
:
message
.
error
,
headers
:
{
token
:
token
}
})
// 集团版集团账号
Vue
.
prototype
.
$isGroupUp
=
false
Vue
.
use
(
GLButton
,
{
permissions
:
[
'1-1-1-1'
,
'2-1-1-1'
,
'3-1-1-1'
]
})
Vue
.
use
(
GLButton
,
{
permissions
:
[
'1-1-1-1'
,
'2-1-1-1'
,
'3-1-1-1'
]
})
Vue
.
prototype
.
$common
=
{
utils
:
utils
}
Vue
.
prototype
.
$common
=
{
utils
:
utils
}
render
(
'/'
,
routes
)
render
(
'/'
,
routes
)
...
...
src/views/couponManage/editCashCoupon.vue
View file @
9653feb
...
@@ -108,8 +108,10 @@
...
@@ -108,8 +108,10 @@
</
template
>
</
template
>
<!-- 库存,集团版集团账号-无限制库存;其他-输入框 -->
<!-- 库存,集团版集团账号-无限制库存;其他-输入框 -->
<
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>
<el-input
v-else
class=
"w-150"
v-model=
"editForm[scope.scope.name]"
placeholder=
"请输入库存"
>
<span
slot=
"suffix"
>
张
</span>
</el-input>
</
template
>
</
template
>
<!-- 只有使用途径为线上商品时才有效,到店核销时屏蔽 -->
<!-- 只有使用途径为线上商品时才有效,到店核销时屏蔽 -->
<
template
slot=
"goodsHtml"
>
<
template
slot=
"goodsHtml"
>
...
@@ -138,7 +140,7 @@
...
@@ -138,7 +140,7 @@
<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>
...
@@ -164,8 +166,6 @@ export default {
...
@@ -164,8 +166,6 @@ export default {
userDisable
:
false
,
userDisable
:
false
,
size
:
'small'
,
size
:
'small'
,
title
:
'创建'
,
title
:
'创建'
,
// 集团版集团账号
isGroupUp
:
false
,
footerLeft
:
'0'
,
footerLeft
:
'0'
,
footerWidth
:
'0'
,
footerWidth
:
'0'
,
editChildRef
:
'editChildRef'
,
editChildRef
:
'editChildRef'
,
...
@@ -337,16 +337,14 @@ export default {
...
@@ -337,16 +337,14 @@ export default {
confId
:
'2'
,
confId
:
'2'
,
confName
:
'旗下同品牌店通用(根据客户绑定车辆品牌自动筛选出适用门店)'
confName
:
'旗下同品牌店通用(根据客户绑定车辆品牌自动筛选出适用门店)'
}
}
]
,
]
}
}
]
]
}
}
},
},
created
()
{
created
()
{
this
.
userInfo
=
this
.
$globalState
.
session
this
.
editRule
.
stock
[
0
].
required
=
!
this
.
$isGroupUp
this
.
isGroupUp
=
this
.
userInfo
.
merchantModel
==
1
&&
this
.
userInfo
.
accountLevel
!=
4
this
.
editRule
.
stock
[
0
].
required
=
!
this
.
isGroupUp
},
},
mounted
()
{
mounted
()
{
...
@@ -720,7 +718,7 @@ export default {
...
@@ -720,7 +718,7 @@ export default {
this
.
validateRules
()
this
.
validateRules
()
this
.
$refs
.
editFormRef
.
$refs
[
this
.
editChildRef
].
validate
(
valid
=>
{
this
.
$refs
.
editFormRef
.
$refs
[
this
.
editChildRef
].
validate
(
valid
=>
{
var
merchantval
=
true
var
merchantval
=
true
if
(
this
.
isGroupUp
)
{
if
(
this
.
$
isGroupUp
)
{
this
.
$refs
.
merchantRef
.
$refs
[
this
.
editChildRef
].
validate
(
merchantVaild
=>
{
this
.
$refs
.
merchantRef
.
$refs
[
this
.
editChildRef
].
validate
(
merchantVaild
=>
{
this
.
merchantval
=
merchantVaild
this
.
merchantval
=
merchantVaild
})
})
...
@@ -880,10 +878,6 @@ export default {
...
@@ -880,10 +878,6 @@ export default {
margin-top
:
8px
;
margin-top
:
8px
;
}
}
.w-150
{
width
:
150px
;
}
.link-top
{
.link-top
{
width
:
227px
;
width
:
227px
;
height
:
1px
;
height
:
1px
;
...
...
src/views/couponManage/editDiscountCoupon.vue
View file @
9653feb
...
@@ -121,8 +121,10 @@
...
@@ -121,8 +121,10 @@
</
template
>
</
template
>
<!-- 库存,集团版集团账号-无限制库存;其他-输入框 -->
<!-- 库存,集团版集团账号-无限制库存;其他-输入框 -->
<
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>
<el-input
v-else
class=
"w-150"
v-model=
"editForm[scope.scope.name]"
placeholder=
"请输入库存"
>
<span
slot=
"suffix"
>
张
</span>
</el-input>
</
template
>
</
template
>
<
template
slot=
"useDescriptionHtml"
>
<
template
slot=
"useDescriptionHtml"
>
<el-input
type=
"textarea"
v-model=
"editForm.useDescription"
style=
"width: 320px"
:autosize=
"
{ minRows: 2, maxRows: 4 }" maxlength="200" :disabled="userDisable" />
<el-input
type=
"textarea"
v-model=
"editForm.useDescription"
style=
"width: 320px"
:autosize=
"
{ minRows: 2, maxRows: 4 }" maxlength="200" :disabled="userDisable" />
...
@@ -131,7 +133,7 @@
...
@@ -131,7 +133,7 @@
<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>
...
@@ -160,8 +162,6 @@ export default {
...
@@ -160,8 +162,6 @@ export default {
1
:
'创建晒单'
,
1
:
'创建晒单'
,
2
:
'编辑晒单'
2
:
'编辑晒单'
},
},
// 集团版集团账号
isGroupUp
:
false
,
footerLeft
:
'0'
,
footerLeft
:
'0'
,
footerWidth
:
'0'
,
footerWidth
:
'0'
,
editChildRef
:
'editChildRef'
,
editChildRef
:
'editChildRef'
,
...
@@ -291,16 +291,14 @@ export default {
...
@@ -291,16 +291,14 @@ export default {
confId
:
'2'
,
confId
:
'2'
,
confName
:
'旗下同品牌店通用(根据客户绑定车辆品牌自动筛选出适用门店)'
confName
:
'旗下同品牌店通用(根据客户绑定车辆品牌自动筛选出适用门店)'
}
}
]
,
]
}
}
]
]
}
}
},
},
created
()
{
created
()
{
this
.
userInfo
=
this
.
$globalState
.
session
this
.
editRule
.
stock
[
0
].
required
=
!
this
.
$isGroupUp
this
.
isGroupUp
=
this
.
userInfo
.
merchantModel
==
1
&&
this
.
userInfo
.
accountLevel
!=
4
this
.
editRule
.
stock
[
0
].
required
=
!
this
.
isGroupUp
},
},
mounted
()
{
mounted
()
{
...
@@ -511,7 +509,7 @@ export default {
...
@@ -511,7 +509,7 @@ export default {
this
.
validateRules
()
this
.
validateRules
()
this
.
$refs
.
editFormRef
.
$refs
[
this
.
editChildRef
].
validate
(
valid
=>
{
this
.
$refs
.
editFormRef
.
$refs
[
this
.
editChildRef
].
validate
(
valid
=>
{
var
merchantval
=
true
var
merchantval
=
true
if
(
this
.
isGroupUp
)
{
if
(
this
.
$
isGroupUp
)
{
this
.
$refs
.
merchantRef
.
$refs
[
this
.
editChildRef
].
validate
(
merchantVaild
=>
{
this
.
$refs
.
merchantRef
.
$refs
[
this
.
editChildRef
].
validate
(
merchantVaild
=>
{
this
.
merchantval
=
merchantVaild
this
.
merchantval
=
merchantVaild
})
})
...
...
src/views/couponManage/editExchangeCoupon.vue
View file @
9653feb
...
@@ -56,8 +56,10 @@
...
@@ -56,8 +56,10 @@
<glsx-combi-form
class=
"edit-form-container"
ref=
"editFormRef"
:isEdit=
"true"
:isBlock=
"true"
:formRef=
"editChildRef"
:formObj=
"editForm"
:formData=
"editFormData"
:formRules=
"editRule"
>
<glsx-combi-form
class=
"edit-form-container"
ref=
"editFormRef"
:isEdit=
"true"
:isBlock=
"true"
:formRef=
"editChildRef"
:formObj=
"editForm"
:formData=
"editFormData"
:formRules=
"editRule"
>
<!-- 库存,集团版集团账号-无限制库存;其他-输入框 -->
<!-- 库存,集团版集团账号-无限制库存;其他-输入框 -->
<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>
<el-input
v-else
class=
"w-150"
v-model=
"editForm[scope.scope.name]"
placeholder=
"请输入库存"
>
<span
slot=
"suffix"
>
张
</span>
</el-input>
</
template
>
</
template
>
<
template
slot=
"directionalFlagHtml"
>
<
template
slot=
"directionalFlagHtml"
>
<div>
<div>
...
@@ -94,7 +96,7 @@
...
@@ -94,7 +96,7 @@
<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>
...
@@ -123,8 +125,6 @@ export default {
...
@@ -123,8 +125,6 @@ export default {
1
:
'创建晒单'
,
1
:
'创建晒单'
,
2
:
'编辑晒单'
2
:
'编辑晒单'
},
},
// 集团版集团账号
isGroupUp
:
false
,
footerLeft
:
'0'
,
footerLeft
:
'0'
,
footerWidth
:
'0'
,
footerWidth
:
'0'
,
editChildRef
:
'editChildRef'
,
editChildRef
:
'editChildRef'
,
...
@@ -244,9 +244,7 @@ export default {
...
@@ -244,9 +244,7 @@ export default {
},
},
created
()
{
created
()
{
this
.
userInfo
=
this
.
$globalState
.
session
this
.
editRule
.
stock
[
0
].
required
=
!
this
.
$isGroupUp
this
.
isGroupUp
=
this
.
userInfo
.
merchantModel
==
1
&&
this
.
userInfo
.
accountLevel
!=
4
this
.
editRule
.
stock
[
0
].
required
=
!
this
.
isGroupUp
},
},
mounted
()
{
mounted
()
{
...
@@ -415,7 +413,7 @@ export default {
...
@@ -415,7 +413,7 @@ export default {
this
.
validateRules
()
this
.
validateRules
()
this
.
$refs
.
editFormRef
.
$refs
[
this
.
editChildRef
].
validate
(
valid
=>
{
this
.
$refs
.
editFormRef
.
$refs
[
this
.
editChildRef
].
validate
(
valid
=>
{
var
merchantval
=
true
var
merchantval
=
true
if
(
this
.
isGroupUp
)
{
if
(
this
.
$
isGroupUp
)
{
this
.
$refs
.
merchantRef
.
$refs
[
this
.
editChildRef
].
validate
(
merchantVaild
=>
{
this
.
$refs
.
merchantRef
.
$refs
[
this
.
editChildRef
].
validate
(
merchantVaild
=>
{
this
.
merchantval
=
merchantVaild
this
.
merchantval
=
merchantVaild
})
})
...
...
src/views/couponManage/editMemberService.vue
View file @
9653feb
...
@@ -42,10 +42,21 @@
...
@@ -42,10 +42,21 @@
</el-form-item>
</el-form-item>
</el-radio>
</el-radio>
</
template
>
</
template
>
<!-- 库存,集团版集团账号-无限制库存;其他-输入框 -->
<
template
slot=
"stock"
slot-scope=
"scope"
>
<span
v-if=
"$isGroupUp"
>
无库存限制
</span>
<el-input
v-else
class=
"w-150"
v-model=
"editForm[scope.scope.name]"
placeholder=
"请输入库存"
>
<span
slot=
"suffix"
>
张
</span>
</el-input>
</
template
>
<
template
slot=
"useDescriptionHtml"
>
<
template
slot=
"useDescriptionHtml"
>
<el-input
type=
"textarea"
v-model=
"editForm.useDescription"
style=
"width: 320px"
:autosize=
"
{ minRows: 2, maxRows: 4 }" maxlength="200" :disabled="apear == 'couponSee'" />
<el-input
type=
"textarea"
v-model=
"editForm.useDescription"
style=
"width: 320px"
:autosize=
"
{ minRows: 2, maxRows: 4 }" maxlength="200" :disabled="apear == 'couponSee'" />
</
template
>
</
template
>
</glsx-combi-form>
</glsx-combi-form>
<div
v-if=
"$isGroupUp"
>
<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>
</div>
</div>
</div>
<!-- <div class="left_show">
<!-- <div class="left_show">
<div class="card-panel-top">
<div class="card-panel-top">
...
@@ -156,18 +167,46 @@ export default {
...
@@ -156,18 +167,46 @@ export default {
{
{
label
:
'库存'
,
label
:
'库存'
,
name
:
'stock'
,
name
:
'stock'
,
width
:
'150px'
,
addHtml
:
'stock'
type
:
'input'
// width: '150px',
// type: 'input'
},
},
{
{
label
:
'使用说明'
,
label
:
'使用说明'
,
name
:
'useDescription'
,
name
:
'useDescription'
,
addHtml
:
'useDescriptionHtml'
addHtml
:
'useDescriptionHtml'
}
}
],
// 适用门店
merchantRule
:
{
merchantRadio
:
[{
required
:
true
,
message
:
'请选择适用范围'
,
trigger
:
'change'
}]
},
merchantEditFormData
:
[
{
label
:
'适用范围'
,
name
:
'merchantRadio'
,
type
:
'radio'
,
optionId
:
'confId'
,
optionLabel
:
'confName'
,
optionList
:
[
{
confId
:
'1'
,
confName
:
'旗下所有店通用'
},
{
confId
:
'2'
,
confName
:
'旗下同品牌店通用(根据客户绑定车辆品牌自动筛选出适用门店)'
}
]
}
]
]
}
}
},
},
created
()
{
this
.
editRule
.
stock
[
0
].
required
=
!
this
.
$isGroupUp
},
mounted
()
{
mounted
()
{
this
.
footerLeft
=
document
.
querySelector
(
'.base-container-right'
).
offsetLeft
this
.
footerLeft
=
document
.
querySelector
(
'.base-container-right'
).
offsetLeft
this
.
footerWidth
=
document
.
documentElement
.
clientWidth
-
this
.
footerLeft
this
.
footerWidth
=
document
.
documentElement
.
clientWidth
-
this
.
footerLeft
...
@@ -335,7 +374,13 @@ export default {
...
@@ -335,7 +374,13 @@ export default {
handleConfirm
()
{
handleConfirm
()
{
this
.
validateRules
()
this
.
validateRules
()
this
.
$refs
.
editFormRef
.
$refs
[
this
.
editChildRef
].
validate
(
valid
=>
{
this
.
$refs
.
editFormRef
.
$refs
[
this
.
editChildRef
].
validate
(
valid
=>
{
if
(
valid
)
{
var
merchantval
=
true
if
(
this
.
$isGroupUp
)
{
this
.
$refs
.
merchantRef
.
$refs
[
this
.
editChildRef
].
validate
(
merchantVaild
=>
{
this
.
merchantval
=
merchantVaild
})
}
if
(
valid
&&
merchantval
)
{
var
params
=
this
.
getCouponInfoParams
()
var
params
=
this
.
getCouponInfoParams
()
let
method
=
''
let
method
=
''
if
(
params
.
couponId
)
{
if
(
params
.
couponId
)
{
...
...
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