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 6e155ba3
authored
Feb 25, 2022
by
周子尧
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
单位and小数后两位
1 parent
6eb494ea
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
5 deletions
src/views/couponManage/editCashCoupon.vue
src/views/couponManage/editDiscountCoupon.vue
src/views/couponManage/editExchangeCoupon.vue
src/views/memberCenter/serviceAddUpdateLook.vue
src/views/couponManage/editCashCoupon.vue
View file @
6e155ba
...
@@ -210,7 +210,7 @@ export default {
...
@@ -210,7 +210,7 @@ export default {
// index:0
// index:0
},
},
{
{
label
:
'预估成本'
,
label
:
'预估成本
/元
'
,
name
:
'anticipatedCost'
,
name
:
'anticipatedCost'
,
width
:
'320px'
,
width
:
'320px'
,
type
:
'input'
,
type
:
'input'
,
...
...
src/views/couponManage/editDiscountCoupon.vue
View file @
6e155ba
...
@@ -147,7 +147,7 @@ export default {
...
@@ -147,7 +147,7 @@ export default {
maxlength
:
20
maxlength
:
20
},
},
{
{
label
:
'预估成本'
,
label
:
'预估成本
/元
'
,
name
:
'anticipatedCost'
,
name
:
'anticipatedCost'
,
width
:
'320px'
,
width
:
'320px'
,
type
:
'input'
,
type
:
'input'
,
...
...
src/views/couponManage/editExchangeCoupon.vue
View file @
6e155ba
...
@@ -126,7 +126,7 @@ export default {
...
@@ -126,7 +126,7 @@ export default {
maxlength
:
20
maxlength
:
20
},
},
{
{
label
:
'预估成本'
,
label
:
'预估成本
/元
'
,
name
:
'anticipatedCost'
,
name
:
'anticipatedCost'
,
width
:
'320px'
,
width
:
'320px'
,
type
:
'input'
,
type
:
'input'
,
...
...
src/views/memberCenter/serviceAddUpdateLook.vue
View file @
6e155ba
...
@@ -300,7 +300,7 @@ export default {
...
@@ -300,7 +300,7 @@ export default {
params
.
couponId
=
this
.
$route
.
query
.
couponId
params
.
couponId
=
this
.
$route
.
query
.
couponId
detailService
(
params
).
then
(
res
=>
{
detailService
(
params
).
then
(
res
=>
{
this
.
ruleForm
=
res
this
.
ruleForm
=
res
this
.
ruleForm
.
anticipatedCost
=
res
.
anticipatedCost
/
100
this
.
ruleForm
.
anticipatedCost
=
(
res
.
anticipatedCost
/
100
).
toFixed
(
2
)
this
.
ruleForm
.
customUseLimit
=
res
.
useType
this
.
ruleForm
.
customUseLimit
=
res
.
useType
if
(
res
.
effectiveType
==
1
)
{
if
(
res
.
effectiveType
==
1
)
{
...
@@ -325,7 +325,7 @@ export default {
...
@@ -325,7 +325,7 @@ export default {
submitForm
(
formName
)
{
submitForm
(
formName
)
{
this
.
$refs
[
formName
].
validate
(
valid
=>
{
this
.
$refs
[
formName
].
validate
(
valid
=>
{
if
(
valid
)
{
if
(
valid
)
{
if
(
this
.
title
==
'编辑'
)
{
if
(
this
.
isEdit
==
true
)
{
this
.
updateService
()
this
.
updateService
()
}
else
{
}
else
{
this
.
createService
()
this
.
createService
()
...
...
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