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
0736d768
Commit
0736d768
authored
May 11, 2021
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
d5deeb14
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
659 additions
and
692 deletions
+659
-692
orderlist.vue
src/components/sale/orderlist.vue
+659
-648
japaneseTrain.vue
src/pages/sale/japaneseTrain.vue
+0
-44
No files found.
src/components/sale/orderlist.vue
View file @
0736d768
...
@@ -2,684 +2,685 @@
...
@@ -2,684 +2,685 @@
<
template
>
<
template
>
<div
class=
"classorder"
>
<div
class=
"classorder"
>
<div
class=
"table-head"
>
<div
class=
"table-head"
>
<table
class=
"enrollTotalSearchTable"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
>
<table
class=
"enrollTotalSearchTable"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
>
<colgroup>
<colgroup>
<col
width=
"12%"
/>
<col
width=
"12%"
/>
<col
width=
"7%"
/>
<col
width=
"7%"
/>
<col
width=
"7%"
/>
<col
width=
"7%"
/>
<col
width=
"7%"
/>
<col
width=
"7%"
/>
<col
width=
"7%"
/>
<col
width=
"7%"
/>
<col
width=
"7%"
/>
<col
width=
"7%"
/>
<col
width=
"7%"
/>
<col
width=
"7%"
/>
<col
width=
"6%"
/>
<col
width=
"6%"
/>
<col
width=
"7%"
/>
<col
width=
"7%"
/>
<col
width=
"7%"
/>
<col
width=
"7%"
/>
<col
width=
"7%"
/>
<col
width=
"7%"
/>
<col
width=
"7%"
/>
<col
width=
"7%"
/>
<col>
<col>
</colgroup>
</colgroup>
<thead>
<thead>
<tr
class=
"fix_th"
>
<tr
class=
"fix_th"
>
<th
width=
"12%"
>
单号
</th>
<th
width=
"12%"
>
单号
</th>
<th
width=
"7%"
>
人数
</th>
<th
width=
"7%"
>
人数
</th>
<th
width=
"7%"
>
单价
</th>
<th
width=
"7%"
>
单价
</th>
<th
width=
"7%"
>
成交
</th>
<th
width=
"7%"
>
成交
</th>
<th
width=
"7%"
>
应收总额
</th>
<th
width=
"7%"
>
应收总额
</th>
<th
width=
"7%"
>
实收
</th>
<th
width=
"7%"
>
实收
</th>
<th
width=
"7%"
>
优惠
</th>
<th
width=
"7%"
>
优惠
</th>
<th
width=
"6%"
>
少价金额
</th>
<th
width=
"6%"
>
少价金额
</th>
<th
width=
"7%"
>
退款
</th>
<th
width=
"7%"
>
退款
</th>
<th
width=
"7%"
>
平台税金
</th>
<th
width=
"7%"
>
平台税金
</th>
<th
width=
"7%"
>
待收金额
</th>
<th
width=
"7%"
>
待收金额
</th>
<th
width=
"7%"
>
状态
</th>
<th
width=
"7%"
>
状态
</th>
<th
v-if=
"isEdit"
>
操作
</th>
<th
>
操作
</th>
</tr>
</tr>
</thead>
</thead>
</table>
</table>
</div>
</div>
<div
class=
"table-body"
>
<div
class=
"table-body"
>
<table
class=
"enrollTotalSearchTable"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
>
<colgroup>
<table
class=
"enrollTotalSearchTable"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
>
<col
width=
"12%"
/>
<!--
<tr
class=
"fix_th"
>
<col
width=
"7%"
/>
<th
width=
"12%"
>
单号
</th>
<col
width=
"7%"
/>
<th
width=
"7.5%"
>
人数
</th>
<col
width=
"7%"
/>
<th
width=
"7.5%"
>
单价
</th>
<col
width=
"7%"
/>
<th
width=
"7.5%"
>
成交
</th>
<col
width=
"7%"
/>
<th
width=
"7.5%"
>
应收总额
</th>
<col
width=
"7%"
/>
<th
width=
"7.5%"
>
实收
</th>
<col
width=
"6%"
/>
<th
width=
"7.5%"
>
优惠
</th>
<col
width=
"7%"
/>
<th
width=
"7.5%"
>
退款
</th>
<col
width=
"7%"
/>
<th
width=
"7.5%"
>
平台税金
</th>
<col
width=
"7%"
/>
<th
width=
"7.5%"
>
待收金额
</th>
<col
width=
"7%"
/>
<th
width=
"8%"
>
状态
</th>
<col>
<th
v-if=
"isEdit"
>
操作
</th>
</colgroup>
</tr>
-->
<colgroup>
<col
width=
"12%"
/>
<col
width=
"7%"
/>
<col
width=
"7%"
/>
<col
width=
"7%"
/>
<col
width=
"7%"
/>
<col
width=
"7%"
/>
<col
width=
"7%"
/>
<col
width=
"6%"
/>
<col
width=
"7%"
/>
<col
width=
"7%"
/>
<col
width=
"7%"
/>
<col
width=
"7%"
/>
<col>
</colgroup>
<tr>
<td
v-show=
"dataList && dataList.length==0"
:colspan=
"12"
align=
"center"
>
暂无数据
</td>
</tr>
<tbody
v-for=
"(item,index) in dataList"
:key=
"index"
>
<tr>
<tr>
<td
:rowspan=
"3"
style=
"text-align: left"
>
<td
v-show=
"dataList && dataList.length==0"
:colspan=
"12"
align=
"center"
>
暂无数据
</td>
<div
class=
"order_OfferId"
@
click=
"goOrderdetails(item,1)"
>
{{
item
.
OrderId
}}
</tr>
</div>
<tbody
v-for=
"(item,index) in dataList"
:key=
"index"
>
<div>
{{
item
.
EnterName
}}
</div>
<tr>
<div
style=
"margin-top: 10px"
>
{{
item
.
CreateTime
}}
</div>
<td
:rowspan=
"3"
style=
"text-align: left"
>
<template
v-if=
"AuthorityObj.isShowName"
>
<div
class=
"order_OfferId"
@
click=
"goOrderdetails(item,1)"
>
{{
item
.
OrderId
}}
<div
style=
"margin-top: 30px;margin-bottom: 10px"
>
<template
v-if=
"item.OrderType==1"
>
班级
</
template
>
<
template
v-if=
"item.OrderType==2"
>
留学就业
</
template
>
</div>
<div
style=
"font-weight: bold;color:#2961FE;cursor:pointer;"
@
click=
"getClassInfo(item)"
>
{{item.ClassName}}
</div>
<div
v-if=
"item.HelpEnterName"
>
协助人员:{{item.HelpEnterName}}
</div>
</div>
<div>
<div>
{{
item
.
EnterName
}}
</div>
<
template
v-if=
"item.OrderSource==3"
>
<div
style=
"margin-top: 10px"
>
{{
item
.
CreateTime
}}
</div>
一般同行:
{{
item
.
GeneralOccupation
}}
<template
v-if=
"AuthorityObj.isShowName"
>
</
template
>
<div
style=
"margin-top: 30px;margin-bottom: 10px"
>
<
template
v-if=
"item.OrderSource==7"
>
<template
v-if=
"item.OrderType==1"
>
教育同行:
{{
item
.
EduOccupation
}}
班级
</
template
>
</
template
>
<
template
v-if=
"item.OrderType==2"
>
留学就业
</
template
>
</div>
<div
style=
"font-weight: bold;color:#2961FE;cursor:pointer;"
@
click=
"getClassInfo(item)"
>
{{item.ClassName}}
</div>
<div
v-if=
"item.HelpEnterName"
>
协助人员:{{item.HelpEnterName}}
</div>
<div>
<
template
v-if=
"item.OrderSource==3"
>
一般同行:
{{
item
.
GeneralOccupation
}}
</
template
>
<
template
v-if=
"item.OrderSource==7"
>
教育同行:
{{
item
.
EduOccupation
}}
</
template
>
</div>
</template>
<div
style=
"margin-top:10px;"
v-if=
"item.OfferId>0"
>
报价单:
<span
class=
"order_OfferId"
@
click=
"goQuotation(item.OfferId)"
style=
"font-size:14px;"
>
{{item.OfferId}}
</span>
</div>
</div>
</template>
<
template
v-if=
"item.IsCommissionGive==1"
>
<div
style=
"margin-top:10px;"
v-if=
"item.OfferId>0"
>
<div
style=
"margin-top:30px;"
>
提成:
{{
item
.
CommissionMoney
}}
</div>
报价单:
<span
class=
"order_OfferId"
@
click=
"goQuotation(item.OfferId)"
</
template
>
style=
"font-size:14px;"
>
{{item.OfferId}}
</span>
<
template
>
</div>
<div
style=
"margin-top:30px;color:red;"
v-if=
"item.ExtraRewardMoney>0"
>
额外奖励:
{{
item
.
ExtraRewardMoney
}}
<
template
v-if=
"item.IsCommissionGive==1"
>
</div>
<div
style=
"margin-top:30px;"
>
提成:
{{
item
.
CommissionMoney
}}
</div>
<div
style=
"color:red"
v-if=
"item.ExtraDeductMoney>0"
>
额外扣除:
{{
item
.
ExtraDeductMoney
}}
</div>
</
template
>
</
template
>
<
template
>
</td>
<div
style=
"margin-top:30px;color:red;"
v-if=
"item.ExtraRewardMoney>0"
>
额外奖励:
{{
item
.
ExtraRewardMoney
}}
<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?'var(--q-color-negative)':'','border':'none'}"
>
{{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:var(--q-color-negative);border:none"
>
{{item.DiscountMoney.toFixed(2)}}
</td>
<td
style=
"border:none"
>
{{item.LessPrice}}
</td>
<td
style=
"border:none"
>
{{item.Refund.toFixed(2)}}
</td>
<td
style=
"border:none"
>
{{item.PlatformTax.toFixed(2)}}
</td>
<td
style=
"color:#2961FE;border:none"
>
{{item.DueInMoney.toFixed(2)}}
</td>
<td
style=
"border:none"
>
<div
style=
"background: rgba(2, 196, 153, 0.2);width: 80px;border-radius: 2px;text-align: center"
>
<span
style=
"color: #02C499"
>
{{item.OrderStateName}}
</span>
</div>
</div>
<div
style=
"color:red"
v-if=
"item.ExtraDeductMoney>0"
>
额外扣除:
{{
item
.
ExtraDeductMoney
}}
</div>
</td>
</
template
>
<td
style=
"border:none"
>
</td>
<q-btn
flat
size=
"xs"
icon=
"edit"
color=
"accent"
style=
"font-weight:400"
label=
"编辑"
<td
style=
"border:none"
>
{{item.GuestNum}}人
</td>
@
click=
"editOrder(item)"
/>
<td
style=
"border:none"
>
{{item.Class_Price.toFixed(2)}}
</td>
<q-btn-dropdown
flat
size=
"xs"
color=
"dark"
label=
"更多"
style=
"margin-left:10px;"
>
<td
:style=
"{color:item.Class_Price!=item.Unit_Price?'var(--q-color-negative)':'','border':'none'}"
>
<q-list>
{{item.Unit_Price.toFixed(2)}}
<q-item
clickable
v-close-popup
>
</td>
<q-item-section
@
click=
"gostudent(item)"
>
<td
style=
"border:none"
>
{{item.PreferPrice.toFixed(2)}}
</td>
<q-item-label>
学生名单
</q-item-label>
<td
style=
"border:none"
>
{{item.Income.toFixed(2)}}
</td>
</q-item-section>
<td
style=
"color:var(--q-color-negative);border:none"
>
{{item.DiscountMoney.toFixed(2)}}
</td>
</q-item>
<td
style=
"border:none"
>
{{item.LessPrice}}
</td>
<q-item
clickable
v-close-popup
v-if=
"AuthorityObj.isShowTransOrder"
>
<td
style=
"border:none"
>
{{item.Refund.toFixed(2)}}
</td>
<q-item-section
@
click=
"transferOrder(item,1)"
>
<td
style=
"border:none"
>
{{item.PlatformTax.toFixed(2)}}
</td>
<q-item-label>
转交订单
</q-item-label>
<td
style=
"color:#2961FE;border:none"
>
{{item.DueInMoney.toFixed(2)}}
</td>
</q-item-section>
<td
style=
"border:none"
>
</q-item>
<div
style=
"background: rgba(2, 196, 153, 0.2);width: 80px;border-radius: 2px;text-align: center"
>
<q-item
clickable
v-close-popup
v-if=
"AuthorityObj.isShowEditSale"
>
<span
style=
"color: #02C499"
>
{{item.OrderStateName}}
</span>
<q-item-section
@
click=
"transferOrder(item,2)"
>
</div>
<q-item-label>
修改销售
</q-item-label>
</td>
</q-item-section>
<td
style=
"border:none"
v-if=
"isEdit"
>
</q-item>
<q-btn
flat
size=
"xs"
icon=
"edit"
color=
"accent"
style=
"font-weight:400"
label=
"编辑"
<q-item
clickable
v-close-popup
v-if=
"AuthorityObj.isShowSaleRemark"
>
@
click=
"editOrder(item)"
/>
<q-item-section
@
click=
"editOrderRemark(item,1)"
>
<q-btn-dropdown
flat
size=
"xs"
color=
"dark"
label=
"更多"
style=
"margin-left:10px;"
>
<q-item-label>
销售备注
</q-item-label>
<q-list>
</q-item-section>
<q-item
clickable
v-close-popup
>
</q-item>
<q-item-section
@
click=
"gostudent(item)"
>
<q-item
clickable
v-close-popup
v-if=
"AuthorityObj.isShowEducationRemark"
>
<q-item-label>
学生名单
</q-item-label>
<q-item-section
@
click=
"editOrderRemark(item,2)"
>
</q-item-section>
<q-item-label>
教务备注
</q-item-label>
</q-item>
</q-item-section>
<q-item
clickable
v-close-popup
v-if=
"AuthorityObj.isShowTransOrder"
>
</q-item>
<q-item-section
@
click=
"transferOrder(item,1)"
>
<q-item
clickable
v-close-popup
v-if=
"AuthorityObj.isShowPrincipalRemark"
>
<q-item-label>
转交订单
</q-item-label>
<q-item-section
@
click=
"editOrderRemark(item,3)"
>
</q-item-section>
<q-item-label>
校长备注
</q-item-label>
</q-item>
</q-item-section>
<q-item
clickable
v-close-popup
v-if=
"AuthorityObj.isShowEditSale"
>
</q-item>
<q-item-section
@
click=
"transferOrder(item,2)"
>
<q-item
clickable
v-close-popup
v-if=
"AuthorityObj.isShowManagerRemark"
>
<q-item-label>
修改销售
</q-item-label>
<q-item-section
@
click=
"editOrderRemark(item,4)"
>
</q-item-section>
<q-item-label>
总经理备注
</q-item-label>
</q-item>
</q-item-section>
<q-item
clickable
v-close-popup
v-if=
"AuthorityObj.isShowSaleRemark"
>
</q-item>
<q-item-section
@
click=
"editOrderRemark(item,1)"
>
<q-item-label>
销售备注
</q-item-label>
</q-item-section>
</q-item>
<q-item
clickable
v-close-popup
v-if=
"AuthorityObj.isShowEducationRemark"
>
<q-item-section
@
click=
"editOrderRemark(item,2)"
>
<q-item-label>
教务备注
</q-item-label>
</q-item-section>
</q-item>
<q-item
clickable
v-close-popup
v-if=
"AuthorityObj.isShowPrincipalRemark"
>
<q-item-section
@
click=
"editOrderRemark(item,3)"
>
<q-item-label>
校长备注
</q-item-label>
</q-item-section>
</q-item>
<q-item
clickable
v-close-popup
v-if=
"AuthorityObj.isShowManagerRemark"
>
<q-item-section
@
click=
"editOrderRemark(item,4)"
>
<q-item-label>
总经理备注
</q-item-label>
</q-item-section>
</q-item>
<q-item
clickable
v-close-popup
v-if=
"AuthorityObj.isShowCommissionEdit&&item.IsCommissionGive==1"
>
<q-item
clickable
v-close-popup
v-if=
"AuthorityObj.isShowCommissionEdit&&item.IsCommissionGive==1"
>
<q-item-section
@
click=
"upDateMoney(item,1)"
>
<q-item-section
@
click=
"upDateMoney(item,1)"
>
<q-item-label>
修改提成
</q-item-label>
<q-item-label>
修改提成
</q-item-label>
</q-item-section>
</q-item-section>
</q-item>
</q-item>
<q-item
clickable
v-close-popup
v-if=
"AuthorityObj.isShowRewardEdit
"
>
<q-item
clickable
v-close-popup
v-if=
"AuthorityObj.isShowRewardEdit&&isShowReward
"
>
<q-item-section
@
click=
"upDateMoney(item,2)"
>
<q-item-section
@
click=
"upDateMoney(item,2)"
>
<q-item-label>
额外奖励
</q-item-label>
<q-item-label>
额外奖励
</q-item-label>
</q-item-section>
</q-item-section>
</q-item>
</q-item>
<q-item
clickable
v-close-popup
>
<q-item
clickable
v-close-popup
disabled
<q-item-section
@
click=
"CancelOrder(item)"
>
v-if=
"(item.FinanceList&&item.FinanceList.length>0)||(item.RefundFinanceList&&item.RefundFinanceList.length>0)"
>
<q-item-label>
取消订单
</q-item-label>
<q-item-section>
</q-item-section>
<q-item-label>
</q-item>
取消订单
<q-item
clickable
v-close-popup
v-close-popup
v-if=
"AuthorityObj.isShowBackClass"
>
</q-item-label>
<q-item-section>
<q-tooltip
anchor=
"center left"
self=
"center right"
content-class=
"bg-red"
>
<q-item-label
@
click=
"showBackClassForm(item)"
>
退课
</q-item-label>
已有财务单据无法取消
</q-item-section>
</q-tooltip>
</q-item>
</q-item-section>
<q-item
clickable
v-close-popup
v-close-popup
v-if=
"AuthorityObj.isShowRenewClass"
>
</q-item>
<q-item-section>
<q-item
clickable
v-close-popup
v-else
>
<q-item-label
@
click=
"showContinueClass(item)"
>
续课
</q-item-label>
<q-item-section
@
click=
"CancelOrder(item)"
>
</q-item-section>
<q-item-label>
取消订单
</q-item-label>
</q-item>
</q-item-section>
</q-list>
</q-item>
</q-btn-dropdown>
<q-item
clickable
v-close-popup
v-close-popup
v-if=
"AuthorityObj.isShowBackClass"
>
</td>
<q-item-section>
</tr>
<q-item-label
@
click=
"showBackClassForm(item)"
>
退课
</q-item-label>
<tr>
</q-item-section>
<td
:colspan=
"12"
style=
"text-align: left"
>
</q-item>
<div
class=
"row"
v-if=
"item.GuestList&&item.GuestList.length>0"
>
<q-item
clickable
v-close-popup
v-close-popup
v-if=
"AuthorityObj.isShowRenewClass"
>
学生名单:
<q-item-section>
<span
v-for=
"(x,j) in item.GuestList"
:index=
"j"
v-if=
"x.GuestState==1"
<q-item-label
@
click=
"showContinueClass(item)"
>
续课
</q-item-label>
style=
"color:#2961FE;margin-right: 5px"
>
{{x.GuestName}}
</span>
</q-item-section>
</div>
</q-item>
<div
v-if=
"AuthorityObj.isShowContract&&item.GuestList&&item.GuestList.length>0"
class=
"takeContract"
>
</q-list>
<span
@
click=
"isShowPop=true"
>
查看合同
</span>
</q-btn-dropdown>
<q-popup-proxy
v-if=
"isShowPop"
>
</td>
<q-banner>
</tr>
<div
style=
"width: 520px;max-height:220px;overflow:auto;"
>
<tr>
<table
class=
"Contract_Table"
>
<td
:colspan=
"12"
style=
"text-align: left"
>
<tr>
<div
class=
"row"
v-if=
"item.GuestList&&item.GuestList.length>0"
>
<th>
姓名
</th>
学生名单:
<th
style=
"width:180px;"
>
合同编号
</th>
<span
v-for=
"(x,j) in item.GuestList"
:index=
"j"
v-if=
"x.GuestState==1"
<th>
状态
</th>
style=
"color:#2961FE;margin-right: 5px"
>
{{x.GuestName}}
</span>
<th
width=
"170px;"
v-if=
"isEdit"
>
操作
</th>
</div>
</tr>
<div
v-if=
"AuthorityObj.isShowContract&&item.GuestList&&item.GuestList.length>0"
class=
"takeContract"
>
<tr
v-for=
"subItem in item.GuestList"
>
<span
@
click=
"isShowPop=true"
>
查看合同
</span>
<td>
{{subItem.GuestName}}
</td>
<q-popup-proxy
v-if=
"isShowPop"
>
<td>
{{subItem.ContractNo}}
</td>
<q-banner>
<td>
{{subItem.ContractStatusStr}}
</td>
<div
style=
"width: 520px;max-height:220px;overflow:auto;"
>
<td
v-if=
"isEdit"
>
<table
class=
"Contract_Table"
>
<
template
v-if=
"subItem.ContractId==0"
>
<tr>
<q-btn
color=
"accent"
size=
"sm"
<th>
姓名
</th>
@
click=
"takeContractTwo(item,subItem)"
label=
"领取合同"
/>
<th
style=
"width:180px;"
>
合同编号
</th>
</
template
>
<th>
状态
</th>
<
template
v-else
>
<th
width=
"170px;"
v-if=
"isEdit"
>
操作
</th>
<!--
<q-btn
color=
"accent"
size=
"sm"
style=
"margin-right:5px;"
</tr>
<tr
v-for=
"subItem in item.GuestList"
>
<td>
{{subItem.GuestName}}
</td>
<td>
{{subItem.ContractNo}}
</td>
<td>
{{subItem.ContractStatusStr}}
</td>
<td
v-if=
"isEdit"
>
<
template
v-if=
"subItem.ContractId==0"
>
<q-btn
color=
"accent"
size=
"sm"
@
click=
"takeContractTwo(item,subItem)"
label=
"领取合同"
/>
</
template
>
<
template
v-else
>
<!--
<q-btn
color=
"accent"
size=
"sm"
style=
"margin-right:5px;"
@
click=
"takeContractTwo(item,subItem)"
label=
"修改"
/>
-->
@
click=
"takeContractTwo(item,subItem)"
label=
"修改"
/>
-->
<q-btn
color=
"secondary"
size=
"sm"
<q-btn
color=
"secondary"
size=
"sm"
@
click=
"goContractMannage()"
label=
"查看合同"
/>
@
click=
"goContractMannage()"
label=
"查看合同"
/
>
</
template
>
</
t
emplate
>
</t
d
>
</t
d
>
</t
r
>
</t
r
>
</t
able
>
</
table
>
</
div
>
</
div
>
</
q-banner
>
</q-
banner
>
</q-
popup-proxy
>
</
q-popup-proxy
>
</
div
>
</div
>
<div
class=
"row"
v-if=
"item.GuestList&&item.GuestList.length>0&&getTkshow(item.GuestList)"
>
<div
class=
"row"
v-if=
"item.GuestList&&item.GuestList.length>0&&getTkshow(item.GuestList)"
>
退课名单:
退课名单:
<span
v-for=
"(x,j) in item.GuestList"
:index=
"j"
v-if=
"x.GuestState==2"
<span
v-for=
"(x,j) in item.GuestList"
:index=
"j"
v-if=
"x.GuestState==2"
style=
"color:var(--q-color-negative);margin-right: 5px"
>
{{x.GuestName}}
</span>
style=
"color:var(--q-color-negative);margin-right: 5px"
>
{{x.GuestName}}
</span
>
</div
>
</div
>
<span
v-if=
"item.GuestList&&item.GuestList.length==0"
>
暂无
</span
>
<
span
v-if=
"item.GuestList&&item.GuestList.length==0"
>
暂无
</span
>
<
/td
>
</t
d
>
</t
r
>
</
tr>
<
tr>
<tr
>
<td
:colspan=
"12"
style=
"height: 168px;text-align: left"
>
<td
:colspan=
"12"
style=
"height: 168px;text-align: left
"
>
<div
class=
"col row remarks q-gutter-x-md
"
>
<div
class=
"col row remarks q-gutter-x-md
"
>
<div
class=
"col
"
>
<div
class=
"col"
>
<div>
销售备注:
</div
>
<div>
销售备注:
</div
>
<div
class=
"remarks-b"
>
<div
class=
"remarks-b
"
>
<div
v-if=
"item.SaleRemark!=null||item.SaleRemark!=''
"
>
<div
v-if=
"item.SaleRemark!=null||item.SaleRemark!=''"
>
<div>
{{item.SaleRemark}}
</div
>
<div>
{{item.SaleRemark}}
</div
>
<div
class=
"remarks-b-b"
>
<div
class=
"remarks-b-b"
>
<span
class=
"iconfont icon-xiangxia"
style=
"color: #2961FE;font-size: 10px"
<span
class=
"iconfont icon-xiangxia"
style=
"color: #2961FE;font-size: 10px"
v-if=
"item.SaleRemarkList&&item.SaleRemarkList.length>0"
></span>
v-if=
"item.SaleRemarkList&&item.SaleRemarkList.length>0"
></span
>
<q-popup-proxy
>
<q-popup-proxy
>
<q-banner
>
<q-banner
>
<div
style=
"width: 500px;"
>
<div
style=
"width: 500px;"
>
<div>
销售备注
</div
>
<div>
销售备注
</div>
<div
v-for=
"(xq,jq) in item.SaleRemarkList"
:index=
"jq"
<div
v-for=
"(xq,jq) in item.SaleRemarkList"
:index=
"jq"
style=
" margin-top: 10px;background: #e6e6e6;padding: 5px;font-size: 12px"
>
style=
" margin-top: 10px;background: #e6e6e6;padding: 5px;font-size: 12px"
>
<div>
{{xq.Content}}
</div
>
<div>
{{xq.Content
}}
</div>
<div
style=
"text-align: right"
>
{{xq.CreateBy}} {{xq.CreateTime
}}
</div>
<
div
style=
"text-align: right"
>
{{xq.CreateBy}} {{xq.CreateTime}}
<
/div>
</div>
</div>
</div>
</
div
>
</
q-banner
>
</q-
banner
>
</q-
popup-proxy
>
</
q-popup-proxy
>
</
div
>
</div>
</div>
<span
v-if=
"item.SaleRemark==null||item.SaleRemark==''"
>
暂无
</span>
</div>
</div>
<span
v-if=
"item.SaleRemark==null||item.SaleRemark==''"
>
暂无
</span>
</div>
</div>
</div
>
<div
class=
"col"
>
<div
class=
"col"
>
<div>
教务备注:
</div
>
<div>
教务备注:
</div
>
<div
class=
"remarks-b "
>
<div
class=
"remarks-b
"
>
<div
v-if=
"item.TeacherRemark!=null||item.TeacherRemark!=''
"
>
<div
v-if=
"item.TeacherRemark!=null||item.TeacherRemark!=''"
>
<div>
{{item.TeacherRemark}}
</div
>
<div>
{{item.TeacherRemark}}
</div
>
<div
class=
"remarks-b-b"
>
<div
class=
"remarks-b-b"
>
<span
class=
"iconfont icon-xiangxia"
style=
"color: #2961FE;font-size: 10px"
<span
class=
"iconfont icon-xiangxia"
style=
"color: #2961FE;font-size: 10px"
v-if=
"item.TeacherRemarkList&&item.TeacherRemarkList.length>0"
></span>
v-if=
"item.TeacherRemarkList&&item.TeacherRemarkList.length>0"
></span
>
<q-popup-proxy
>
<q-popup-proxy
>
<q-banner
>
<q-banner
>
<div
style=
"width: 500px;"
>
<div
style=
"width: 500px;"
>
<div>
教务备注
</div
>
<div>
教务备注
</div>
<div
v-for=
"(xq,jq) in item.TeacherRemarkList"
:index=
"jq"
<div
v-for=
"(xq,jq) in item.TeacherRemarkList"
:index=
"jq"
style=
" margin-top: 10px;background: #e6e6e6;padding: 5px;font-size: 12px"
>
style=
" margin-top: 10px;background: #e6e6e6;padding: 5px;font-size: 12px"
>
<div>
{{xq.Content}}
</div
>
<div>
{{xq.Content
}}
</div>
<div
style=
"text-align: right"
>
{{xq.CreateBy}} {{xq.CreateTime
}}
</div>
<
div
style=
"text-align: right"
>
{{xq.CreateBy}} {{xq.CreateTime}}
<
/div>
</div>
</div>
</div>
</
div
>
</
q-banner
>
</q-
banner
>
</q-
popup-proxy
>
</
q-popup-proxy
>
</
div
>
</div>
</div>
<span
v-if=
"item.TeacherRemark==null||item.TeacherRemark==''"
>
暂无
</span>
</div>
</div>
<span
v-if=
"item.TeacherRemark==null||item.TeacherRemark==''"
>
暂无
</span>
</div>
</div>
</div
>
<div
class=
"col"
>
<div
class=
"col"
>
<div>
校长备注:
</div
>
<div>
校长备注:
</div
>
<div
class=
"remarks-b "
>
<div
class=
"remarks-b
"
>
<div
v-if=
"item.RectorRemark!=null ||item.RectorRemark!=''
"
>
<div
v-if=
"item.RectorRemark!=null ||item.RectorRemark!=''"
>
<div>
{{item.RectorRemark}}
</div
>
<div>
{{item.RectorRemark}}
</div
>
<div
class=
"remarks-b-b"
>
<div
class=
"remarks-b-b"
>
<span
class=
"iconfont icon-xiangxia"
style=
"color: #2961FE;font-size: 10px"
<span
class=
"iconfont icon-xiangxia"
style=
"color: #2961FE;font-size: 10px"
v-if=
"item.RectorRemarkList&&item.RectorRemarkList.length>0"
></span>
v-if=
"item.RectorRemarkList&&item.RectorRemarkList.length>0"
></span
>
<q-popup-proxy
>
<q-popup-proxy
>
<q-banner
>
<q-banner
>
<div
style=
"width: 500px;"
>
<div
style=
"width: 500px;"
>
<div>
校长备注
</div
>
<div>
校长备注
</div>
<div
v-for=
"(xq,jq) in item.RectorRemarkList"
:index=
"jq"
<div
v-for=
"(xq,jq) in item.RectorRemarkList"
:index=
"jq"
style=
" margin-top: 10px;background: #e6e6e6;padding: 5px;font-size: 12px"
>
style=
" margin-top: 10px;background: #e6e6e6;padding: 5px;font-size: 12px"
>
<div>
{{xq.Content}}
</div
>
<div>
{{xq.Content
}}
</div>
<div
style=
"text-align: right"
>
{{xq.CreateBy}} {{xq.CreateTime
}}
</div>
<
div
style=
"text-align: right"
>
{{xq.CreateBy}} {{xq.CreateTime}}
<
/div>
</div>
</div>
</div>
</
div
>
</
q-banner
>
</q-
banner
>
</q-
popup-proxy
>
</
q-popup-proxy
>
</
div
>
</div>
</div>
<span
v-if=
"item.RectorRemark==null||item.RectorRemark==''"
>
暂无
</span>
</div>
</div>
<span
v-if=
"item.RectorRemark==null||item.RectorRemark==''"
>
暂无
</span>
</div>
</div>
</div
>
<div
class=
"col"
>
<div
class=
"col"
>
<div>
总经理备注:
</div
>
<div>
总经理备注:
</div
>
<div
class=
"remarks-b "
>
<div
class=
"remarks-b
"
>
<div
v-if=
"item.DirectorRemark!=null||item.DirectorRemark!=''
"
>
<div
v-if=
"item.DirectorRemark!=null||item.DirectorRemark!=''"
>
<div>
{{item.DirectorRemark}}
</div
>
<div>
{{item.DirectorRemark}}
</div
>
<div
class=
"remarks-b-b"
>
<div
class=
"remarks-b-b"
>
<span
class=
"iconfont icon-xiangxia"
style=
"color: #2961FE;font-size: 10px"
<span
class=
"iconfont icon-xiangxia"
style=
"color: #2961FE;font-size: 10px"
v-if=
"item.DirectorRemarkList&&item.DirectorRemarkList.length>0"
></span>
v-if=
"item.DirectorRemarkList&&item.DirectorRemarkList.length>0"
></span
>
<q-popup-proxy
>
<q-popup-proxy
>
<q-banner
>
<q-banner
>
<div
style=
"width: 500px;"
>
<div
style=
"width: 500px;"
>
<div>
总经理备注
</div
>
<div>
总经理备注
</div>
<div
v-for=
"(xq,jq) in item.DirectorRemarkList"
:index=
"jq"
<div
v-for=
"(xq,jq) in item.DirectorRemarkList"
:index=
"jq"
style=
" margin-top: 10px;background: #e6e6e6;padding: 5px;font-size: 12px"
>
style=
" margin-top: 10px;background: #e6e6e6;padding: 5px;font-size: 12px"
>
<div>
{{xq.Content}}
</div
>
<div>
{{xq.Content
}}
</div>
<div
style=
"text-align: right"
>
{{xq.CreateBy}} {{xq.CreateTime
}}
</div>
<
div
style=
"text-align: right"
>
{{xq.CreateBy}} {{xq.CreateTime}}
<
/div>
</div>
</div>
</div>
</
div
>
</
q-banner
>
</q-
banner
>
</q-
popup-proxy
>
</
q-popup-proxy
>
</
div
>
</div>
</div>
<span
v-if=
"item.DirectorRemark==null||item.DirectorRemark==''"
>
暂无
</span>
</div>
</div>
<span
v-if=
"item.DirectorRemark==null||item.DirectorRemark==''"
>
暂无
</span>
</div>
</div>
</div>
<div
class=
"col"
>
<div
class=
"col"
>
<div
class=
"row"
style=
"justify-content: space-between"
>
<div
class=
"row"
style=
"justify-content: space-between"
>
<span>
收款单据:
</span>
<span>
收款单据:
</span>
<!-- <q-btn flat size="xs" icon="edit" v-if="AuthorityObj.isShowFinanceBtn&&isEdit"
<!-- <q-btn flat size="xs" icon="edit" v-if="AuthorityObj.isShowFinanceBtn&&isEdit"
style="font-weight:400;color: #02C499" label="修改" /> -->
style="font-weight:400;color: #02C499" label="修改" /> -->
<q-btn
flat
size=
"xs"
icon=
"edit"
v-if=
"AuthorityObj.isShowFinanceBtn&&isEdit"
<q-btn
flat
size=
"xs"
icon=
"edit"
v-if=
"AuthorityObj.isShowFinanceBtn&&isEdit"
style=
"font-weight:400;color: #02C499"
label=
"修改"
@
click=
"showChooseStudent=true"
/>
style=
"font-weight:400;color: #02C499"
label=
"修改"
@
click=
"showChooseStudent=true"
/>
<q-popup-proxy
v-if=
"showChooseStudent"
>
<q-popup-proxy
v-if=
"showChooseStudent"
>
<q-banner>
<q-banner>
<div
style=
"width:500px;max-height:220px;overflow-y:auto;"
>
<div
style=
"width:500px;max-height:220px;overflow-y:auto;"
>
<table
class=
"Contract_Table"
>
<table
class=
"Contract_Table"
>
<tr>
<tr>
<th>
选择
</th>
<th>
选择
</th>
<th>
姓名
</th>
<th>
姓名
</th>
<th
style=
"width:180px;"
>
合同编号
</th>
<th
style=
"width:180px;"
>
合同编号
</th>
<th>
状态
</th>
<th>
状态
</th>
</tr>
</tr>
<tr
v-for=
"subItem in item.GuestList"
>
<tr
v-for=
"subItem in item.GuestList"
>
<td><q-radio
dense
v-model=
"chooseStudent"
:val=
"subItem.Id"
/>
<td>
<td>
{{subItem.GuestName}}
</td>
<q-radio
dense
v-model=
"chooseStudent"
:val=
"subItem.Id"
/>
<td>
{{subItem.ContractNo}}
</td>
<td>
{{subItem.GuestName}}
</td>
<td>
{{subItem.ContractStatusStr}}
</td>
<td>
{{subItem.ContractNo}}
</td>
</tr>
<td>
{{subItem.ContractStatusStr}}
</td>
</table>
</tr>
</table>
</div>
<q-btn
color=
"accent"
size=
"sm"
class=
"q-mr-md"
@
click=
"chanceType(item,1)"
label=
"制单"
style=
"min-width:70px;float:right;margin-top:10px"
/>
</q-banner>
</q-popup-proxy>
</div>
</div>
<q-btn
color=
"accent"
size=
"sm"
class=
"q-mr-md"
@
click=
"chanceType(item,1)"
label=
"制单"
style=
"min-width:70px;float:right;margin-top:10px"
/>
<div
class=
"row wrap"
>
</q-banner>
<div
class=
"finance row"
v-for=
"(x,j) in item.FinanceList"
:index=
"j"
</q-popup-proxy>
:style=
"{
</div>
<div
class=
"row wrap"
>
<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)')),
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'))}"
>
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>
<span
style=
"cursor: pointer"
@
click=
"goOrderdetails(item,4)"
>
{{x.FrID}}
</span>
</div>
</div>
</div>
</div>
<div
class=
"row"
style=
"justify-content: space-between"
>
<div
class=
"row"
style=
"justify-content: space-between"
>
<span>
付款单据:
</span>
<span>
付款单据:
</span>
<q-btn
flat
size=
"xs"
icon=
"edit"
v-if=
"AuthorityObj.isShowFinanceBtn&&isEdit"
<q-btn
flat
size=
"xs"
icon=
"edit"
v-if=
"AuthorityObj.isShowFinanceBtn&&isEdit"
style=
"font-weight:400;color: #02C499"
label=
"修改"
@
click=
"showChooseStudent=true"
/>
style=
"font-weight:400;color: #02C499"
label=
"修改"
@
click=
"showChooseStudent=true"
/>
<q-popup-proxy
v-if=
"showChooseStudent"
>
<q-popup-proxy
v-if=
"showChooseStudent"
>
<q-banner>
<q-banner>
<div
style=
"width:500px;max-height:220px;overflow-y:auto;"
>
<div
style=
"width:500px;max-height:220px;overflow-y:auto;"
>
<table
class=
"Contract_Table"
>
<table
class=
"Contract_Table"
>
<tr>
<tr>
<th>
选择
</th>
<th>
选择
</th>
<th>
姓名
</th>
<th>
姓名
</th>
<th
style=
"width:180px;"
>
合同编号
</th>
<th
style=
"width:180px;"
>
合同编号
</th>
<th>
状态
</th>
<th>
状态
</th>
</tr>
</tr>
<tr
v-for=
"subItem in item.GuestList"
>
<tr
v-for=
"subItem in item.GuestList"
>
<td>
<td><q-radio
dense
v-model=
"chooseStudent"
:val=
"subItem.Id"
/>
<q-radio
dense
v-model=
"chooseStudent"
:val=
"subItem.Id"
/>
<td>
{{subItem.GuestName}}
</td>
<td>
{{subItem.GuestName}}
</td>
<td>
{{subItem.ContractNo}}
</td>
<td>
{{subItem.ContractNo}}
</td>
<td>
{{subItem.ContractStatusStr}}
</td>
<td>
{{subItem.ContractStatusStr}}
</td>
</tr>
</tr>
</table>
</table>
</div>
<q-btn
color=
"accent"
size=
"sm"
class=
"q-mr-md"
@
click=
"chanceType(item,2)"
label=
"制单"
style=
"min-width:70px;float:right;margin-top:10px"
/>
</q-banner>
</q-popup-proxy>
</div>
</div>
<q-btn
color=
"accent"
size=
"sm"
class=
"q-mr-md"
@
click=
"chanceType(item,2)"
label=
"制单"
style=
"min-width:70px;float:right;margin-top:10px"
/>
<div
class=
"row wrap"
>
</q-banner>
<div
class=
"finance row"
v-for=
"(x,j) in item.RefundFinanceList"
:index=
"j"
</q-popup-proxy>
:style=
"{
</div>
<div
class=
"row wrap"
>
<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)')),
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'))}"
>
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>
<span
style=
"cursor: pointer"
@
click=
"goOrderdetails(item,4)"
>
{{x.FrID}}
</span>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</
div
>
</
td
>
</t
d
>
</t
r
>
</t
r
>
</t
body
>
</tbody>
<tbody
v-if=
"cancelList&&cancelList.length>0"
>
<tbody
v-if=
"cancelList&&cancelList.length>0"
>
<tr
>
<tr
>
<td
:colspan=
"12"
>
<td
:colspan=
"12"
>
<span
style=
"color:red;cursor:pointer;font-weight:bold;"
@
click=
'isShowCancel=!isShowCancel'
>
取消订单
</span
>
<
span
style=
"color:red;cursor:pointer;font-weight:bold;"
@
click=
'isShowCancel=!isShowCancel'
>
取消订单
</span
>
<
/td
>
</t
d
>
</t
r
>
</t
r
>
</t
body
>
</tbody>
<tbody
v-if=
"cancelList&&cancelList.length>0 && isShowCancel"
v-for=
"(item,index) in cancelList"
<tbody
v-if=
"cancelList&&cancelList.length>0 && isShowCancel"
v-for=
"(item,index) in cancelList"
:key=
"index+10000"
>
:key=
"index+10000"
>
<tr
>
<tr
>
<td
:rowspan=
"3"
style=
"text-align: left"
>
<td
:rowspan=
"3"
style=
"text-align: left"
>
<div
style=
"font-size: 18px;color: #2961FE;margin-bottom: 20px;font-weight: bold"
<div
style=
"font-size: 18px;color: #2961FE;margin-bottom: 20px;font-weight: bold"
@
click=
"goOrderdetails(item)"
>
{{item.OrderId}}
</div>
@
click=
"goOrderdetails(item)"
>
{{item.OrderId
}}
</div>
<div>
{{item.EnterName
}}
</div>
<div>
{{item.EnterNa
me}}
</div>
<div
style=
"margin-top: 10px"
>
{{item.CreateTi
me}}
</div>
<div
style=
"margin-top: 10px"
>
{{item.CreateTime}}
</div
>
<
template
v-if=
"isShowClass"
>
<
template
v-if=
"isShowClass"
>
<div
style=
"margin-top: 30px;margin-bottom: 10px"
>
班级
</div
>
<div
style=
"margin-top: 30px;margin-bottom: 10px"
>
班级
</div>
<div
style=
"font-weight: bold;color:#2961FE;"
@
click=
"getClassInfo(item)"
>
{{
item
.
ClassName
}}
</div>
<
div
style=
"font-weight: bold;color:#2961FE;"
@
click=
"getClassInfo(item)"
>
{{
item
.
ClassName
}}
</div
>
<
/
template
>
</
t
emplate
>
</t
d
>
</td>
<td
style=
"border:none"
>
{{item.GuestNum}}人
</td>
<td
style=
"border:none"
>
{{item.GuestNum}}人
</td>
<td
style=
"border:none"
>
{{item.Class_Price.toFixed(2)}}
</td>
<td
style=
"border:none"
>
{{item.Class_Price.toFixed(2)}}
</td
>
<td
:style=
"{color:item.Class_Price!=item.Unit_Price?'var(--q-color-negative)':'','border':'none'}"
>
<td
:style=
"{color:item.Class_Price!=item.Unit_Price?'var(--q-color-negative)':'','border':'none'}"
>
{{item.Unit_Price.toFixed(2)}}
{{item.Unit_Price.toFixed(2)}}
</td>
</td>
<td
style=
"border:none"
>
{{item.PreferPrice.toFixed(2)}}
</td>
<td
style=
"border:none"
>
{{item.PreferPric
e.toFixed(2)}}
</td>
<td
style=
"border:none"
>
{{item.Incom
e.toFixed(2)}}
</td>
<td
style=
"border:none"
>
{{item.Income
.toFixed(2)}}
</td>
<td
style=
"color:var(--q-color-negative);border:none"
>
{{item.DiscountMoney
.toFixed(2)}}
</td>
<td
style=
"color:var(--q-color-negative);border:none"
>
{{item.DiscountMoney
.toFixed(2)}}
</td>
<td
style=
"border:none"
>
{{item.Refund
.toFixed(2)}}
</td>
<td
style=
"border:none"
>
{{item.Refund
.toFixed(2)}}
</td>
<td
style=
"color:#2961FE;border:none"
>
{{item.DueInMoney
.toFixed(2)}}
</td>
<td
style=
"color:#2961FE;border:none"
>
{{item.DueInMoney.toFixed(2)}}
</td
>
<td
style=
"border:none"
>
<td
style=
"border:none
"
>
<div
style=
"background: rgba(2, 196, 153, 0.2);width: 80px;border-radius: 2px;text-align: center
"
>
<div
style=
"background: rgba(2, 196, 153, 0.2);width: 80px;border-radius: 2px;text-align: center"
>
<span
style=
"color: #02C499"
>
{{item.OrderStateName}}
</span
>
<
span
style=
"color: #02C499"
>
{{item.OrderStateName}}
</span
>
<
/div
>
</
div
>
</
td
>
</td
>
<td
style=
"border:none;"
v-if=
"isEdit"
>
<td
style=
"border:none;"
v-if=
"isEdit"
>
<q-btn
flat
size=
"xs"
icon=
"edit"
color=
"accent"
style=
"font-weight:400;display:none;"
label=
"编辑"
<q-btn
flat
size=
"xs"
icon=
"edit"
color=
"accent"
style=
"font-weight:400;display:none;"
label=
"编辑"
@
click=
"editOrder(item)"
/>
@
click=
"editOrder(item)"
/
>
<q-btn-dropdown
flat
size=
"xs"
color=
"dark"
label=
"更多"
style=
"margin-left:10px;display:none;"
>
<q-btn-dropdown
flat
size=
"xs"
color=
"dark"
label=
"更多"
style=
"margin-left:10px;display:none;"
>
<q-list
>
<q-list
>
<q-item
clickable
v-close-popup
>
<q-item
clickable
v-close-popup
>
<q-item-section
@
click=
"gostudent(item)"
>
<q-item-section
@
click=
"gostudent(item)"
>
<q-item-label>
学生名单
</q-item-label
>
<
q-item-label>
学生名单
</q-item-label
>
<
/q-item-section
>
</q-item
-section
>
</q-item>
</q-
item
>
</q-
list
>
</q-
list
>
</q-
btn-dropdown
>
</
q-btn-dropdown
>
</
td
>
</t
d
>
</t
r
>
</
tr>
<
tr>
<tr
>
<td
:colspan=
"11"
style=
"text-align: left"
>
<td
:colspan=
"11"
style=
"text-align: left
"
>
<div
class=
"row"
v-if=
"item.GuestList&&item.GuestList.length>0
"
>
<div
class=
"row"
v-if=
"item.GuestList&&item.GuestList.length>0"
>
学生名单:
学生名单:
<span
v-for=
"(x,j) in item.GuestList"
:index=
"j"
v-if=
"x.GuestState==1"
<span
v-for=
"(x,j) in item.GuestList"
:index=
"j"
v-if=
"x.GuestState==1"
style=
"color:#2961FE;margin-right: 5px"
>
{{x.GuestName}}
</span>
style=
"color:#2961FE;margin-right: 5px"
>
{{x.GuestName}}
</span
>
</div
>
</div
>
<div
class=
"row"
v-if=
"item.GuestList&&item.GuestList.length>0&&getTkshow(item.GuestList)"
>
<div
class=
"row"
v-if=
"item.GuestList&&item.GuestList.length>0&&getTkshow(item.GuestList)"
>
退课名单:
退课名单:
<span
v-for=
"(x,j) in item.GuestList"
:index=
"j"
v-if=
"x.GuestState==2"
<span
v-for=
"(x,j) in item.GuestList"
:index=
"j"
v-if=
"x.GuestState==2"
style=
"color:var(--q-color-negative);margin-right: 5px"
>
{{x.GuestName}}
</span>
style=
"color:var(--q-color-negative);margin-right: 5px"
>
{{x.GuestName}}
</span
>
</div
>
</div
>
<span
v-if=
"item.GuestList&&item.GuestList.length==0"
>
暂无
</span
>
<
span
v-if=
"item.GuestList&&item.GuestList.length==0"
>
暂无
</span
>
<
/td
>
</t
d
>
</t
r
>
</
tr>
<
tr>
<tr
>
<td
:colspan=
"11"
style=
"height: 168px;text-align: left"
>
<td
:colspan=
"11"
style=
"height: 168px;text-align: left
"
>
<div
class=
"col row remarks q-gutter-x-md
"
>
<div
class=
"col row remarks q-gutter-x-md
"
>
<div
class=
"col
"
>
<div
class=
"col"
>
<div>
销售备注:
</div
>
<div>
销售备注:
</div
>
<div
class=
"remarks-b"
>
<div
class=
"remarks-b
"
>
<div
v-if=
"item.SaleRemark!=null||item.SaleRemark!=''
"
>
<div
v-if=
"item.SaleRemark!=null||item.SaleRemark!=''"
>
<div>
{{item.SaleRemark}}
</div
>
<div>
{{item.SaleRemark}}
</div
>
<div
class=
"remarks-b-b"
>
<div
class=
"remarks-b-b"
>
<span
class=
"iconfont icon-xiangxia"
style=
"color: #2961FE;font-size: 10px"
<span
class=
"iconfont icon-xiangxia"
style=
"color: #2961FE;font-size: 10px"
v-if=
"item.SaleRemarkList&&item.SaleRemarkList.length>0"
></span>
v-if=
"item.SaleRemarkList&&item.SaleRemarkList.length>0"
></span
>
<q-popup-proxy
>
<q-popup-proxy
>
<q-banner
>
<q-banner
>
<div
style=
"width: 500px;"
>
<div
style=
"width: 500px;"
>
<div>
销售备注
</div
>
<div>
销售备注
</div>
<div
v-for=
"(xq,jq) in item.SaleRemarkList"
:index=
"jq"
<div
v-for=
"(xq,jq) in item.SaleRemarkList"
:index=
"jq"
style=
" margin-top: 10px;background: #e6e6e6;padding: 5px;font-size: 12px"
>
style=
" margin-top: 10px;background: #e6e6e6;padding: 5px;font-size: 12px"
>
<div>
{{xq.Content}}
</div
>
<div>
{{xq.Content
}}
</div>
<div
style=
"text-align: right"
>
{{xq.CreateBy}} {{xq.CreateTime
}}
</div>
<
div
style=
"text-align: right"
>
{{xq.CreateBy}} {{xq.CreateTime}}
<
/div>
</div>
</div>
</div>
</
div
>
</
q-banner
>
</q-
banner
>
</q-
popup-proxy
>
</
q-popup-proxy
>
</
div
>
</div>
</div>
<span
v-if=
"item.SaleRemark==null||item.SaleRemark==''"
>
暂无
</span>
</div>
</div>
<span
v-if=
"item.SaleRemark==null||item.SaleRemark==''"
>
暂无
</span>
</div>
</div>
</div
>
<div
class=
"col"
>
<div
class=
"col"
>
<div>
教务备注:
</div
>
<div>
教务备注:
</div
>
<div
class=
"remarks-b "
>
<div
class=
"remarks-b
"
>
<div
v-if=
"item.TeacherRemark!=null||item.TeacherRemark!=''
"
>
<div
v-if=
"item.TeacherRemark!=null||item.TeacherRemark!=''"
>
<div>
{{item.TeacherRemark}}
</div
>
<div>
{{item.TeacherRemark}}
</div
>
<div
class=
"remarks-b-b"
>
<div
class=
"remarks-b-b"
>
<span
class=
"iconfont icon-xiangxia"
style=
"color: #2961FE;font-size: 10px"
<span
class=
"iconfont icon-xiangxia"
style=
"color: #2961FE;font-size: 10px"
v-if=
"item.TeacherRemarkList&&item.TeacherRemarkList.length>0"
></span>
v-if=
"item.TeacherRemarkList&&item.TeacherRemarkList.length>0"
></span
>
<q-popup-proxy
>
<q-popup-proxy
>
<q-banner
>
<q-banner
>
<div
style=
"width: 500px;"
>
<div
style=
"width: 500px;"
>
<div>
教务备注
</div
>
<div>
教务备注
</div>
<div
v-for=
"(xq,jq) in item.TeacherRemarkList"
:index=
"jq"
<div
v-for=
"(xq,jq) in item.TeacherRemarkList"
:index=
"jq"
style=
" margin-top: 10px;background: #e6e6e6;padding: 5px;font-size: 12px"
>
style=
" margin-top: 10px;background: #e6e6e6;padding: 5px;font-size: 12px"
>
<div>
{{xq.Content}}
</div
>
<div>
{{xq.Content
}}
</div>
<div
style=
"text-align: right"
>
{{xq.CreateBy}} {{xq.CreateTime
}}
</div>
<
div
style=
"text-align: right"
>
{{xq.CreateBy}} {{xq.CreateTime}}
<
/div>
</div>
</div>
</div>
</
div
>
</
q-banner
>
</q-
banner
>
</q-
popup-proxy
>
</
q-popup-proxy
>
</
div
>
</div>
</div>
<span
v-if=
"item.TeacherRemark==null||item.TeacherRemark==''"
>
暂无
</span>
</div>
</div>
<span
v-if=
"item.TeacherRemark==null||item.TeacherRemark==''"
>
暂无
</span>
</div>
</div>
</div
>
<div
class=
"col"
>
<div
class=
"col"
>
<div>
校长备注:
</div
>
<div>
校长备注:
</div
>
<div
class=
"remarks-b "
>
<div
class=
"remarks-b
"
>
<div
v-if=
"item.RectorRemark!=null ||item.RectorRemark!=''
"
>
<div
v-if=
"item.RectorRemark!=null ||item.RectorRemark!=''"
>
<div>
{{item.RectorRemark}}
</div
>
<div>
{{item.RectorRemark}}
</div
>
<div
class=
"remarks-b-b"
>
<div
class=
"remarks-b-b"
>
<span
class=
"iconfont icon-xiangxia"
style=
"color: #2961FE;font-size: 10px"
<span
class=
"iconfont icon-xiangxia"
style=
"color: #2961FE;font-size: 10px"
v-if=
"item.RectorRemarkList&&item.RectorRemarkList.length>0"
></span>
v-if=
"item.RectorRemarkList&&item.RectorRemarkList.length>0"
></span
>
<q-popup-proxy
>
<q-popup-proxy
>
<q-banner
>
<q-banner
>
<div
style=
"width: 500px;"
>
<div
style=
"width: 500px;"
>
<div>
校长备注
</div
>
<div>
校长备注
</div>
<div
v-for=
"(xq,jq) in item.RectorRemarkList"
:index=
"jq"
<div
v-for=
"(xq,jq) in item.RectorRemarkList"
:index=
"jq"
style=
" margin-top: 10px;background: #e6e6e6;padding: 5px;font-size: 12px"
>
style=
" margin-top: 10px;background: #e6e6e6;padding: 5px;font-size: 12px"
>
<div>
{{xq.Content}}
</div
>
<div>
{{xq.Content
}}
</div>
<div
style=
"text-align: right"
>
{{xq.CreateBy}} {{xq.CreateTime
}}
</div>
<
div
style=
"text-align: right"
>
{{xq.CreateBy}} {{xq.CreateTime}}
<
/div>
</div>
</div>
</div>
</
div
>
</
q-banner
>
</q-
banner
>
</q-
popup-proxy
>
</
q-popup-proxy
>
</
div
>
</div>
</div>
<span
v-if=
"item.RectorRemark==null||item.RectorRemark==''"
>
暂无
</span>
</div>
</div>
<span
v-if=
"item.RectorRemark==null||item.RectorRemark==''"
>
暂无
</span>
</div>
</div>
</div
>
<div
class=
"col"
>
<div
class=
"col"
>
<div>
总经理备注:
</div
>
<div>
总经理备注:
</div
>
<div
class=
"remarks-b "
>
<div
class=
"remarks-b
"
>
<div
v-if=
"item.DirectorRemark!=null||item.DirectorRemark!=''
"
>
<div
v-if=
"item.DirectorRemark!=null||item.DirectorRemark!=''"
>
<div>
{{item.DirectorRemark}}
</div
>
<div>
{{item.DirectorRemark}}
</div
>
<div
class=
"remarks-b-b"
>
<div
class=
"remarks-b-b"
>
<span
class=
"iconfont icon-xiangxia"
style=
"color: #2961FE;font-size: 10px"
<span
class=
"iconfont icon-xiangxia"
style=
"color: #2961FE;font-size: 10px"
v-if=
"item.DirectorRemarkList&&item.DirectorRemarkList.length>0"
></span>
v-if=
"item.DirectorRemarkList&&item.DirectorRemarkList.length>0"
></span
>
<q-popup-proxy
>
<q-popup-proxy
>
<q-banner
>
<q-banner
>
<div
style=
"width: 500px;"
>
<div
style=
"width: 500px;"
>
<div>
总经理备注
</div
>
<div>
总经理备注
</div>
<div
v-for=
"(xq,jq) in item.DirectorRemarkList"
:index=
"jq"
<div
v-for=
"(xq,jq) in item.DirectorRemarkList"
:index=
"jq"
style=
" margin-top: 10px;background: #e6e6e6;padding: 5px;font-size: 12px"
>
style=
" margin-top: 10px;background: #e6e6e6;padding: 5px;font-size: 12px"
>
<div>
{{xq.Content}}
</div
>
<div>
{{xq.Content
}}
</div>
<div
style=
"text-align: right"
>
{{xq.CreateBy}} {{xq.CreateTime
}}
</div>
<
div
style=
"text-align: right"
>
{{xq.CreateBy}} {{xq.CreateTime}}
<
/div>
</div>
</div>
</div>
</
div
>
</
q-banner
>
</q-
banner
>
</q-
popup-proxy
>
</
q-popup-proxy
>
</
div
>
</div>
</div>
<span
v-if=
"item.DirectorRemark==null||item.DirectorRemark==''"
>
暂无
</span>
</div>
</div>
<span
v-if=
"item.DirectorRemark==null||item.DirectorRemark==''"
>
暂无
</span>
</div>
</div>
</div>
<div
class=
"col"
>
<div
class=
"col"
>
<div
class=
"row"
style=
"justify-content: space-between"
>
<div
class=
"row"
style=
"justify-content: space-between"
>
<span>
收款单据:
</span>
<span>
收款单据:
</span>
<q-btn
flat
size=
"xs"
icon=
"edit"
v-if=
"AuthorityObj.isShowFinanceBtn"
<q-btn
flat
size=
"xs"
icon=
"edit"
v-if=
"AuthorityObj.isShowFinanceBtn"
style=
"font-weight:400;color: #02C499"
label=
"修改"
@
click=
"showChooseStudent=true"
/>
style=
"font-weight:400;color: #02C499"
label=
"修改"
@
click=
"showChooseStudent=true"
/>
<q-popup-proxy
v-if=
"showChooseStudent"
>
<q-popup-proxy
v-if=
"showChooseStudent"
>
<q-banner>
<q-banner>
<div
style=
"width:500px;max-height:220px;overflow-y:auto;"
>
<div
style=
"width:500px;max-height:220px;overflow-y:auto;"
>
<table
class=
"Contract_Table"
>
<table
class=
"Contract_Table"
>
<tr>
<tr>
<th>
选择
</th>
<th>
选择
</th>
<th>
姓名
</th>
<th>
姓名
</th>
<th
style=
"width:180px;"
>
合同编号
</th>
<th
style=
"width:180px;"
>
合同编号
</th>
<th>
状态
</th>
<th>
状态
</th>
</tr>
</tr>
<tr
v-for=
"subItem in item.GuestList"
>
<tr
v-for=
"subItem in item.GuestList"
>
<td>
<td><q-radio
dense
v-model=
"chooseStudent"
:val=
"subItem.Id"
/>
<q-radio
dense
v-model=
"chooseStudent"
:val=
"subItem.Id"
/>
<td>
{{subItem.GuestName}}
</td>
<td>
{{subItem.GuestName}}
</td>
<td>
{{subItem.ContractNo}}
</td>
<td>
{{subItem.ContractNo}}
</td>
<td>
{{subItem.ContractStatusStr}}
</td>
<td>
{{subItem.ContractStatusStr}}
</td>
</tr>
</tr>
</table>
</table>
</div>
<q-btn
color=
"accent"
size=
"sm"
class=
"q-mr-md"
@
click=
"chanceType(item,1)"
label=
"制单"
style=
"min-width:70px;float:right;margin-top:10px"
/>
</q-banner>
</q-popup-proxy>
</div>
</div>
<q-btn
color=
"accent"
size=
"sm"
class=
"q-mr-md"
@
click=
"chanceType(item,1)"
label=
"制单"
style=
"min-width:70px;float:right;margin-top:10px"
/>
<div
class=
"row wrap"
>
</q-banner>
<div
class=
"finance row"
v-for=
"(x,j) in item.FinanceList"
:index=
"j"
</q-popup-proxy>
:style=
"{
</div>
<div
class=
"row wrap"
>
<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)')),
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'))}"
>
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>
<span
style=
"cursor: pointer"
@
click=
"goOrderdetails(item,4)"
>
{{x.FrID}}
</span>
</div>
</div>
</div>
</div>
<div
class=
"row"
style=
"justify-content: space-between"
>
<div
class=
"row"
style=
"justify-content: space-between"
>
<span>
付款单据:
</span>
<span>
付款单据:
</span>
<q-btn
flat
size=
"xs"
icon=
"edit"
v-if=
"AuthorityObj.isShowFinanceBtn"
<q-btn
flat
size=
"xs"
icon=
"edit"
v-if=
"AuthorityObj.isShowFinanceBtn"
style=
"font-weight:400;color: #02C499"
label=
"修改"
@
click=
"showChooseStudent=true"
/>
style=
"font-weight:400;color: #02C499"
label=
"修改"
@
click=
"showChooseStudent=true"
/>
<q-popup-proxy
v-if=
"showChooseStudent"
>
<q-popup-proxy
v-if=
"showChooseStudent"
>
<q-banner>
<q-banner>
<div
style=
"width:500px;max-height:220px;overflow-y:auto;"
>
<div
style=
"width:500px;max-height:220px;overflow-y:auto;"
>
<table
class=
"Contract_Table"
>
<table
class=
"Contract_Table"
>
<tr>
<tr>
<th>
选择
</th>
<th>
选择
</th>
<th>
姓名
</th>
<th>
姓名
</th>
<th
style=
"width:180px;"
>
合同编号
</th>
<th
style=
"width:180px;"
>
合同编号
</th>
<th>
状态
</th>
<th>
状态
</th>
</tr>
</tr>
<tr
v-for=
"subItem in item.GuestList"
>
<tr
v-for=
"subItem in item.GuestList"
>
<td>
<td><q-radio
dense
v-model=
"chooseStudent"
:val=
"subItem.Id"
/>
<q-radio
dense
v-model=
"chooseStudent"
:val=
"subItem.Id"
/>
<td>
{{subItem.GuestName}}
</td>
<td>
{{subItem.GuestName}}
</td>
<td>
{{subItem.ContractNo}}
</td>
<td>
{{subItem.ContractNo}}
</td>
<td>
{{subItem.ContractStatusStr}}
</td>
<td>
{{subItem.ContractStatusStr}}
</td>
</tr>
</tr>
</table>
</table>
</div>
<q-btn
color=
"accent"
size=
"sm"
class=
"q-mr-md"
@
click=
"chanceType(item,2)"
label=
"制单"
style=
"min-width:70px;float:right;margin-top:10px"
/>
</q-banner>
</q-popup-proxy>
</div>
</div>
<q-btn
color=
"accent"
size=
"sm"
class=
"q-mr-md"
@
click=
"chanceType(item,2)"
label=
"制单"
style=
"min-width:70px;float:right;margin-top:10px"
/>
<div
class=
"row wrap"
>
</q-banner>
<div
class=
"finance row"
v-for=
"(x,j) in item.RefundFinanceList"
:index=
"j"
</q-popup-proxy>
:style=
"{
</div>
<div
class=
"row wrap"
>
<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)')),
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'))}"
>
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>
<span
style=
"cursor: pointer"
@
click=
"goOrderdetails(item,4)"
>
{{x.FrID}}
</span>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</td>
</td>
</tr>
</tr>
</tbody>
</tbody>
<!--取消订单-->
<!--取消订单-->
</table>
</table>
</div>
</div>
<!--修改订单-->
<!--修改订单-->
<editorder-form
v-if=
"isShowEditOrderForm"
:save-obj=
"editObj"
:orderType=
"1"
@
close=
"closeOrderSaveForm"
@
success=
"refreshOrder"
>
<editorder-form
v-if=
"isShowEditOrderForm"
:save-obj=
"orderObj"
:orderType=
"orderObj.OrderType"
@
close=
"closeOrderSaveForm"
@
success=
"refreshOrder"
>
</editorder-form>
</editorder-form>
<!--修改订单备注-->
<!--修改订单备注-->
...
@@ -772,9 +773,9 @@
...
@@ -772,9 +773,9 @@
type
:
Object
,
type
:
Object
,
},
},
//是否可以编辑
//是否可以编辑
isEdit
:{
isEdit
:
{
type
:
Boolean
,
type
:
Boolean
,
default
:
true
default
:
true
}
}
},
},
data
()
{
data
()
{
...
@@ -812,23 +813,33 @@
...
@@ -812,23 +813,33 @@
isShowRewardEdit
:
false
,
//是否显示修改额外提成按钮
isShowRewardEdit
:
false
,
//是否显示修改额外提成按钮
isShowBackClass
:
false
,
//是否显示退课按钮
isShowBackClass
:
false
,
//是否显示退课按钮
isShowRenewClass
:
false
,
//是否显示续课按钮
isShowRenewClass
:
false
,
//是否显示续课按钮
isShowContract
:
true
,
//是都显示合同
isShowContract
:
true
,
//是都显示合同
},
},
isShowEduForm
:
false
,
isShowEduForm
:
false
,
eduObj
:{},
eduObj
:
{},
isShowPop
:
false
,
isShowPop
:
false
,
showChooseStudent
:
false
,
//收款单据,是否显示单选学生
showChooseStudent
:
false
,
//收款单据,是否显示单选学生
chooseStudent
:
""
,
//收款单据,单选学生
chooseStudent
:
""
,
//收款单据,单选学生
editObj
:{}
isShowReward
:
false
,
// 是否可以修改额外金额
}
}
},
},
created
()
{
created
()
{
this
.
initAuth
();
this
.
initAuth
();
this
.
Employee
();
this
.
Employee
();
var
localStorageData
=
window
.
localStorage
[
"loginUserInfo"
];
let
ActionMenuList
=
JSON
.
parse
(
localStorageData
).
data
.
ActionMenuList
if
(
ActionMenuList
&&
ActionMenuList
.
length
>
0
)
{
ActionMenuList
.
forEach
(
x
=>
{
if
(
x
.
FunctionCode
==
'Edit_OrderExtraMoney'
)
{
this
.
isShowReward
=
true
}
})
}
},
},
mounted
()
{
mounted
()
{},
},
methods
:
{
methods
:
{
//初始化权限信息
//初始化权限信息
initAuth
()
{
initAuth
()
{
...
@@ -991,9 +1002,9 @@
...
@@ -991,9 +1002,9 @@
this
.
$router
.
push
({
this
.
$router
.
push
({
path
:
tempStr
,
path
:
tempStr
,
query
:
{
query
:
{
OrderId
:
item
.
OrderId
,
OrderId
:
item
.
OrderId
,
ClassId
:
item
.
ClassId
,
ClassId
:
item
.
ClassId
,
SourceId
:
item
.
SourceId
,
SourceId
:
item
.
SourceId
,
isShow
:
this
.
AuthorityObj
.
isShowGuestBtn
isShow
:
this
.
AuthorityObj
.
isShowGuestBtn
}
}
});
});
...
@@ -1015,7 +1026,6 @@
...
@@ -1015,7 +1026,6 @@
//显示修改订单
//显示修改订单
editOrder
(
item
)
{
editOrder
(
item
)
{
this
.
orderObj
=
item
;
this
.
orderObj
=
item
;
this
.
editObj
.
OrderId
=
item
.
OrderId
;
this
.
isShowEditOrderForm
=
true
;
this
.
isShowEditOrderForm
=
true
;
},
},
//刷新页面
//刷新页面
...
@@ -1061,14 +1071,14 @@
...
@@ -1061,14 +1071,14 @@
},
},
//财务单据
//财务单据
chanceType
(
obj
,
type
)
{
chanceType
(
obj
,
type
)
{
if
(
this
.
chooseStudent
==
""
)
{
if
(
this
.
chooseStudent
==
""
)
{
this
.
$q
.
notify
({
this
.
$q
.
notify
({
icon
:
'close'
,
icon
:
'close'
,
color
:
'accent'
,
color
:
'accent'
,
timeout
:
2000
,
timeout
:
2000
,
message
:
'请选择学生'
,
message
:
'请选择学生'
,
position
:
'top'
position
:
'top'
})
})
return
return
}
}
let
TCIDARR
=
[]
let
TCIDARR
=
[]
...
@@ -1112,7 +1122,7 @@
...
@@ -1112,7 +1122,7 @@
'blank'
:
'y'
,
'blank'
:
'y'
,
'orderObj'
:
JSON
.
stringify
(
orderObj
),
'orderObj'
:
JSON
.
stringify
(
orderObj
),
'tradeWay'
:
obj
.
tradeWay
,
'tradeWay'
:
obj
.
tradeWay
,
"GuestId"
:
this
.
chooseStudent
"GuestId"
:
this
.
chooseStudent
}
}
});
});
},
},
...
@@ -1170,11 +1180,11 @@
...
@@ -1170,11 +1180,11 @@
ContractId
:
subItem
.
ContractId
ContractId
:
subItem
.
ContractId
}
}
this
.
eduObj
=
obj
;
this
.
eduObj
=
obj
;
this
.
isShowPop
=
false
;
this
.
isShowPop
=
false
;
this
.
isShowEduForm
=
true
;
this
.
isShowEduForm
=
true
;
},
},
//跳转至合同管理
//跳转至合同管理
goContractMannage
(){
goContractMannage
()
{
this
.
$router
.
push
({
this
.
$router
.
push
({
path
:
'/sale/contractManage'
,
path
:
'/sale/contractManage'
,
query
:
{}
query
:
{}
...
@@ -1407,16 +1417,17 @@
...
@@ -1407,16 +1417,17 @@
border-collapse
:
collapse
;
border-collapse
:
collapse
;
}
}
.Contract_Table
th
,
.Contract_Table
td
{
.Contract_Table
th
,
.Contract_Table
td
{
padding
:
5px
;
padding
:
5px
;
color
:
#000
;
color
:
#000
;
text-align
:
center
;
text-align
:
center
;
}
}
.table-body
{
height
:
590px
;
.table-body
{
overflow-x
:
hidden
;
height
:
590px
;
overflow-y
:
auto
;
overflow-x
:
hidden
;
}
overflow-y
:
auto
;
}
</
style
>
</
style
>
src/pages/sale/japaneseTrain.vue
View file @
0736d768
...
@@ -222,50 +222,6 @@
...
@@ -222,50 +222,6 @@
</ul>
</ul>
<div
v-else
style=
"width: 100%;color: #999999;text-align: center;font-size: 15px"
>
暂无数据
</div>
<div
v-else
style=
"width: 100%;color: #999999;text-align: center;font-size: 15px"
>
暂无数据
</div>
</div>
</div>
<!-- <q-dialog v-model="dialog" maximized full-height seamless position="right">
<q-card style="margin-top:61px;width:500px" class="no-border-radius classinfo_Dialog">
<div class="drawerTop">
<div style="display:flex;align-items:center;margin-left:10px;">
<span class="drawer_Span">学员报名</span>
</div>
</div>
<div style="padding:20px 15px;">
<q-input filled stack-label maxlength="4" :dense="false" v-model="enrollMsg.GuestNum" type="number"
@input="peopleNumber" class="col-12" label="人数" :rules="[val => !!val || '请填写人数']" />
<q-input filled stack-label :dense="false" maxlength="8" v-model="enrollMsg.Unit_Price"
:disable="IsUpPrice==true?false:true" @blur="priceNumber" class="col-12" label="成交单价"
:rules="[val => !!val || '请填成交单价']" />
<q-toggle v-model="IsUpPrice" label="高于定价收生" class="q-mb-md" />
<q-select v-model="enrollMsg.HelpEnterId" :options="EmployeeList" filled use-input label="协助人员"
option-label="EmployeeName" option-value="Id" ref="EmployeeName" class="col-6 q-pb-lg" emit-value map-options
@filter="filterFn">
<template v-slot:no-option>
<q-item>
<q-item-section class="text-grey">
未找到相关数据
</q-item-section>
</q-item>
</template>
</q-select>
<q-select standout="bg-primary text-white" option-value="Id" option-label="Name"
v-model="enrollMsg.OrderSource" :options="SourceEnumList" class="q-pb-lg" emit-value map-options label="客人来源" />
<q-input v-if="enrollMsg.OrderSource==3" filled stack-label :dense="false" v-model="enrollMsg.GeneralOccupation" maxlength="50" class="col-12 q-pb-lg" label="一般同行" />
<q-input v-if="enrollMsg.OrderSource==7" filled stack-label :dense="false" v-model="enrollMsg.EduOccupation" maxlength="50" class="col-12 q-pb-lg" label="教育同行" />
<q-toggle v-model="enrollMsg.IsLessPrice" :false-value="0" :true-value="1" label="是否少价" class="q-mb-md" />
<q-input v-if="enrollMsg.IsLessPrice==1" @keyup.native="checkPrice(enrollMsg,'LessPrice')" filled stack-label maxlength="10" :dense="false" v-model="enrollMsg.LessPrice" class="col-12" label="少价金额" />
<q-input filled stack-label type="textarea" maxlength="500" :dense="false" v-model="enrollMsg.SaleRemark"
style="margin-top: 20px" class="col-12" label="备注" />
<div style="margin:30px 10px 0 0;">
<q-btn class="q-mr-md" label="取消" @click="dialog=false" />
<q-btn color="accent" class="q-mr-md" label="保存" @click="saveSatMsg()" />
</div>
</div>
</q-card>
<div class="dialog-out-close" @click="dialog=false"
style="height:40px !important;border-top-left-radius: 4px !important;border-bottom-left-radius: 4px !important;">
<q-icon name="iconfont icon-jujue1" size="26px" />
</div>
</q-dialog> -->
<editorder-form
v-if=
"isShowEditOrderForm"
:save-obj=
"orderObj"
:orderType=
"1"
@
close=
"closeOrderSaveForm"
@
success=
"refreshOrder"
>
<editorder-form
v-if=
"isShowEditOrderForm"
:save-obj=
"orderObj"
:orderType=
"1"
@
close=
"closeOrderSaveForm"
@
success=
"refreshOrder"
>
</editorder-form>
</editorder-form>
</div>
</div>
...
...
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