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
32bd412f
Commit
32bd412f
authored
May 13, 2022
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
3a118eac
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
33 deletions
+22
-33
order-form.vue
src/components/school/student/transfer-order/order-form.vue
+3
-11
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 @
32bd412f
...
...
@@ -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
...
...
src/components/school/student/transfer-order/yueke.vue
View file @
32bd412f
...
...
@@ -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