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 d0167691
authored
Aug 16, 2022
by
wuwx
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改新建服务券创建方法
1 parent
64585f67
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
1 deletions
src/views/couponManage/editMemberService.vue
src/views/couponManage/editMemberService.vue
View file @
d016769
...
@@ -209,6 +209,7 @@ export default {
...
@@ -209,6 +209,7 @@ export default {
},
1000
)
},
1000
)
}
}
return
{
return
{
clickStatus
:
false
,
isEdit
:
false
,
isEdit
:
false
,
showSubmit
:
true
,
showSubmit
:
true
,
disabledDescription
:
false
,
disabledDescription
:
false
,
...
@@ -402,7 +403,8 @@ export default {
...
@@ -402,7 +403,8 @@ export default {
},
},
submitForm
(
formName
)
{
submitForm
(
formName
)
{
this
.
sloading
=
true
if
(
this
.
clickStatus
)
return
this
.
clickStatus
=
true
this
.
$refs
[
formName
].
validate
((
valid
,
errorObj
)
=>
{
this
.
$refs
[
formName
].
validate
((
valid
,
errorObj
)
=>
{
var
merchantval
=
true
var
merchantval
=
true
var
merchantErrorObj
=
[]
var
merchantErrorObj
=
[]
...
@@ -430,6 +432,7 @@ export default {
...
@@ -430,6 +432,7 @@ export default {
},
},
//创建服务
//创建服务
createService
()
{
createService
()
{
this
.
sloading
=
true
let
params
=
{
let
params
=
{
effectiveDays
:
''
,
effectiveDays
:
''
,
useAmount
:
''
,
useAmount
:
''
,
...
@@ -505,10 +508,12 @@ export default {
...
@@ -505,10 +508,12 @@ export default {
})
})
.
finally
(()
=>
{
.
finally
(()
=>
{
this
.
sloading
=
false
this
.
sloading
=
false
this
.
clickStatus
=
false
})
})
},
},
//更新服务
//更新服务
updateService
()
{
updateService
()
{
this
.
sloading
=
true
let
param
=
{}
let
param
=
{}
param
.
anticipatedCost
=
this
.
ruleForm
.
anticipatedCost
*
100
param
.
anticipatedCost
=
this
.
ruleForm
.
anticipatedCost
*
100
param
.
discountType
=
7
param
.
discountType
=
7
...
@@ -531,6 +536,7 @@ export default {
...
@@ -531,6 +536,7 @@ export default {
})
})
.
finally
(()
=>
{
.
finally
(()
=>
{
this
.
sloading
=
false
this
.
sloading
=
false
this
.
clickStatus
=
false
})
})
},
},
...
...
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