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
02b8b5b0
Commit
02b8b5b0
authored
Dec 14, 2021
by
罗超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
96685c4f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
35 additions
and
14 deletions
+35
-14
transfer-order.vue
src/components/school/student/transfer-order.vue
+14
-4
order-form.vue
src/components/school/student/transfer-order/order-form.vue
+21
-10
No files found.
src/components/school/student/transfer-order.vue
View file @
02b8b5b0
div
<
template
>
<
template
>
<q-dialog
v-model=
"persistent"
persistent
...
...
@@ -115,14 +115,16 @@ div<template>
</q-step>
<q-step
:name=
"2"
title=
"确认"
icon=
"settings"
:done=
"step > 2"
>
<orderForm
ref=
"orderForm"
:save-obj=
"saveObj"
:stuData=
"stuData"
:isChaBan=
"isChaBan"
@
success=
"$emit('close')"
></orderForm>
</q-step>
</q-stepper>
</q-card-section>
<q-card-actions
align=
"right"
class=
"bg-white q-mx-md"
>
<q-card-actions
align=
"right"
class=
"bg-white q-mx-md
"
>
<q-btn
label=
"取消"
flat
...
...
@@ -137,7 +139,7 @@ div<template>
v-if=
"step > 1"
/>
<q-btn
@
click=
"next"
color=
"primary"
label=
"下一步"
v-if=
"step < 2"
/>
<
!-- <q-btn label="保存" color="primary" @click="" v-if="step == 2" /> --
>
<
q-btn
label=
"保存"
color=
"primary"
@
click=
"saveOrderForm"
v-if=
"step == 2"
/
>
</q-card-actions>
</q-card>
</q-dialog>
...
...
@@ -373,8 +375,16 @@ export default {
resetSearch
()
{
this
.
courseMsg
.
pageIndex
=
1
;
this
.
getCourseList
();
},
saveOrderForm
(){
this
.
$refs
.
orderForm
.
saveOrderInfo
()
}
}
};
</
script
>
<
style
scoped
></
style
>
<
style
scoped
>
/
deep
/
.el-input__inner
{
background-color
:
transparent
;
border
:
none
;
}
</
style
>
src/components/school/student/transfer-order/order-form.vue
View file @
02b8b5b0
...
...
@@ -19,12 +19,17 @@
}}
</span>
</div>
</div>
-->
<div
class=
"row"
>
<div
v-for=
"(item, index) in stuData.StuList"
>
<q-chip
icon=
"person"
class=
"primary"
>
{{
item
.
StuName
}}
<span
v-if=
"item.IsRenewGuest == 1"
>
(续费)
</span>
</q-chip>
<div
class=
"row q-mb-md"
>
<div
class=
"col-10"
>
<div
v-for=
"(item, index) in stuData.StuList"
>
<q-chip
icon=
"person"
class=
"primary"
>
{{
item
.
StuName
}}
<span
v-if=
"item.IsRenewGuest == 1"
>
(续费)
</span>
</q-chip>
</div>
</div>
<div
class=
"col-2"
>
<q-toggle
v-model=
"isChaBan"
:true-value=
"1"
:false-value=
'0'
label=
"插班报入"
/>
</div>
</div>
<div
style=
"row items-center"
>
...
...
@@ -69,7 +74,6 @@
@
input=
"calcPrice()"
class=
"col-6"
label=
"起始课时"
:rules=
"[val =>!!val&&val
<0
||
'请填起始课时']"
/>
<q-input
filled
...
...
@@ -335,17 +339,16 @@
class=
"col-12"
label=
"备注"
/>
<!-- ?? -->
</div>
<
div
style=
"margin:30px 10px 70px 0;"
class=
"flex justify-end
"
>
<
!-- <div style="margin:30px 10px 70px 0;" class="flex justify-end savebtn
">
<q-btn
color="accent"
class="q-mr-md"
label="保存"
@click="saveOrderInfo()"
/>
</div>
</div>
-->
</div>
<div
...
...
@@ -398,6 +401,7 @@ export default {
data
()
{
return
{
IsShowEditOrder
:
true
,
OrderMsg
:
{
ClassId
:
0
,
//班级编号
GuestNum
:
0
,
//人数
...
...
@@ -906,3 +910,10 @@ export default {
}
};
</
script
>
<
style
>
.savebtn
{
position
:
absolute
;
bottom
:
0
;
right
:
0
;
}
</
style
>
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