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
3e9cec3b
Commit
3e9cec3b
authored
Dec 16, 2021
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
1365e3f1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
courseprice-form.vue
src/components/course/courseprice-form.vue
+8
-8
No files found.
src/components/course/courseprice-form.vue
View file @
3e9cec3b
...
@@ -395,56 +395,56 @@
...
@@ -395,56 +395,56 @@
var
currentPrice
=
Number
(
100
-
this
.
priceObj
.
courseObj
.
B2CRatio
)
*
this
.
priceObj
.
courseObj
.
SellPrice
/
100
;
var
currentPrice
=
Number
(
100
-
this
.
priceObj
.
courseObj
.
B2CRatio
)
*
this
.
priceObj
.
courseObj
.
SellPrice
/
100
;
if
(
type
==
3
)
{
if
(
type
==
3
)
{
if
(
this
.
priceObj
.
courseObj
.
B2BRebateRatio
)
{
if
(
this
.
priceObj
.
courseObj
.
B2BRebateRatio
)
{
let
num
=
currentPrice
*
Number
(
100
-
this
.
priceObj
.
courseObj
.
B2BRebateRatio
)
/
100
;
let
num
=
currentPrice
*
Number
(
this
.
priceObj
.
courseObj
.
B2BRebateRatio
)
/
100
;
Count
=
num
.
toFixed
(
2
);
Count
=
num
.
toFixed
(
2
);
return
Count
;
return
Count
;
}
}
}
}
if
(
type
==
4
)
{
if
(
type
==
4
)
{
if
(
this
.
priceObj
.
courseObj
.
B2BReNewRatio
)
{
if
(
this
.
priceObj
.
courseObj
.
B2BReNewRatio
)
{
let
num
=
currentPrice
*
Number
(
100
-
this
.
priceObj
.
courseObj
.
B2BReNewRatio
)
/
100
;
let
num
=
currentPrice
*
Number
(
this
.
priceObj
.
courseObj
.
B2BReNewRatio
)
/
100
;
Count
=
num
.
toFixed
(
2
);
Count
=
num
.
toFixed
(
2
);
return
Count
;
return
Count
;
}
}
}
}
if
(
type
==
5
)
{
if
(
type
==
5
)
{
if
(
this
.
priceObj
.
courseObj
.
SchoolRebateRatio
)
{
if
(
this
.
priceObj
.
courseObj
.
SchoolRebateRatio
)
{
let
num
=
currentPrice
*
Number
(
100
-
this
.
priceObj
.
courseObj
.
SchoolRebateRatio
)
/
100
;
let
num
=
currentPrice
*
Number
(
this
.
priceObj
.
courseObj
.
SchoolRebateRatio
)
/
100
;
Count
=
num
.
toFixed
(
2
);
Count
=
num
.
toFixed
(
2
);
return
Count
;
return
Count
;
}
}
}
}
if
(
type
==
6
)
{
if
(
type
==
6
)
{
if
(
this
.
priceObj
.
courseObj
.
SchoolReNewRatio
)
{
if
(
this
.
priceObj
.
courseObj
.
SchoolReNewRatio
)
{
let
num
=
currentPrice
*
Number
(
100
-
this
.
priceObj
.
courseObj
.
SchoolReNewRatio
)
/
100
;
let
num
=
currentPrice
*
Number
(
this
.
priceObj
.
courseObj
.
SchoolReNewRatio
)
/
100
;
Count
=
num
.
toFixed
(
2
);
Count
=
num
.
toFixed
(
2
);
return
Count
;
return
Count
;
}
}
}
}
if
(
type
==
7
)
{
if
(
type
==
7
)
{
if
(
this
.
priceObj
.
courseObj
.
TransIntroductceRatio
)
{
if
(
this
.
priceObj
.
courseObj
.
TransIntroductceRatio
)
{
let
num
=
currentPrice
*
Number
(
100
-
this
.
priceObj
.
courseObj
.
TransIntroductceRatio
)
/
100
;
let
num
=
currentPrice
*
Number
(
this
.
priceObj
.
courseObj
.
TransIntroductceRatio
)
/
100
;
Count
=
num
.
toFixed
(
2
);
Count
=
num
.
toFixed
(
2
);
return
Count
;
return
Count
;
}
}
}
}
if
(
type
==
8
)
{
if
(
type
==
8
)
{
if
(
this
.
priceObj
.
courseObj
.
TransIntroductceReNewRatio
)
{
if
(
this
.
priceObj
.
courseObj
.
TransIntroductceReNewRatio
)
{
let
num
=
currentPrice
*
Number
(
100
-
this
.
priceObj
.
courseObj
.
TransIntroductceReNewRatio
)
/
100
;
let
num
=
currentPrice
*
Number
(
this
.
priceObj
.
courseObj
.
TransIntroductceReNewRatio
)
/
100
;
Count
=
num
.
toFixed
(
2
);
Count
=
num
.
toFixed
(
2
);
return
Count
;
return
Count
;
}
}
}
}
if
(
type
==
9
)
{
if
(
type
==
9
)
{
if
(
this
.
priceObj
.
courseObj
.
InnerRecommendRatio
)
{
if
(
this
.
priceObj
.
courseObj
.
InnerRecommendRatio
)
{
let
num
=
currentPrice
*
Number
(
100
-
this
.
priceObj
.
courseObj
.
InnerRecommendRatio
)
/
100
;
let
num
=
currentPrice
*
Number
(
this
.
priceObj
.
courseObj
.
InnerRecommendRatio
)
/
100
;
Count
=
num
.
toFixed
(
2
);
Count
=
num
.
toFixed
(
2
);
return
Count
;
return
Count
;
}
}
}
}
if
(
type
==
10
)
{
if
(
type
==
10
)
{
if
(
this
.
priceObj
.
courseObj
.
InnerRecommendReNewRatio
)
{
if
(
this
.
priceObj
.
courseObj
.
InnerRecommendReNewRatio
)
{
let
num
=
currentPrice
*
Number
(
100
-
this
.
priceObj
.
courseObj
.
InnerRecommendReNewRatio
)
/
100
;
let
num
=
currentPrice
*
Number
(
this
.
priceObj
.
courseObj
.
InnerRecommendReNewRatio
)
/
100
;
Count
=
num
.
toFixed
(
2
);
Count
=
num
.
toFixed
(
2
);
return
Count
;
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