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
f2e99ac2
Commit
f2e99ac2
authored
May 16, 2022
by
黄奎
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/luochao/confucius
parents
e2a58853
f5bd8001
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
23 additions
and
38 deletions
+23
-38
order-form.vue
src/components/school/student/transfer-order/order-form.vue
+4
-16
yueke.vue
src/components/school/student/transfer-order/yueke.vue
+19
-22
No files found.
src/components/school/student/transfer-order/order-form.vue
View file @
f2e99ac2
...
...
@@ -696,18 +696,10 @@ export default {
};
},
computed
:
{
// CourseCalculation(){
// return this.courseInformationList.forEach(item=>{return item})
// }
},
watch
:
{
// CourseCalculation:{
// handler(val, oldVal) {
// console.log(val,'====')
// this.totalCourseFee()
// },
// deep: true,
// },
},
created
()
{
if
(
this
.
saveObj
&&
this
.
saveObj
.
CourseId
)
{
...
...
@@ -777,7 +769,7 @@ export default {
// NormalCommission:'',//正常返佣金额
// RenewCommission:"",// 预计返佣金额
ScrollSchoolId
:
-
1
,
// UnitPrice:0
OrderType
:
1
}
if
(
item
.
CourseName
){
dataObj
.
CourseName
=
item
.
CourseName
...
...
@@ -1172,7 +1164,6 @@ export default {
if(this.selectedCourseList.length>1){
this.multipleAppointmentsFun()
}else{
return
this.singleAppointmentsFun()
}
},
...
...
@@ -1181,12 +1172,9 @@ export default {
//插班验证课程和生效时间
this.courseInformationList.forEach(item=>{
item.StuIds = this.stuData.StuList.map(e => e.StuId).toString();
item.HelpEnterId = this.OrderMsg.HelpEnterId
item.CustomerId = this.stuData.CustomerId;
})
console.log(this.courseInformationList,'======')
// this.$emit("success");
// this.$emit("cancelloading"); //取消按钮的加载
// return
let Msg = {
OrderList: this.courseInformationList
}
...
...
src/components/school/student/transfer-order/yueke.vue
View file @
f2e99ac2
...
...
@@ -41,7 +41,7 @@
</div>
<div
class=
"col-4"
>
<p
class=
"yueke-title"
>
已选:
</p>
<p
class=
"yueke-CourseName"
v-for=
"(item,index) in select
ed
"
>
<p
class=
"yueke-CourseName"
v-for=
"(item,index) in select
ion
"
>
<span>
{{
index
+
1
}}
、
</span>
{{
item
.
CourseName
}}
</p>
...
...
@@ -53,7 +53,8 @@
-->
<q-table
:pagination=
"msg"
selection=
"multiple"
:selected
.
sync=
"selection"
no-data-label=
"暂无相关数据"
flat
class=
"sticky-tow-column-table sticky-two-header-table"
...
...
@@ -63,11 +64,9 @@
row-key=
"ClassId"
@
update:selected=
"emitSel"
:selected-rows-label=
"getSelectedString"
selection=
"multiple"
:selected
.
sync=
"selected"
table-class=
"table"
>
<
!--
<
template
v-slot:body-cell-CourseName=
"props"
>
<template
v-slot:body-cell-CourseName=
"props"
>
<q-td
:props=
"props"
>
{{
props
.
row
.
CourseName
}}
</q-td>
...
...
@@ -81,7 +80,7 @@
:input=
"true"
@
input=
"changePage"
/>
</
template
>
-->
</
template
>
</q-table>
</div>
</template>
...
...
@@ -110,34 +109,34 @@ export default {
},
data
()
{
return
{
select
ed
:
[],
select
ion
:
[],
columns
:
[
{
name
:
"CourseName"
,
required
:
true
,
label
:
"课程"
,
align
:
"left"
,
field
:
row
=>
row
.
CourseName
,
format
:
val
=>
`
${
val
}
`
,
sortable
:
true
field
:
"CourseName"
,
align
:
"left"
},
{
name
:
"CourseSubjectName"
,
required
:
true
,
label
:
"所属科目"
,
align
:
"left"
,
field
:
row
=>
row
.
CourseSubjectName
,
format
:
val
=>
`
${
val
}
`
,
sortable
:
true
field
:
row
=>
row
.
CourseSubjectName
},
// {
// name: "CateName",
// required: true,
// label: "系列",
// align: "left",
// field: row => row.CateName
// },
{
name
:
"SellPrice"
,
required
:
true
,
label
:
"直客价"
,
align
:
"left"
,
field
:
row
=>
row
.
SellPrice
.
toFixed
(
2
),
format
:
val
=>
`
${
val
}
`
,
sortable
:
true
field
:
row
=>
row
.
SellPrice
.
toFixed
(
2
)
}
],
// msg: {
...
...
@@ -180,7 +179,7 @@ export default {
};
},
mounted
()
{
this
.
select
ed
=
this
.
select
;
this
.
select
ion
=
this
.
select
;
this
.
getCourseList
();
this
.
queryCourseSubject
();
// this.getCategorytree();
...
...
@@ -188,9 +187,7 @@ export default {
methods
:
{
// 多选
getSelectedString
()
{
return
this
.
selected
.
length
===
0
?
''
:
`
${
this
.
selected
.
length
}
record
${
this
.
selected
.
length
>
1
?
's'
:
''
}
selected of
${
this
.
dataList
.
length
}
`
return
this
.
selection
.
length
===
0
?
''
:
`
${
this
.
selection
.
length
}
record
${
this
.
selection
.
length
>
1
?
's'
:
''
}
selected of
${
this
.
dataList
.
length
}
`
},
emitSel
(
val
)
{
this
.
$emit
(
"select"
,
val
);
...
...
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