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
9c5d971e
Commit
9c5d971e
authored
Jul 15, 2021
by
罗超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增停课
parent
65ce850f
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
512 additions
and
9 deletions
+512
-9
stopbill-form.vue
src/components/sale/stopbill-form.vue
+484
-0
stopLessonForm.vue
src/components/teacher/stopLessonForm.vue
+15
-7
changeClassManager.vue
src/pages/teacher/changeClassManager.vue
+13
-2
No files found.
src/components/sale/stopbill-form.vue
0 → 100644
View file @
9c5d971e
This diff is collapsed.
Click to expand it.
src/components/teacher/stopLessonForm.vue
View file @
9c5d971e
...
@@ -8,9 +8,10 @@
...
@@ -8,9 +8,10 @@
<div
class=
"text-caption q-mb-lg q-px-md text-grey-6"
>
基本资料
</div>
<div
class=
"text-caption q-mb-lg q-px-md text-grey-6"
>
基本资料
</div>
<div
class=
"col flex items-center"
>
<div
class=
"col flex items-center"
>
<div
class=
"col-2 text-grey-6"
>
<div
class=
"col-2 text-grey-6"
>
选择停课
开始时间
:
选择停课
生效日期
:
</div>
</div>
<el-date-picker
v-model=
"msg.TakeEffectTime"
value-format=
"yyyy-MM-dd"
type=
"date"
placeholder=
"选择日期"
>
<el-date-picker
v-model=
"msg.TakeEffectTime"
value-format=
"yyyy-MM-dd"
type=
"date"
placeholder=
"选择日期"
:picker-options=
"pickeroptions"
>
</el-date-picker>
</el-date-picker>
</div>
</div>
<q-input
filled
type=
"textarea"
:rows=
"3"
style=
"margin-top:20px;"
stack-label
maxlength=
"2000"
<q-input
filled
type=
"textarea"
:rows=
"3"
style=
"margin-top:20px;"
stack-label
maxlength=
"2000"
...
@@ -46,8 +47,14 @@
...
@@ -46,8 +47,14 @@
CourseId
:
0
,
CourseId
:
0
,
OrderGuestId
:
0
,
OrderGuestId
:
0
,
TakeEffectTime
:
""
,
TakeEffectTime
:
""
,
OldStudentStatus
:
0
,
Remarks
:
""
Remarks
:
""
},
},
pickeroptions
:
{
disabledDate
(
time
)
{
return
time
.
getTime
()
<=
Date
.
now
()
-
8.64e7
;
}
},
}
}
},
},
mounted
()
{
mounted
()
{
...
@@ -55,6 +62,7 @@
...
@@ -55,6 +62,7 @@
this
.
msg
.
ClassId
=
this
.
setObj
.
ClassId
this
.
msg
.
ClassId
=
this
.
setObj
.
ClassId
this
.
msg
.
CourseId
=
this
.
setObj
.
CourseId
this
.
msg
.
CourseId
=
this
.
setObj
.
CourseId
this
.
msg
.
OrderGuestId
=
this
.
setObj
.
Id
this
.
msg
.
OrderGuestId
=
this
.
setObj
.
Id
this
.
msg
.
OldStudentStatus
=
this
.
setObj
.
GuestState
}
}
console
.
log
(
57
,
this
.
msg
)
console
.
log
(
57
,
this
.
msg
)
},
},
...
@@ -68,7 +76,7 @@
...
@@ -68,7 +76,7 @@
this
.
$q
.
notify
({
this
.
$q
.
notify
({
type
:
'negative'
,
type
:
'negative'
,
position
:
"top"
,
position
:
"top"
,
message
:
`请选择停课
开始时间
`
message
:
`请选择停课
生效日期:
`
})
})
return
return
}
}
...
@@ -80,17 +88,17 @@
...
@@ -80,17 +88,17 @@
})
})
return
return
}
}
this
.
saveLoading
=
true
this
.
saveLoading
=
true
setStopClassApply
(
this
.
msg
).
then
(
res
=>
{
setStopClassApply
(
this
.
msg
).
then
(
res
=>
{
this
.
saveLoading
=
false
this
.
saveLoading
=
false
if
(
res
.
Code
===
1
)
{
if
(
res
.
Code
===
1
)
{
this
.
$message
.
success
(
"操作成功"
)
this
.
$message
.
success
(
"操作成功"
)
this
.
$emit
(
"success"
)
this
.
$emit
(
"success"
)
}
else
{
}
else
{
this
.
$message
.
error
(
res
.
Message
)
this
.
$message
.
error
(
res
.
Message
)
}
}
}).
catch
(
err
=>
{
}).
catch
(
err
=>
{
this
.
saveLoading
=
false
this
.
saveLoading
=
false
})
})
}
}
},
},
...
...
src/pages/teacher/changeClassManager.vue
View file @
9c5d971e
...
@@ -115,6 +115,9 @@
...
@@ -115,6 +115,9 @@
<changebill-form
v-if=
"isShowChangeBillForm"
:seting-obj=
"billObj"
:showType=
"showType"
@
close=
"closeBillForm"
<changebill-form
v-if=
"isShowChangeBillForm"
:seting-obj=
"billObj"
:showType=
"showType"
@
close=
"closeBillForm"
@
success=
"refreshPage"
>
@
success=
"refreshPage"
>
</changebill-form>
</changebill-form>
<stopbill-form
v-if=
"isShowStopBillForm"
:seting-obj=
"billObj"
:showType=
"showType"
@
close=
"closeBillForm"
@
success=
"refreshPage"
>
</stopbill-form>
</div>
</div>
</div>
</div>
</template>
</template>
...
@@ -127,7 +130,7 @@
...
@@ -127,7 +130,7 @@
import
backbillForm
from
'../../components/sale/backbill-form'
;
import
backbillForm
from
'../../components/sale/backbill-form'
;
import
changebillForm
from
'../../components/sale/changebill-form'
;
import
changebillForm
from
'../../components/sale/changebill-form'
;
import
stopbillForm
from
'../../components/sale/stopbill-form'
;
import
createbackbillForm
from
'../../components/sale/createbackbill-form'
;
import
createbackbillForm
from
'../../components/sale/createbackbill-form'
;
export
default
{
export
default
{
meta
:
{
meta
:
{
...
@@ -136,7 +139,8 @@
...
@@ -136,7 +139,8 @@
components
:
{
components
:
{
backbillForm
,
backbillForm
,
createbackbillForm
,
createbackbillForm
,
changebillForm
changebillForm
,
stopbillForm
},
},
data
()
{
data
()
{
return
{
return
{
...
@@ -222,6 +226,8 @@
...
@@ -222,6 +226,8 @@
billObj
:
{},
//单据信息
billObj
:
{},
//单据信息
showType
:
1
,
//1-查看,2-审核
showType
:
1
,
//1-查看,2-审核
OrderTypeList
:
[],
OrderTypeList
:
[],
isShowStopBillForm
:
false
,
}
}
},
},
created
()
{
created
()
{
...
@@ -254,6 +260,7 @@
...
@@ -254,6 +260,7 @@
this
.
isShowBillForm
=
false
;
this
.
isShowBillForm
=
false
;
this
.
isShowChangeBillForm
=
false
;
this
.
isShowChangeBillForm
=
false
;
this
.
isShowCreateBillForm
=
false
;
this
.
isShowCreateBillForm
=
false
;
this
.
isShowStopBillForm
=
false
this
.
billObj
=
{};
this
.
billObj
=
{};
},
},
//显示表单
//显示表单
...
@@ -265,6 +272,10 @@
...
@@ -265,6 +272,10 @@
//退课
//退课
else
if
(
item
.
ReceiptType
==
2
)
{
else
if
(
item
.
ReceiptType
==
2
)
{
this
.
isShowBillForm
=
true
;
this
.
isShowBillForm
=
true
;
}
//停课
else
if
(
item
.
ReceiptType
==
3
)
{
this
.
isShowStopBillForm
=
true
;
}
}
this
.
showType
=
type
;
this
.
showType
=
type
;
this
.
billObj
=
item
;
this
.
billObj
=
item
;
...
...
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