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
3b4381e6
Commit
3b4381e6
authored
Jan 20, 2022
by
罗超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2
parent
9a9fddd5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
11 deletions
+7
-11
order-form.vue
src/components/school/student/transfer-order/order-form.vue
+7
-11
No files found.
src/components/school/student/transfer-order/order-form.vue
View file @
3b4381e6
...
...
@@ -503,9 +503,11 @@ export default {
//计算课程单价和应收金额
calcPrice
()
{
var
guestNum
=
0
;
if
(
this
.
OrderMsg
.
GuestNum
&&
this
.
OrderMsg
.
GuestNum
>
0
)
{
guestNum
=
Number
(
this
.
OrderMsg
.
GuestNum
);
}
let
temp
=
this
.
CourseList
.
find
(
x
=>
x
.
CourseId
==
this
.
OrderMsg
.
CourseId
);
...
...
@@ -618,12 +620,12 @@ export default {
if
(
e
.
IsRenewGuest
==
0
)
{
this
.
OrderMsg
.
DiscountMoney
=
this
.
accAdd
(
this
.
OrderMsg
.
DiscountMoney
,
this
.
accMul
(
this
.
OrderMsg
.
Class_Price
,
this
.
OrderMsg
.
B2CRatio
)
this
.
accMul
(
this
.
OrderMsg
.
Class_Price
,
this
.
OrderMsg
.
B2CRatio
/
100
)
);
}
else
{
this
.
OrderMsg
.
DiscountMoney
=
this
.
accAdd
(
this
.
OrderMsg
.
DiscountMoney
,
this
.
accMul
(
this
.
OrderMsg
.
Class_Price
,
this
.
OrderMsg
.
B2CReNewRatio
)
this
.
accMul
(
this
.
OrderMsg
.
Class_Price
,
this
.
OrderMsg
.
B2CReNewRatio
/
100
)
);
}
});
...
...
@@ -671,16 +673,10 @@ export default {
this
.
OrderMsg
.
CourseId
=
""
;
}
if
(
this
.
saveObj
.
B2CRatio
)
{
this
.
OrderMsg
.
B2CRatio
=
this
.
saveObj
.
B2CRatio
>
0
?
this
.
saveObj
.
B2CRatio
/
100
:
this
.
saveObj
.
B2CRatio
;
this
.
OrderMsg
.
B2CRatio
=
this
.
saveObj
.
B2CRatio
}
if
(
this
.
saveObj
.
B2CReNewRatio
)
{
this
.
OrderMsg
.
B2CReNewRatio
=
this
.
saveObj
.
B2CReNewRatio
>
0
?
this
.
saveObj
.
B2CReNewRatio
/
100
:
this
.
saveObj
.
B2CReNewRatio
;
this
.
OrderMsg
.
B2CReNewRatio
=
this
.
saveObj
.
B2CReNewRatio
}
}
this
.
IsShowEditOrder
=
true
;
...
...
@@ -726,7 +722,7 @@ export default {
getEmployee(n) {
var qMsg = {
IsLeave: 1,
UserRole:
2
UserRole:
n
};
queryEmployee(qMsg).then(res => {
if (res.Code == 1) {
...
...
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