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
e4ed9d52
Commit
e4ed9d52
authored
Dec 21, 2020
by
罗超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
08b2be3a
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
728 additions
and
760 deletions
+728
-760
money-form.vue
src/components/sale/money-form.vue
+1
-1
orderlist.vue
src/components/sale/orderlist.vue
+720
-754
classorder.vue
src/pages/course/classorder.vue
+1
-1
myOrder.vue
src/pages/sale/myOrder.vue
+1
-1
studentList.vue
src/pages/sale/studentList.vue
+5
-3
No files found.
src/components/sale/money-form.vue
View file @
e4ed9d52
...
...
@@ -96,7 +96,7 @@
})
return
}
if
(
this
.
msg
.
ExtraDeductMoney
==
''
)
{
if
(
this
.
msg
.
ExtraDeductMoney
==
=
''
)
{
this
.
$q
.
notify
({
icon
:
'negative'
,
color
:
'accent'
,
...
...
src/components/sale/orderlist.vue
View file @
e4ed9d52
<
template
>
<div
class=
"classorder"
>
<div
class=
"classorder"
>
<table
class=
"enrollTotalSearchTable"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
style=
""
>
<tr>
<th
width=
"12%"
>
单号
</th>
...
...
@@ -20,8 +20,7 @@
<tbody
v-for=
"(item,index) in dataList"
:key=
"index"
>
<tr>
<td
:rowspan=
"3"
style=
"text-align: left"
>
<div
style=
"font-size: 18px;color: #2961FE;margin-bottom: 20px;font-weight: bold;text-decoration: underline;cursor: pointer"
@
click=
"goOrderdetails(item,1)"
>
{{
item
.
OrderId
}}
</div>
<div
style=
"font-size: 18px;color: #2961FE;margin-bottom: 20px;font-weight: bold;text-decoration: underline;cursor: pointer"
@
click=
"goOrderdetails(item,1)"
>
{{
item
.
OrderId
}}
</div>
<div>
{{
item
.
EnterName
}}
</div>
<div
style=
"margin-top: 10px"
>
{{
item
.
CreateTime
}}
</div>
<template
v-if=
"isShowClass"
>
...
...
@@ -31,15 +30,16 @@
<
template
v-if=
"!isShowClass&&item.IsCommissionGive==1"
>
<div
style=
"margin-top:30px;"
>
提成:
{{
item
.
CommissionMoney
}}
</div>
</
template
>
<
template
v-if=
"!isShowClass"
>
<div
style=
"margin-top:30px
;"
v-if=
"item.ExtraRewardMoney>0"
>
额外奖励:
{{
item
.
ExtraRewardMoney
}}
</div>
<div
style=
"margin-top:10px;
"
v-if=
"item.ExtraDeductMoney>0"
>
额外扣除:
{{
item
.
ExtraDeductMoney
}}
</div>
<
template
>
<div
style=
"margin-top:30px;color:red
;"
v-if=
"item.ExtraRewardMoney>0"
>
额外奖励:
{{
item
.
ExtraRewardMoney
}}
</div>
<div
style=
"color:red
"
v-if=
"item.ExtraDeductMoney>0"
>
额外扣除:
{{
item
.
ExtraDeductMoney
}}
</div>
</
template
>
</td>
<td
style=
"border:none"
>
{{item.GuestNum}}人
</td>
<td
style=
"border:none"
>
{{item.Class_Price.toFixed(2)}}
</td>
<td
:style=
"{color:item.Class_Price!=item.Unit_Price?'#f5576c':'','border':'none'}"
>
{{item.Unit_Price.toFixed(2)}}
</td>
{{item.Unit_Price.toFixed(2)}}
</td>
<td
style=
"border:none"
>
{{item.PreferPrice.toFixed(2)}}
</td>
<td
style=
"border:none"
>
{{item.Income.toFixed(2)}}
</td>
<td
style=
"color:#f5576c;border:none"
>
{{item.DiscountMoney.toFixed(2)}}
</td>
...
...
@@ -51,8 +51,7 @@
</div>
</td>
<td
style=
"border:none"
>
<q-btn
flat
size=
"xs"
icon=
"edit"
color=
"accent"
style=
"font-weight:400"
label=
"编辑"
@
click=
"editOrder(item)"
/>
<q-btn
flat
size=
"xs"
icon=
"edit"
color=
"accent"
style=
"font-weight:400"
label=
"编辑"
@
click=
"editOrder(item)"
/>
<q-btn-dropdown
flat
size=
"xs"
color=
"dark"
label=
"更多"
style=
"margin-left:10px;"
>
<q-list>
<q-item
clickable
v-close-popup
>
...
...
@@ -120,8 +119,7 @@
<tr>
<td
:colspan=
"11"
style=
"text-align: left"
>
学生名单:
<span
v-for=
"(x,j) in item.GuestList"
:index=
"j"
v-if=
"item.GuestList.length>0"
style=
"color:#2961FE;"
>
{{x.GuestName}}
</span>
<span
v-for=
"(x,j) in item.GuestList"
:index=
"j"
v-if=
"item.GuestList.length>0"
style=
"color:#2961FE;"
>
{{x.GuestName}}
</span>
<span
v-if=
"item.GuestList.length==0"
>
暂无
</span>
</td>
</tr>
...
...
@@ -134,14 +132,12 @@
<div
v-if=
"item.SaleRemark!=null||item.SaleRemark!=''"
>
<div>
{{item.SaleRemark}}
</div>
<div
class=
"remarks-b-b"
>
<span
class=
"iconfont icon-xiangxia"
style=
"color: #2961FE;font-size: 10px"
v-if=
"item.SaleRemarkList&&item.SaleRemarkList.length>0"
></span>
<span
class=
"iconfont icon-xiangxia"
style=
"color: #2961FE;font-size: 10px"
v-if=
"item.SaleRemarkList&&item.SaleRemarkList.length>0"
></span>
<q-popup-proxy>
<q-banner>
<div
style=
"width: 500px;"
>
<div>
销售备注
</div>
<div
v-for=
"(xq,jq) in item.SaleRemarkList"
:index=
"jq"
style=
" margin-top: 10px;background: #e6e6e6;padding: 5px;font-size: 12px"
>
<div
v-for=
"(xq,jq) in item.SaleRemarkList"
:index=
"jq"
style=
" margin-top: 10px;background: #e6e6e6;padding: 5px;font-size: 12px"
>
<div>
{{xq.Content}}
</div>
<div
style=
"text-align: right"
>
{{xq.CreateBy}} {{xq.CreateTime}}
</div>
</div>
...
...
@@ -159,14 +155,12 @@
<div
v-if=
"item.TeacherRemark!=null||item.TeacherRemark!=''"
>
<div>
{{item.TeacherRemark}}
</div>
<div
class=
"remarks-b-b"
>
<span
class=
"iconfont icon-xiangxia"
style=
"color: #2961FE;font-size: 10px"
v-if=
"item.TeacherRemarkList&&item.TeacherRemarkList.length>0"
></span>
<span
class=
"iconfont icon-xiangxia"
style=
"color: #2961FE;font-size: 10px"
v-if=
"item.TeacherRemarkList&&item.TeacherRemarkList.length>0"
></span>
<q-popup-proxy>
<q-banner>
<div
style=
"width: 500px;"
>
<div>
教务备注
</div>
<div
v-for=
"(xq,jq) in item.TeacherRemarkList"
:index=
"jq"
style=
" margin-top: 10px;background: #e6e6e6;padding: 5px;font-size: 12px"
>
<div
v-for=
"(xq,jq) in item.TeacherRemarkList"
:index=
"jq"
style=
" margin-top: 10px;background: #e6e6e6;padding: 5px;font-size: 12px"
>
<div>
{{xq.Content}}
</div>
<div
style=
"text-align: right"
>
{{xq.CreateBy}} {{xq.CreateTime}}
</div>
</div>
...
...
@@ -184,14 +178,12 @@
<div
v-if=
"item.RectorRemark!=null ||item.RectorRemark!=''"
>
<div>
{{item.RectorRemark}}
</div>
<div
class=
"remarks-b-b"
>
<span
class=
"iconfont icon-xiangxia"
style=
"color: #2961FE;font-size: 10px"
v-if=
"item.RectorRemarkList&&item.RectorRemarkList.length>0"
></span>
<span
class=
"iconfont icon-xiangxia"
style=
"color: #2961FE;font-size: 10px"
v-if=
"item.RectorRemarkList&&item.RectorRemarkList.length>0"
></span>
<q-popup-proxy>
<q-banner>
<div
style=
"width: 500px;"
>
<div>
校长备注
</div>
<div
v-for=
"(xq,jq) in item.RectorRemarkList"
:index=
"jq"
style=
" margin-top: 10px;background: #e6e6e6;padding: 5px;font-size: 12px"
>
<div
v-for=
"(xq,jq) in item.RectorRemarkList"
:index=
"jq"
style=
" margin-top: 10px;background: #e6e6e6;padding: 5px;font-size: 12px"
>
<div>
{{xq.Content}}
</div>
<div
style=
"text-align: right"
>
{{xq.CreateBy}} {{xq.CreateTime}}
</div>
</div>
...
...
@@ -209,14 +201,12 @@
<div
v-if=
"item.DirectorRemark!=null||item.DirectorRemark!=''"
>
<div>
{{item.DirectorRemark}}
</div>
<div
class=
"remarks-b-b"
>
<span
class=
"iconfont icon-xiangxia"
style=
"color: #2961FE;font-size: 10px"
v-if=
"item.DirectorRemarkList&&item.DirectorRemarkList.length>0"
></span>
<span
class=
"iconfont icon-xiangxia"
style=
"color: #2961FE;font-size: 10px"
v-if=
"item.DirectorRemarkList&&item.DirectorRemarkList.length>0"
></span>
<q-popup-proxy>
<q-banner>
<div
style=
"width: 500px;"
>
<div>
总经理备注
</div>
<div
v-for=
"(xq,jq) in item.DirectorRemarkList"
:index=
"jq"
style=
" margin-top: 10px;background: #e6e6e6;padding: 5px;font-size: 12px"
>
<div
v-for=
"(xq,jq) in item.DirectorRemarkList"
:index=
"jq"
style=
" margin-top: 10px;background: #e6e6e6;padding: 5px;font-size: 12px"
>
<div>
{{xq.Content}}
</div>
<div
style=
"text-align: right"
>
{{xq.CreateBy}} {{xq.CreateTime}}
</div>
</div>
...
...
@@ -231,13 +221,11 @@
<div
class=
"col"
>
<div
class=
"row"
style=
"justify-content: space-between"
>
<span>
收款单据:
</span>
<q-btn
flat
size=
"xs"
icon=
"edit"
style=
"font-weight:400;color: #02C499"
label=
"修改"
@
click=
"chanceType(item,1)"
/>
<q-btn
flat
size=
"xs"
icon=
"edit"
v-if=
"isShowClass"
style=
"font-weight:400;color: #02C499"
label=
"修改"
@
click=
"chanceType(item,1)"
/>
</div>
<div
class=
"row wrap"
>
<div
class=
"finance row"
v-for=
"(x,j) in item.FinanceList"
:index=
"j"
:style=
"{
<div
class=
"finance row"
v-for=
"(x,j) in item.FinanceList"
:index=
"j"
:style=
"{
background:x.ColorState==1 ? 'rgba(41, 97, 254, 0.2)':(x.ColorState==2 ? 'rgba(2, 196, 153, 0.2)':(x.ColorState==3 ? 'rgba(242, 140, 29, 0.2)':'rgba(63, 196, 255, 0.2)')),
color: x.ColorState==1 ? '#2961FE':(x.ColorState==2 ? '#02C499':(x.ColorState==3 ? '#F28C1D':'#3FC4FF'))}"
>
<span
style=
"cursor: pointer"
@
click=
"goOrderdetails(item,4)"
>
{{x.FrID}}
</span>
...
...
@@ -245,12 +233,10 @@
</div>
<div
class=
"row"
style=
"justify-content: space-between"
>
<span>
付款单据:
</span>
<q-btn
flat
size=
"xs"
icon=
"edit"
style=
"font-weight:400;color: #02C499"
label=
"修改"
@
click=
"chanceType(item,2)"
/>
<q-btn
flat
size=
"xs"
icon=
"edit"
v-if=
"isShowClass"
style=
"font-weight:400;color: #02C499"
label=
"修改"
@
click=
"chanceType(item,2)"
/>
</div>
<div
class=
"row wrap"
>
<div
class=
"finance row"
v-for=
"(x,j) in item.RefundFinanceList"
:index=
"j"
:style=
"{
<div
class=
"finance row"
v-for=
"(x,j) in item.RefundFinanceList"
:index=
"j"
:style=
"{
background:x.ColorState==1 ? 'rgba(41, 97, 254, 0.2)':(x.ColorState==2 ? 'rgba(2, 196, 153, 0.2)':(x.ColorState==3 ? 'rgba(242, 140, 29, 0.2)':'rgba(63, 196, 255, 0.2)')),
color: x.ColorState==1 ? '#2961FE':(x.ColorState==2 ? '#02C499':(x.ColorState==3 ? '#F28C1D':'#3FC4FF'))}"
>
<span
style=
"cursor: pointer"
@
click=
"goOrderdetails(item,4)"
>
{{x.FrID}}
</span>
...
...
@@ -268,12 +254,10 @@
</td>
</tr>
</tbody>
<tbody
v-if=
"cancelList&&cancelList.length>0 && isShowCancel"
v-for=
"(item,index) in cancelList"
:key=
"index+10000"
>
<tbody
v-if=
"cancelList&&cancelList.length>0 && isShowCancel"
v-for=
"(item,index) in cancelList"
:key=
"index+10000"
>
<tr>
<td
:rowspan=
"3"
style=
"text-align: left"
>
<div
style=
"font-size: 18px;color: #2961FE;margin-bottom: 20px;font-weight: bold"
@
click=
"goOrderdetails(item)"
>
{{item.OrderId}}
</div>
<div
style=
"font-size: 18px;color: #2961FE;margin-bottom: 20px;font-weight: bold"
@
click=
"goOrderdetails(item)"
>
{{item.OrderId}}
</div>
<div>
{{item.EnterName}}
</div>
<div
style=
"margin-top: 10px"
>
{{item.CreateTime}}
</div>
<div
style=
"margin-top: 30px;margin-bottom: 10px"
>
班级
</div>
...
...
@@ -282,7 +266,8 @@
<td
style=
"border:none"
>
{{item.GuestNum}}人
</td>
<td
style=
"border:none"
>
{{item.Class_Price.toFixed(2)}}
</td>
<td
:style=
"{color:item.Class_Price!=item.Unit_Price?'#f5576c':'','border':'none'}"
>
{{item.Unit_Price.toFixed(2)}}
</td>
{{item.Unit_Price.toFixed(2)}}
</td>
<td
style=
"border:none"
>
{{item.PreferPrice.toFixed(2)}}
</td>
<td
style=
"border:none"
>
{{item.Income.toFixed(2)}}
</td>
<td
style=
"color:#f5576c;border:none"
>
{{item.DiscountMoney.toFixed(2)}}
</td>
...
...
@@ -294,8 +279,7 @@
</div>
</td>
<td
style=
"border:none"
>
<q-btn
flat
size=
"xs"
icon=
"edit"
color=
"accent"
style=
"font-weight:400"
label=
"编辑"
@
click=
"editOrder(item)"
/>
<q-btn
flat
size=
"xs"
icon=
"edit"
color=
"accent"
style=
"font-weight:400"
label=
"编辑"
@
click=
"editOrder(item)"
/>
<q-btn-dropdown
flat
size=
"xs"
color=
"dark"
label=
"更多"
style=
"margin-left:10px;"
>
<q-list>
<q-item
clickable
v-close-popup
>
...
...
@@ -310,8 +294,7 @@
<tr>
<td
:colspan=
"11"
style=
"text-align: left"
>
学生名单:
<span
v-for=
"(x,j) in item.GuestList"
:index=
"j"
v-if=
"item.GuestList.length>0"
style=
"color:#2961FE;"
>
{{x.GuestName}}
</span>
<span
v-for=
"(x,j) in item.GuestList"
:index=
"j"
v-if=
"item.GuestList.length>0"
style=
"color:#2961FE;"
>
{{x.GuestName}}
</span>
<span
v-if=
"item.GuestList.length==0"
>
暂无
</span>
</td>
</tr>
...
...
@@ -324,14 +307,12 @@
<div
v-if=
"item.SaleRemark!=null||item.SaleRemark!=''"
>
<div>
{{item.SaleRemark}}
</div>
<div
class=
"remarks-b-b"
>
<span
class=
"iconfont icon-xiangxia"
style=
"color: #2961FE;font-size: 10px"
v-if=
"item.SaleRemarkList&&item.SaleRemarkList.length>0"
></span>
<span
class=
"iconfont icon-xiangxia"
style=
"color: #2961FE;font-size: 10px"
v-if=
"item.SaleRemarkList&&item.SaleRemarkList.length>0"
></span>
<q-popup-proxy>
<q-banner>
<div
style=
"width: 500px;"
>
<div>
销售备注
</div>
<div
v-for=
"(xq,jq) in item.SaleRemarkList"
:index=
"jq"
style=
" margin-top: 10px;background: #e6e6e6;padding: 5px;font-size: 12px"
>
<div
v-for=
"(xq,jq) in item.SaleRemarkList"
:index=
"jq"
style=
" margin-top: 10px;background: #e6e6e6;padding: 5px;font-size: 12px"
>
<div>
{{xq.Content}}
</div>
<div
style=
"text-align: right"
>
{{xq.CreateBy}} {{xq.CreateTime}}
</div>
</div>
...
...
@@ -349,14 +330,12 @@
<div
v-if=
"item.TeacherRemark!=null||item.TeacherRemark!=''"
>
<div>
{{item.TeacherRemark}}
</div>
<div
class=
"remarks-b-b"
>
<span
class=
"iconfont icon-xiangxia"
style=
"color: #2961FE;font-size: 10px"
v-if=
"item.TeacherRemarkList&&item.TeacherRemarkList.length>0"
></span>
<span
class=
"iconfont icon-xiangxia"
style=
"color: #2961FE;font-size: 10px"
v-if=
"item.TeacherRemarkList&&item.TeacherRemarkList.length>0"
></span>
<q-popup-proxy>
<q-banner>
<div
style=
"width: 500px;"
>
<div>
教务备注
</div>
<div
v-for=
"(xq,jq) in item.TeacherRemarkList"
:index=
"jq"
style=
" margin-top: 10px;background: #e6e6e6;padding: 5px;font-size: 12px"
>
<div
v-for=
"(xq,jq) in item.TeacherRemarkList"
:index=
"jq"
style=
" margin-top: 10px;background: #e6e6e6;padding: 5px;font-size: 12px"
>
<div>
{{xq.Content}}
</div>
<div
style=
"text-align: right"
>
{{xq.CreateBy}} {{xq.CreateTime}}
</div>
</div>
...
...
@@ -374,14 +353,12 @@
<div
v-if=
"item.RectorRemark!=null ||item.RectorRemark!=''"
>
<div>
{{item.RectorRemark}}
</div>
<div
class=
"remarks-b-b"
>
<span
class=
"iconfont icon-xiangxia"
style=
"color: #2961FE;font-size: 10px"
v-if=
"item.RectorRemarkList&&item.RectorRemarkList.length>0"
></span>
<span
class=
"iconfont icon-xiangxia"
style=
"color: #2961FE;font-size: 10px"
v-if=
"item.RectorRemarkList&&item.RectorRemarkList.length>0"
></span>
<q-popup-proxy>
<q-banner>
<div
style=
"width: 500px;"
>
<div>
校长备注
</div>
<div
v-for=
"(xq,jq) in item.RectorRemarkList"
:index=
"jq"
style=
" margin-top: 10px;background: #e6e6e6;padding: 5px;font-size: 12px"
>
<div
v-for=
"(xq,jq) in item.RectorRemarkList"
:index=
"jq"
style=
" margin-top: 10px;background: #e6e6e6;padding: 5px;font-size: 12px"
>
<div>
{{xq.Content}}
</div>
<div
style=
"text-align: right"
>
{{xq.CreateBy}} {{xq.CreateTime}}
</div>
</div>
...
...
@@ -399,14 +376,12 @@
<div
v-if=
"item.DirectorRemark!=null||item.DirectorRemark!=''"
>
<div>
{{item.DirectorRemark}}
</div>
<div
class=
"remarks-b-b"
>
<span
class=
"iconfont icon-xiangxia"
style=
"color: #2961FE;font-size: 10px"
v-if=
"item.DirectorRemarkList&&item.DirectorRemarkList.length>0"
></span>
<span
class=
"iconfont icon-xiangxia"
style=
"color: #2961FE;font-size: 10px"
v-if=
"item.DirectorRemarkList&&item.DirectorRemarkList.length>0"
></span>
<q-popup-proxy>
<q-banner>
<div
style=
"width: 500px;"
>
<div>
总经理备注
</div>
<div
v-for=
"(xq,jq) in item.DirectorRemarkList"
:index=
"jq"
style=
" margin-top: 10px;background: #e6e6e6;padding: 5px;font-size: 12px"
>
<div
v-for=
"(xq,jq) in item.DirectorRemarkList"
:index=
"jq"
style=
" margin-top: 10px;background: #e6e6e6;padding: 5px;font-size: 12px"
>
<div>
{{xq.Content}}
</div>
<div
style=
"text-align: right"
>
{{xq.CreateBy}} {{xq.CreateTime}}
</div>
</div>
...
...
@@ -421,13 +396,11 @@
<div
class=
"col"
>
<div
class=
"row"
style=
"justify-content: space-between"
>
<span>
收款单据:
</span>
<q-btn
flat
size=
"xs"
icon=
"edit"
style=
"font-weight:400;color: #02C499"
label=
"修改"
@
click=
"chanceType(item,1)"
/>
<q-btn
flat
size=
"xs"
icon=
"edit"
style=
"font-weight:400;color: #02C499"
label=
"修改"
@
click=
"chanceType(item,1)"
/>
</div>
<div
class=
"row wrap"
>
<div
class=
"finance row"
v-for=
"(x,j) in item.FinanceList"
:index=
"j"
:style=
"{
<div
class=
"finance row"
v-for=
"(x,j) in item.FinanceList"
:index=
"j"
:style=
"{
background:x.ColorState==1 ? 'rgba(41, 97, 254, 0.2)':(x.ColorState==2 ? 'rgba(2, 196, 153, 0.2)':(x.ColorState==3 ? 'rgba(242, 140, 29, 0.2)':'rgba(63, 196, 255, 0.2)')),
color: x.ColorState==1 ? '#2961FE':(x.ColorState==2 ? '#02C499':(x.ColorState==3 ? '#F28C1D':'#3FC4FF'))}"
>
<span
style=
"cursor: pointer"
@
click=
"goOrderdetails(item,4)"
>
{{x.FrID}}
</span>
...
...
@@ -435,12 +408,10 @@
</div>
<div
class=
"row"
style=
"justify-content: space-between"
>
<span>
付款单据:
</span>
<q-btn
flat
size=
"xs"
icon=
"edit"
style=
"font-weight:400;color: #02C499"
label=
"修改"
@
click=
"chanceType(item,2)"
/>
<q-btn
flat
size=
"xs"
icon=
"edit"
style=
"font-weight:400;color: #02C499"
label=
"修改"
@
click=
"chanceType(item,2)"
/>
</div>
<div
class=
"row wrap"
>
<div
class=
"finance row"
v-for=
"(x,j) in item.RefundFinanceList"
:index=
"j"
:style=
"{
<div
class=
"finance row"
v-for=
"(x,j) in item.RefundFinanceList"
:index=
"j"
:style=
"{
background:x.ColorState==1 ? 'rgba(41, 97, 254, 0.2)':(x.ColorState==2 ? 'rgba(2, 196, 153, 0.2)':(x.ColorState==3 ? 'rgba(242, 140, 29, 0.2)':'rgba(63, 196, 255, 0.2)')),
color: x.ColorState==1 ? '#2961FE':(x.ColorState==2 ? '#02C499':(x.ColorState==3 ? '#F28C1D':'#3FC4FF'))}"
>
<span
style=
"cursor: pointer"
@
click=
"goOrderdetails(item,4)"
>
{{x.FrID}}
</span>
...
...
@@ -454,45 +425,41 @@
<!--取消订单-->
</table>
<!--修改订单-->
<editorder-form
v-if=
"isShowEditOrderForm"
:save-obj=
"orderObj"
@
close=
"closeOrderSaveForm"
@
success=
"refreshClassOrder"
></editorder-form>
<editorder-form
v-if=
"isShowEditOrderForm"
:save-obj=
"orderObj"
@
close=
"closeOrderSaveForm"
@
success=
"refreshClassOrder"
></editorder-form>
<!--修改订单备注-->
<orderremark-form
v-if=
"isShowRemarkOrderForm"
:save-obj=
"orderObj"
:remarkType=
"remarkType"
@
close=
"closeRemarkForm"
@
success=
"refreshClassOrder"
></orderremark-form>
<orderremark-form
v-if=
"isShowRemarkOrderForm"
:save-obj=
"orderObj"
:remarkType=
"remarkType"
@
close=
"closeRemarkForm"
@
success=
"refreshClassOrder"
></orderremark-form>
<!--转交订单-->
<transOrder-form
v-if=
"isShowTransOrderForm"
:save-obj=
"orderObj"
:employeeList=
"EmployeeList"
@
close=
"closeTransOrderForm"
@
success=
"refreshClassOrder"
></transOrder-form>
<transOrder-form
v-if=
"isShowTransOrderForm"
:save-obj=
"orderObj"
:employeeList=
"EmployeeList"
@
close=
"closeTransOrderForm"
@
success=
"refreshClassOrder"
></transOrder-form>
<myOrder-form
v-if=
"isShowmyorderForm"
:save-obj=
"myorderObjOption"
@
close=
"closeMOSaveForm"
></myOrder-form>
<!--班级详情-->
<classinfo-form
v-if=
"isShowClassInfo"
:seting-obj=
"classObjOption"
@
close=
"closeClass"
@
success=
"refreshClass"
>
</classinfo-form>
<!--退课申请-->
<backclass-form
v-if=
"isShowBackClassForm"
:save-obj=
"orderObj"
@
close=
"closeBackClassForm"
@
success=
"refreshClassOrder"
></backclass-form>
<backclass-form
v-if=
"isShowBackClassForm"
:save-obj=
"orderObj"
@
close=
"closeBackClassForm"
@
success=
"refreshClassOrder"
></backclass-form>
<!-- 修改提成和额外奖励 -->
<money-form
v-if=
"isShowMoney"
:data=
"moneyObj"
:type=
"CommonType"
@
close=
"closeMoneyForm"
@
success=
"refreshMoney"
></money-form>
</div>
</div>
</template>
<
script
>
import
editorderForm
from
'../sale/editorder-form'
//修改订单
import
orderremarkForm
from
'../sale/orderremark-form'
//订单备注
import
transOrderForm
from
'../sale/transOrder-form'
//转交订单
import
backclassForm
from
'../sale/backclass-form'
//退课申请
import
moneyForm
from
'../sale/money-form'
//修改提成和额外奖励
import
editorderForm
from
'../sale/editorder-form'
//修改订单
import
orderremarkForm
from
'../sale/orderremark-form'
//订单备注
import
transOrderForm
from
'../sale/transOrder-form'
//转交订单
import
backclassForm
from
'../sale/backclass-form'
//退课申请
import
moneyForm
from
'../sale/money-form'
//修改提成和额外奖励
import
{
import
{
cancelClassOrder
,
//取消订单
}
from
'../../api/sale/sale'
import
myOrderForm
from
'../../components/sale/myOrder-form'
import
classinfoForm
from
'../../components/course/classinfo-form'
;
import
{
}
from
'../../api/sale/sale'
import
myOrderForm
from
'../../components/sale/myOrder-form'
import
classinfoForm
from
'../../components/course/classinfo-form'
;
import
{
queryEmployee
//员工列表
}
from
'../../api/users/user'
export
default
{
}
from
'../../api/users/user'
export
default
{
components
:
{
editorderForm
,
orderremarkForm
,
...
...
@@ -513,8 +480,11 @@
type
:
Array
,
default
:
null
},
isShowClass
:{
type
:
Boolean
isShowClass
:
{
type
:
Boolean
},
Comtype
:
{
type
:
Number
}
},
data
()
{
...
...
@@ -530,17 +500,16 @@
myorderObjOption
:
{},
//详情的数据
classObjOption
:
null
,
isShowClassInfo
:
false
,
//是否显示课程信息
isShowMoney
:
false
,
//是否显示修改提成和额外奖励
moneyObj
:
{},
CommonType
:
-
1
,
//用于判断是修改提成还是额外奖励
EmployeeList
:[],
//员工列表
isShowMoney
:
false
,
//是否显示修改提成和额外奖励
moneyObj
:
{},
CommonType
:
-
1
,
//用于判断是修改提成还是额外奖励
EmployeeList
:
[],
//员工列表
}
},
created
()
{
this
.
Employee
()
},
mounted
()
{
},
mounted
()
{},
methods
:
{
//显示退课申请
showBackClassForm
(
item
)
{
...
...
@@ -552,7 +521,7 @@
this
.
orderObj
=
{};
this
.
isShowBackClassForm
=
false
;
},
Employee
()
{
Employee
()
{
var
qMsg
=
{
EmployeeName
:
''
}
...
...
@@ -609,8 +578,8 @@
this
.
isShowmyorderForm
=
false
;
},
//订单转交
transferOrder
(
item
,
type
)
{
item
.
type
=
type
transferOrder
(
item
,
type
)
{
item
.
type
=
type
this
.
orderObj
=
item
;
this
.
isShowTransOrderForm
=
true
;
},
...
...
@@ -623,8 +592,8 @@
var
tempStr
=
'/sale/studentList?OrderId='
+
item
.
OrderId
+
'&ClassId='
+
item
.
ClassId
;
this
.
$router
.
push
({
path
:
tempStr
,
query
:
{
isFrom
:
1
query
:
{
isShow
:
this
.
Comtype
}
});
},
...
...
@@ -659,8 +628,8 @@
this
.
isShowMoney
=
false
;
},
//修改提成和额外奖励后刷新
refreshMoney
()
{
this
.
isShowMoney
=
false
;
refreshMoney
()
{
this
.
isShowMoney
=
false
;
this
.
$emit
(
'success'
);
},
//取消订单
...
...
@@ -729,190 +698,188 @@
},
//修改提成-奖励
upDateMoney
(
item
,
type
)
{
upDateMoney
(
item
,
type
)
{
this
.
moneyObj
=
item
;
this
.
CommonType
=
type
;
this
.
isShowMoney
=
true
;
}
}
}
}
</
script
>
<
style
>
li
{
li
{
list-style-type
:
none
;
}
}
.classorder
ul
{
.classorder
ul
{
padding
:
0px
}
}
.classorder
.price-popup
{
.classorder
.price-popup
{
border-radius
:
4px
;
}
}
.classorder
.el-range-editor
.el-range-input
{
.classorder
.el-range-editor
.el-range-input
{
background
:
none
;
}
}
.classorder
.el-range-editor.el-input__inner
{
.classorder
.el-range-editor.el-input__inner
{
background-color
:
transparent
;
}
}
.classorder
.q-mb-md
{
.classorder
.q-mb-md
{
margin-bottom
:
0
;
}
}
.classorder
.stics
{
.classorder
.stics
{
padding
:
10px
20px
;
background
:
#DDDEE0
;
border-radius
:
4px
;
font-size
:
14px
;
color
:
#000000
;
font-weight
:
bold
}
}
.classorder
.stics
.stics-name
{
.classorder
.stics
.stics-name
{
color
:
#2D2D2D
;
font-weight
:
600
;
margin-right
:
10px
}
}
.classorder
.tis
{
.classorder
.tis
{
margin
:
10px
0
;
align-items
:
center
}
}
.classorder
.tis
.tis-k
{
.classorder
.tis
.tis-k
{
width
:
10px
;
height
:
10px
;
margin-right
:
8px
}
}
.classorder
.tis
span
{
.classorder
.tis
span
{
font-size
:
14px
;
color
:
#2D2D2D
;
font-weight
:
600
;
margin-right
:
20px
}
}
.classorder
table
{
.classorder
table
{
padding
:
10px
0
;
width
:
100%
;
background-color
:
#ededed
;
border-collapse
:
collapse
;
border
:
1px
solid
#d2d2d2
;
font-size
:
12px
;
}
}
.classorder
table
th
{
.classorder
table
th
{
background-color
:
#ededed
;
height
:
34px
;
text-indent
:
15px
;
}
}
.classorder
table
td
{
.classorder
table
td
{
background-color
:
#ffffff
;
padding
:
9px
15px
;
color
:
#333333
;
border
:
1px
solid
rgba
(
138
,
138
,
138
,
0.09
);
text-align
:
center
;
}
}
.classorder
table
._color_666
{
.classorder
table
._color_666
{
color
:
#666666
;
}
}
.classorder
table
tr
._color_666
th
{
.classorder
table
tr
._color_666
th
{
padding
:
9px
15px
;
}
}
.classorder
table
th
{
.classorder
table
th
{
background-color
:
#ededed
;
height
:
34px
;
text-indent
:
15px
;
}
}
.classorder
table
td
{
.classorder
table
td
{
background-color
:
#ffffff
;
padding
:
9px
15px
;
color
:
#333333
;
/*border: 1px solid #d2d2d2;*/
}
}
.classorder
table
._color_666
{
.classorder
table
._color_666
{
color
:
#666666
;
}
}
.classorder
table
tr
._color_666
th
{
.classorder
table
tr
._color_666
th
{
padding
:
9px
15px
;
}
}
.classorder
.enrollTotalSearchTable
{
.classorder
.enrollTotalSearchTable
{
width
:
100%
;
font-size
:
14px
;
color
:
#333
;
border-bottom
:
1px
solid
#cccccc
;
border-right
:
1px
solid
#cccccc
;
border-collapse
:
collapse
;
}
}
.classorder
.enrollTotalSearchTable
tr
{
.classorder
.enrollTotalSearchTable
tr
{
/* border-bottom: 2px solid #333; */
}
}
.classorder
.enrollTotalSearchTable
tr
th
{
background
:
#
bdbdbd
;
.classorder
.enrollTotalSearchTable
tr
th
{
background
:
#
DDDEE0
;
height
:
30px
;
font-size
:
12px
;
text-align
:
center
;
border-top
:
1px
solid
#cccccc
;
border-left
:
1px
solid
#cccccc
;
}
}
.classorder
.enrollTotalSearchTable
tr
{
.classorder
.enrollTotalSearchTable
tr
{
background
:
#fff
;
text-align
:
left
;
}
}
.classorder
.enrollTotalSearchTable
tbody
tr
:last-child
{
.classorder
.enrollTotalSearchTable
tbody
tr
:last-child
{
border-bottom
:
2px
solid
#333
;
}
}
.classorder
.enrollTotalSearchTable
tr
:first-child
td
:first-child
{
.classorder
.enrollTotalSearchTable
tr
:first-child
td
:first-child
{
border-bottom
:
2px
solid
#333
;
}
}
.classorder
.enrollTotalSearchTable
tr
td
{
.classorder
.enrollTotalSearchTable
tr
td
{
height
:
66px
;
padding
:
10px
;
/*border-top: 1px solid #cccccc;*/
/*border-left: 1px solid #cccccc;*/
}
}
.classorder
.enrollTotalSearchTable
tr
td
>
img
{
.classorder
.enrollTotalSearchTable
tr
td
>
img
{
width
:
32px
;
height
:
32px
;
border-radius
:
16px
;
vertical-align
:
middle
;
margin-right
:
5px
;
}
}
.classorder
.enrollTotalSearchTable
tr
td
p
{
.classorder
.enrollTotalSearchTable
tr
td
p
{
line-height
:
20px
;
}
}
.classorder
.remarks
{
.classorder
.remarks
{
font-size
:
14px
;
color
:
#2D2D2D
;
}
}
.classorder
.remarks-b
{
.classorder
.remarks-b
{
width
:
100%
;
height
:
94px
;
background
:
#F0F5FB
;
margin-top
:
2
0px
;
margin-top
:
1
0px
;
padding
:
15px
;
font-size
:
12px
;
color
:
#999999
;
...
...
@@ -922,25 +889,24 @@
line-height
:
20px
;
-webkit-line-clamp
:
4
;
-webkit-box-orient
:
vertical
;
}
}
.classorder
.remarks-b-b
{
.classorder
.remarks-b-b
{
text-align
:
right
;
position
:
absolute
;
right
:
0px
;
bottom
:
0px
}
}
.classorder
.on-left
{
.classorder
.on-left
{
margin-right
:
5px
;
}
}
.classorder
.finance
{
.classorder
.finance
{
padding
:
1px
10px
;
align-items
:
center
;
justify-content
:
center
;
border-radius
:
4px
;
margin
:
5px
3px
3px
0
;
}
}
</
style
>
src/pages/course/classorder.vue
View file @
e4ed9d52
...
...
@@ -23,7 +23,7 @@
</div>
</div>
<div
class=
"page-content"
>
<orderlist
:dataList=
"dataList"
:isShowClass=
"false"
ref=
"orderL"
:cancelList=
"CancelList"
@
success=
"refreshClassOrder"
></orderlist>
<orderlist
:dataList=
"dataList"
:isShowClass=
"false"
ref=
"orderL"
:
Comtype=
"2"
:
cancelList=
"CancelList"
@
success=
"refreshClassOrder"
></orderlist>
</div>
</div>
</template>
...
...
src/pages/sale/myOrder.vue
View file @
e4ed9d52
...
...
@@ -100,7 +100,7 @@
</div>
<div
class=
"page-content"
>
<orderlist
:dataList=
"data.List"
:isShowClass=
"true"
@
success=
"refreshClassOrder"
ref=
"orderL"
></orderlist>
<orderlist
:dataList=
"data.List"
:isShowClass=
"true"
:Comtype=
"1"
@
success=
"refreshClassOrder"
ref=
"orderL"
></orderlist>
<div
class=
"row"
style=
"justify-content: flex-end;padding: 5px 20px"
>
<q-pagination
v-model=
"msg.pageIndex"
...
...
src/pages/sale/studentList.vue
View file @
e4ed9d52
...
...
@@ -20,7 +20,7 @@
<q-pagination
class=
"full-width justify-end"
v-model=
"msg.pageIndex"
color=
"primary"
:max=
"pageCount"
:input=
"true"
@
input=
"changePage"
/>
</
template
>
<
template
v-slot:body-cell-optioned=
"props"
>
<
template
v-slot:body-cell-optioned=
"props"
v-if=
"isShowBtn"
>
<q-td
:props=
"props"
>
<q-btn
flat
size=
"xs"
icon=
"edit"
color=
"accent"
style=
"font-weight:400"
label=
"编辑"
@
click=
"EditRole(props.row)"
/>
...
...
@@ -201,8 +201,10 @@
this
.
msg
.
OrderId
=
this
.
$route
.
query
.
OrderId
;
this
.
addMsg
.
OrderId
=
this
.
$route
.
query
.
OrderId
;
this
.
msg
.
ClassId
=
this
.
$route
.
query
.
ClassId
if
(
this
.
$route
.
query
.
isFrom
==
1
){
this
.
isShowBtn
=
false
;
if
(
this
.
$route
.
query
.
isShow
==
1
){
this
.
isShowBtn
=
true
;
}
else
{
this
.
isShowBtn
=
false
}
}
this
.
getRolelist
();
...
...
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