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
Show 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 {
...
@@ -696,18 +696,10 @@ export default {
};
};
},
},
computed
:
{
computed
:
{
// CourseCalculation(){
// return this.courseInformationList.forEach(item=>{return item})
// }
},
},
watch
:
{
watch
:
{
// CourseCalculation:{
// handler(val, oldVal) {
// console.log(val,'====')
// this.totalCourseFee()
// },
// deep: true,
// },
},
},
created
()
{
created
()
{
if
(
this
.
saveObj
&&
this
.
saveObj
.
CourseId
)
{
if
(
this
.
saveObj
&&
this
.
saveObj
.
CourseId
)
{
...
@@ -777,7 +769,7 @@ export default {
...
@@ -777,7 +769,7 @@ export default {
// NormalCommission:'',//正常返佣金额
// NormalCommission:'',//正常返佣金额
// RenewCommission:"",// 预计返佣金额
// RenewCommission:"",// 预计返佣金额
ScrollSchoolId
:
-
1
,
ScrollSchoolId
:
-
1
,
// UnitPrice:0
OrderType
:
1
}
}
if
(
item
.
CourseName
){
if
(
item
.
CourseName
){
dataObj
.
CourseName
=
item
.
CourseName
dataObj
.
CourseName
=
item
.
CourseName
...
...
src/components/school/student/transfer-order/yueke.vue
View file @
32bd412f
...
@@ -41,7 +41,7 @@
...
@@ -41,7 +41,7 @@
</div>
</div>
<div
class=
"col-4"
>
<div
class=
"col-4"
>
<p
class=
"yueke-title"
>
已选:
</p>
<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>
<span>
{{
index
+
1
}}
、
</span>
{{
item
.
CourseName
}}
{{
item
.
CourseName
}}
</p>
</p>
...
@@ -53,7 +53,8 @@
...
@@ -53,7 +53,8 @@
-->
-->
<q-table
<q-table
:pagination=
"msg"
:pagination=
"msg"
selection=
"multiple"
:selected
.
sync=
"selection"
no-data-label=
"暂无相关数据"
no-data-label=
"暂无相关数据"
flat
flat
class=
"sticky-tow-column-table sticky-two-header-table"
class=
"sticky-tow-column-table sticky-two-header-table"
...
@@ -63,11 +64,9 @@
...
@@ -63,11 +64,9 @@
row-key=
"ClassId"
row-key=
"ClassId"
@
update:selected=
"emitSel"
@
update:selected=
"emitSel"
:selected-rows-label=
"getSelectedString"
:selected-rows-label=
"getSelectedString"
selection=
"multiple"
:selected
.
sync=
"selected"
table-class=
"table"
table-class=
"table"
>
>
<
!--
<
template
v-slot:body-cell-CourseName=
"props"
>
<template
v-slot:body-cell-CourseName=
"props"
>
<q-td
:props=
"props"
>
<q-td
:props=
"props"
>
{{
props
.
row
.
CourseName
}}
{{
props
.
row
.
CourseName
}}
</q-td>
</q-td>
...
@@ -81,7 +80,7 @@
...
@@ -81,7 +80,7 @@
:input=
"true"
:input=
"true"
@
input=
"changePage"
@
input=
"changePage"
/>
/>
</
template
>
-->
</
template
>
</q-table>
</q-table>
</div>
</div>
</template>
</template>
...
@@ -110,34 +109,34 @@ export default {
...
@@ -110,34 +109,34 @@ export default {
},
},
data
()
{
data
()
{
return
{
return
{
select
ed
:
[],
select
ion
:
[],
columns
:
[
columns
:
[
{
{
name
:
"CourseName"
,
name
:
"CourseName"
,
required
:
true
,
label
:
"课程"
,
label
:
"课程"
,
align
:
"left"
,
field
:
"CourseName"
,
field
:
row
=>
row
.
CourseName
,
align
:
"left"
format
:
val
=>
`
${
val
}
`
,
sortable
:
true
},
},
{
{
name
:
"CourseSubjectName"
,
name
:
"CourseSubjectName"
,
required
:
true
,
required
:
true
,
label
:
"所属科目"
,
label
:
"所属科目"
,
align
:
"left"
,
align
:
"left"
,
field
:
row
=>
row
.
CourseSubjectName
,
field
:
row
=>
row
.
CourseSubjectName
format
:
val
=>
`
${
val
}
`
,
sortable
:
true
},
},
// {
// name: "CateName",
// required: true,
// label: "系列",
// align: "left",
// field: row => row.CateName
// },
{
{
name
:
"SellPrice"
,
name
:
"SellPrice"
,
required
:
true
,
required
:
true
,
label
:
"直客价"
,
label
:
"直客价"
,
align
:
"left"
,
align
:
"left"
,
field
:
row
=>
row
.
SellPrice
.
toFixed
(
2
),
field
:
row
=>
row
.
SellPrice
.
toFixed
(
2
)
format
:
val
=>
`
${
val
}
`
,
sortable
:
true
}
}
],
],
// msg: {
// msg: {
...
@@ -180,7 +179,7 @@ export default {
...
@@ -180,7 +179,7 @@ export default {
};
};
},
},
mounted
()
{
mounted
()
{
this
.
select
ed
=
this
.
select
;
this
.
select
ion
=
this
.
select
;
this
.
getCourseList
();
this
.
getCourseList
();
this
.
queryCourseSubject
();
this
.
queryCourseSubject
();
// this.getCategorytree();
// this.getCategorytree();
...
@@ -188,9 +187,7 @@ export default {
...
@@ -188,9 +187,7 @@ export default {
methods
:
{
methods
:
{
// 多选
// 多选
getSelectedString
()
{
getSelectedString
()
{
return
this
.
selected
.
length
===
0
?
''
:
`
${
this
.
selected
.
length
}
return
this
.
selection
.
length
===
0
?
''
:
`
${
this
.
selection
.
length
}
record
${
this
.
selection
.
length
>
1
?
's'
:
''
}
selected of
${
this
.
dataList
.
length
}
`
record
${
this
.
selected
.
length
>
1
?
's'
:
''
}
selected of
${
this
.
dataList
.
length
}
`
},
},
emitSel
(
val
)
{
emitSel
(
val
)
{
this
.
$emit
(
"select"
,
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