Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
confucius
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
罗超
confucius
Commits
a0fd4e6e
Commit
a0fd4e6e
authored
Dec 29, 2021
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
3ac22c29
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
courseprice-form.vue
src/components/course/courseprice-form.vue
+6
-5
No files found.
src/components/course/courseprice-form.vue
View file @
a0fd4e6e
...
...
@@ -590,6 +590,7 @@
//首次优惠
var
Count
=
''
var
currentPrice
=
Number
(
100
-
this
.
priceObj
.
courseObj
.
B2CRatio
)
*
this
.
priceObj
.
courseObj
.
SellPrice
/
100
;
var
currrntXufei
=
Number
(
100
-
this
.
priceObj
.
courseObj
.
B2CReNewRatio
)
*
this
.
priceObj
.
courseObj
.
SellPrice
/
100
;
if
(
type
==
3
)
{
if
(
this
.
priceObj
.
courseObj
.
B2BRebateRatio
)
{
let
num
=
currentPrice
*
Number
(
this
.
priceObj
.
courseObj
.
B2BRebateRatio
)
/
100
;
...
...
@@ -599,7 +600,7 @@
}
if
(
type
==
4
)
{
if
(
this
.
priceObj
.
courseObj
.
B2BReNewRatio
)
{
let
num
=
curr
entPrice
*
Number
(
this
.
priceObj
.
courseObj
.
B2BReNewRatio
)
/
100
;
let
num
=
curr
rntXufei
*
Number
(
this
.
priceObj
.
courseObj
.
B2BReNewRatio
)
/
100
;
Count
=
num
.
toFixed
(
2
);
return
Count
;
}
...
...
@@ -613,7 +614,7 @@
}
if
(
type
==
6
)
{
if
(
this
.
priceObj
.
courseObj
.
SchoolReNewRatio
)
{
let
num
=
curr
entPrice
*
Number
(
this
.
priceObj
.
courseObj
.
SchoolReNewRatio
)
/
100
;
let
num
=
curr
rntXufei
*
Number
(
this
.
priceObj
.
courseObj
.
SchoolReNewRatio
)
/
100
;
Count
=
num
.
toFixed
(
2
);
return
Count
;
}
...
...
@@ -627,7 +628,7 @@
}
if
(
type
==
8
)
{
if
(
this
.
priceObj
.
courseObj
.
TransIntroductceReNewRatio
)
{
let
num
=
curr
entPrice
*
Number
(
this
.
priceObj
.
courseObj
.
TransIntroductceReNewRatio
)
/
100
;
let
num
=
curr
rntXufei
*
Number
(
this
.
priceObj
.
courseObj
.
TransIntroductceReNewRatio
)
/
100
;
Count
=
num
.
toFixed
(
2
);
return
Count
;
}
...
...
@@ -641,7 +642,7 @@
}
if
(
type
==
10
)
{
if
(
this
.
priceObj
.
courseObj
.
InnerRecommendReNewRatio
)
{
let
num
=
curr
entPrice
*
Number
(
this
.
priceObj
.
courseObj
.
InnerRecommendReNewRatio
)
/
100
;
let
num
=
curr
rntXufei
*
Number
(
this
.
priceObj
.
courseObj
.
InnerRecommendReNewRatio
)
/
100
;
Count
=
num
.
toFixed
(
2
);
return
Count
;
}
...
...
@@ -655,7 +656,7 @@
}
if
(
type
==
12
)
{
if
(
this
.
priceObj
.
courseObj
.
B2CRNRatio
)
{
let
num
=
curr
entPrice
*
Number
(
this
.
priceObj
.
courseObj
.
B2CRNRatio
)
/
100
;
let
num
=
curr
rntXufei
*
Number
(
this
.
priceObj
.
courseObj
.
B2CRNRatio
)
/
100
;
Count
=
num
.
toFixed
(
2
);
return
Count
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment