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
e2932fd4
Commit
e2932fd4
authored
Dec 15, 2021
by
黄奎
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/luochao/confucius
parents
cd081268
429604d5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
7 deletions
+6
-7
editOrder-form.vue
src/components/sale/editOrder-form.vue
+4
-5
order-form.vue
src/components/school/student/transfer-order/order-form.vue
+2
-2
No files found.
src/components/sale/editOrder-form.vue
View file @
e2932fd4
...
...
@@ -278,11 +278,10 @@
guestNum
=
Number
(
this
.
OrderMsg
.
GuestNum
);
}
let
temp
=
this
.
CourseList
.
find
(
x
=>
x
.
CourseId
==
this
.
OrderMsg
.
CourseId
);
console
.
log
(
'temp'
,
temp
)
if
(
temp
)
{
this
.
courseObj
=
temp
;
var
tempDiscountMoney
=
0
;
//优惠金额
var
tempSaleRemark
=
`直客首次报名优惠比例
${
temp
.
B2CRatio
??
0
}
%
`; //备注
//
var tempSaleRemark = `直客首次报名优惠比例${ temp.B2CRatio??0 }%`; //备注
//插班课时单价
var
classHourPrice
=
temp
.
SellPrice
/
this
.
courseObj
.
ClassHours
;
var
chaBanPrice
=
Number
(
classHourPrice
*
(
this
.
courseObj
.
ClassHours
-
this
.
OrderMsg
.
StartClassHours
))
...
...
@@ -329,7 +328,7 @@
this
.
OrderMsg
.
Unit_Price
=
temp
.
SellPrice
;
this
.
UnitPrice
=
temp
.
SellPrice
;
}
this.OrderMsg.SaleRemark = tempSaleRemark;
//
this.OrderMsg.SaleRemark = tempSaleRemark;
}
else
{
if
(
this
.
saveObj
.
ClassId
)
{
this
.
OrderMsg
.
ClassId
=
this
.
saveObj
.
ClassId
;
...
...
@@ -415,7 +414,6 @@
}
})
}
else
{
this.OrderMsg.SaleRemark = ''; //清空备注
this
.
OrderMsg
.
HelpEnterId
=
0
;
this
.
OrderMsg
.
GeneralOccupation
=
''
;
this
.
OrderMsg
.
EduOccupation
=
''
;
...
...
@@ -460,15 +458,16 @@
this
.
OrderMsg
.
CourseId
=
''
;
}
if
(
this
.
saveObj
.
B2CRatio
){
this
.
OrderMsg
.
B2CRatio
=
this
.
saveObj
.
B2CRatio
>
1
?
this
.
saveObj
.
B2CRatio
/
100
:
this
.
saveObj
.
B2CRatio
;
}
if
(
this
.
saveObj
.
B2CReNewRatio
){
this
.
OrderMsg
.
B2CReNewRatio
=
this
.
saveObj
.
B2CReNewRatio
>
1
?
this
.
saveObj
.
B2CReNewRatio
/
100
:
this
.
saveObj
.
B2CReNewRatio
;
}
this
.
OrderMsg
.
SaleRemark
=
`直客首次报名优惠比例
${
this
.
saveObj
.
B2CRatio
}
%`
;
//备注
}
this
.
IsShowEditOrder
=
true
;
this
.
calcPrice
();
console.log("this.saveObj",this.saveObj)
}
},
//筛选员工
...
...
src/components/school/student/transfer-order/order-form.vue
View file @
e2932fd4
...
...
@@ -435,7 +435,6 @@ export default {
};
},
created
()
{
this
.
OrderMsg
.
IsChaBan
=
this
.
isChaBan
;
//HK2021-08-06新增
if
(
this
.
saveObj
&&
this
.
saveObj
.
CourseId
)
{
...
...
@@ -615,7 +614,8 @@ export default {
this.OrderMsg.OrderNature = 0;
this.OrderMsg.OldPreferPrice = 0;
this.OrderMsg.StartClassHours = 0;
this.OrderMsg.IsChaBan = this.isChaBan;
this.OrderMsg.IsChaBan = 0
;
this.OrderMsg.EffectTime = "";
this.OrderMsg.UpOrderId = 0;
this.OrderMsg.JoinType = 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