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 @@
<
template
>
<div
class=
"classorder"
>
<div
class=
"table-head"
>
<table
class=
"enrollTotalSearchTable"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
>
<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>
<thead>
<tr
class=
"fix_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=
"6%"
>
少价金额
</th>
<th
width=
"7%"
>
退款
</th>
<th
width=
"7%"
>
平台税金
</th>
<th
width=
"7%"
>
待收金额
</th>
<th
width=
"7%"
>
状态
</th>
<th
v-if=
"isEdit"
>
操作
</th>
</tr>
<table
class=
"enrollTotalSearchTable"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
>
<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>
<thead>
<tr
class=
"fix_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=
"6%"
>
少价金额
</th>
<th
width=
"7%"
>
退款
</th>
<th
width=
"7%"
>
平台税金
</th>
<th
width=
"7%"
>
待收金额
</th>
<th
width=
"7%"
>
状态
</th>
<th
>
操作
</th>
</tr>
</thead>
</table>
</table>
</div>
<div
class=
"table-body"
>
<table
class=
"enrollTotalSearchTable"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
>
<!--
<tr
class=
"fix_th"
>
<th
width=
"12%"
>
单号
</th>
<th
width=
"7.5%"
>
人数
</th>
<th
width=
"7.5%"
>
单价
</th>
<th
width=
"7.5%"
>
成交
</th>
<th
width=
"7.5%"
>
应收总额
</th>
<th
width=
"7.5%"
>
实收
</th>
<th
width=
"7.5%"
>
优惠
</th>
<th
width=
"7.5%"
>
退款
</th>
<th
width=
"7.5%"
>
平台税金
</th>
<th
width=
"7.5%"
>
待收金额
</th>
<th
width=
"8%"
>
状态
</th>
<th
v-if=
"isEdit"
>
操作
</th>
</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"
>
<table
class=
"enrollTotalSearchTable"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
>
<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
:rowspan=
"3"
style=
"text-align: left"
>
<div
class=
"order_OfferId"
@
click=
"goOrderdetails(item,1)"
>
{{
item
.
OrderId
}}
</div>
<div>
{{
item
.
EnterName
}}
</div>
<div
style=
"margin-top: 10px"
>
{{
item
.
CreateTime
}}
</div>
<template
v-if=
"AuthorityObj.isShowName"
>
<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}}
<td
v-show=
"dataList && dataList.length==0"
:colspan=
"12"
align=
"center"
>
暂无数据
</td>
</tr>
<tbody
v-for=
"(item,index) in dataList"
:key=
"index"
>
<tr>
<td
:rowspan=
"3"
style=
"text-align: left"
>
<div
class=
"order_OfferId"
@
click=
"goOrderdetails(item,1)"
>
{{
item
.
OrderId
}}
</div>
<div>
<
template
v-if=
"item.OrderSource==3"
>
一般同行:
{{
item
.
GeneralOccupation
}}
</
template
>
<
template
v-if=
"item.OrderSource==7"
>
教育同行:
{{
item
.
EduOccupation
}}
</
template
>
<div>
{{
item
.
EnterName
}}
</div>
<div
style=
"margin-top: 10px"
>
{{
item
.
CreateTime
}}
</div>
<template
v-if=
"AuthorityObj.isShowName"
>
<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>
<
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>
</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>
<
template
v-if=
"item.IsCommissionGive==1"
>
<div
style=
"margin-top:30px;"
>
提成:
{{
item
.
CommissionMoney
}}
</div>
</
template
>
<
template
>
<div
style=
"margin-top:30px;color:red;"
v-if=
"item.ExtraRewardMoney>0"
>
额外奖励:
{{
item
.
ExtraRewardMoney
}}
<
template
v-if=
"item.IsCommissionGive==1"
>
<div
style=
"margin-top:30px;"
>
提成:
{{
item
.
CommissionMoney
}}
</div>
</
template
>
<
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?'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
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?'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>
</td>
<td
style=
"border:none"
v-if=
"isEdit"
>
<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
>
<q-item-section
@
click=
"gostudent(item)"
>
<q-item-label>
学生名单
</q-item-label>
</q-item-section>
</q-item>
<q-item
clickable
v-close-popup
v-if=
"AuthorityObj.isShowTransOrder"
>
<q-item-section
@
click=
"transferOrder(item,1)"
>
<q-item-label>
转交订单
</q-item-label>
</q-item-section>
</q-item>
<q-item
clickable
v-close-popup
v-if=
"AuthorityObj.isShowEditSale"
>
<q-item-section
@
click=
"transferOrder(item,2)"
>
<q-item-label>
修改销售
</q-item-label>
</q-item-section>
</q-item>
<q-item
clickable
v-close-popup
v-if=
"AuthorityObj.isShowSaleRemark"
>
<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>
</td>
<td
style=
"border:none"
>
<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
>
<q-item-section
@
click=
"gostudent(item)"
>
<q-item-label>
学生名单
</q-item-label>
</q-item-section>
</q-item>
<q-item
clickable
v-close-popup
v-if=
"AuthorityObj.isShowTransOrder"
>
<q-item-section
@
click=
"transferOrder(item,1)"
>
<q-item-label>
转交订单
</q-item-label>
</q-item-section>
</q-item>
<q-item
clickable
v-close-popup
v-if=
"AuthorityObj.isShowEditSale"
>
<q-item-section
@
click=
"transferOrder(item,2)"
>
<q-item-label>
修改销售
</q-item-label>
</q-item-section>
</q-item>
<q-item
clickable
v-close-popup
v-if=
"AuthorityObj.isShowSaleRemark"
>
<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-section
@
click=
"upDateMoney(item,1)"
>
<q-item-label>
修改提成
</q-item-label>
</q-item-section>
</q-item>
<q-item
clickable
v-close-popup
v-if=
"AuthorityObj.isShowRewardEdit
"
>
<q-item-section
@
click=
"upDateMoney(item,2)"
>
<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-section
@
click=
"upDateMoney(item,1)"
>
<q-item-label>
修改提成
</q-item-label>
</q-item-section>
</q-item>
<q-item
clickable
v-close-popup
v-if=
"AuthorityObj.isShowRewardEdit&&isShowReward
"
>
<q-item-section
@
click=
"upDateMoney(item,2)"
>
<q-item-label>
额外奖励
</q-item-label>
</q-item-section>
</q-item>
<q-item
clickable
v-close-popup
>
<q-item-section
@
click=
"CancelOrder(item)"
>
<q-item-label>
取消订单
</q-item-label>
</q-item-section>
</q-item>
<q-item
clickable
v-close-popup
v-close-popup
v-if=
"AuthorityObj.isShowBackClass"
>
<q-item-section>
<q-item-label
@
click=
"showBackClassForm(item)"
>
退课
</q-item-label>
</q-item-section>
</q-item>
<q-item
clickable
v-close-popup
v-close-popup
v-if=
"AuthorityObj.isShowRenewClass"
>
<q-item-section>
<q-item-label
@
click=
"showContinueClass(item)"
>
续课
</q-item-label>
</q-item-section>
</q-item>
</q-list>
</q-btn-dropdown>
</td>
</tr>
<tr>
<td
:colspan=
"12"
style=
"text-align: left"
>
<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"
style=
"color:#2961FE;margin-right: 5px"
>
{{x.GuestName}}
</span>
</div>
<div
v-if=
"AuthorityObj.isShowContract&&item.GuestList&&item.GuestList.length>0"
class=
"takeContract"
>
<span
@
click=
"isShowPop=true"
>
查看合同
</span>
<q-popup-proxy
v-if=
"isShowPop"
>
<q-banner>
<div
style=
"width: 520px;max-height:220px;overflow:auto;"
>
<table
class=
"Contract_Table"
>
<tr>
<th>
姓名
</th>
<th
style=
"width:180px;"
>
合同编号
</th>
<th>
状态
</th>
<th
width=
"170px;"
v-if=
"isEdit"
>
操作
</th>
</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;"
<q-item
clickable
v-close-popup
disabled
v-if=
"(item.FinanceList&&item.FinanceList.length>0)||(item.RefundFinanceList&&item.RefundFinanceList.length>0)"
>
<q-item-section>
<q-item-label>
取消订单
</q-item-label>
<q-tooltip
anchor=
"center left"
self=
"center right"
content-class=
"bg-red"
>
已有财务单据无法取消
</q-tooltip>
</q-item-section>
</q-item>
<q-item
clickable
v-close-popup
v-else
>
<q-item-section
@
click=
"CancelOrder(item)"
>
<q-item-label>
取消订单
</q-item-label>
</q-item-section>
</q-item>
<q-item
clickable
v-close-popup
v-close-popup
v-if=
"AuthorityObj.isShowBackClass"
>
<q-item-section>
<q-item-label
@
click=
"showBackClassForm(item)"
>
退课
</q-item-label>
</q-item-section>
</q-item>
<q-item
clickable
v-close-popup
v-close-popup
v-if=
"AuthorityObj.isShowRenewClass"
>
<q-item-section>
<q-item-label
@
click=
"showContinueClass(item)"
>
续课
</q-item-label>
</q-item-section>
</q-item>
</q-list>
</q-btn-dropdown>
</td>
</tr>
<tr>
<td
:colspan=
"12"
style=
"text-align: left"
>
<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"
style=
"color:#2961FE;margin-right: 5px"
>
{{x.GuestName}}
</span>
</div>
<div
v-if=
"AuthorityObj.isShowContract&&item.GuestList&&item.GuestList.length>0"
class=
"takeContract"
>
<span
@
click=
"isShowPop=true"
>
查看合同
</span>
<q-popup-proxy
v-if=
"isShowPop"
>
<q-banner>
<div
style=
"width: 520px;max-height:220px;overflow:auto;"
>
<table
class=
"Contract_Table"
>
<tr>
<th>
姓名
</th>
<th
style=
"width:180px;"
>
合同编号
</th>
<th>
状态
</th>
<th
width=
"170px;"
v-if=
"isEdit"
>
操作
</th>
</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=
"修改"
/>
-->
<q-btn
color=
"secondary"
size=
"sm"
@
click=
"goContractMannage()"
label=
"查看合同"
/
>
</
t
emplate
>
</t
d
>
</t
r
>
</
table
>
</
div
>
</q-
banner
>
</
q-popup-proxy
>
</div
>
<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"
style=
"color:var(--q-color-negative);margin-right: 5px"
>
{{x.GuestName}}
</span
>
</div
>
<
span
v-if=
"item.GuestList&&item.GuestList.length==0"
>
暂无
</span
>
</t
d
>
</
tr>
<tr
>
<td
:colspan=
"12"
style=
"height: 168px;text-align: left
"
>
<div
class=
"col row remarks q-gutter-x-md
"
>
<div
class=
"col"
>
<div>
销售备注:
</div
>
<div
class=
"remarks-b
"
>
<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
>
<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>
{{xq.Content
}}
</div>
<
div
style=
"text-align: right"
>
{{xq.CreateBy}} {{xq.CreateTime}}
<
/div>
<q-btn
color=
"secondary"
size=
"sm"
@
click=
"goContractMannage()"
label=
"查看合同"
/>
</
template
>
</t
d
>
</t
r
>
</t
able
>
</
div
>
</
q-banner
>
</q-
popup-proxy
>
</
div
>
<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"
style=
"color:var(--q-color-negative);margin-right: 5px"
>
{{x.GuestName}}
</span>
</div
>
<span
v-if=
"item.GuestList&&item.GuestList.length==0"
>
暂无
</span
>
<
/td
>
</t
r
>
<
tr>
<td
:colspan=
"12"
style=
"height: 168px;text-align: left"
>
<div
class=
"col row remarks q-gutter-x-md
"
>
<div
class=
"col
"
>
<div>
销售备注:
</div
>
<div
class=
"remarks-b"
>
<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>
<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>
{{xq.Content}}
</div
>
<div
style=
"text-align: right"
>
{{xq.CreateBy}} {{xq.CreateTime
}}
</div>
</div>
</div>
</
div
>
</q-
banner
>
</
q-popup-proxy
>
</
q-banner
>
</q-
popup-proxy
>
</
div
>
</div>
<span
v-if=
"item.SaleRemark==null||item.SaleRemark==''"
>
暂无
</span>
</div>
<span
v-if=
"item.SaleRemark==null||item.SaleRemark==''"
>
暂无
</span>
</div>
</div
>
<div
class=
"col"
>
<div>
教务备注:
</div
>
<div
class=
"remarks-b
"
>
<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
>
<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>
{{xq.Content
}}
</div>
<
div
style=
"text-align: right"
>
{{xq.CreateBy}} {{xq.CreateTime}}
<
/div>
<div
class=
"col"
>
<div>
教务备注:
</div
>
<div
class=
"remarks-b "
>
<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>
<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>
{{xq.Content}}
</div
>
<div
style=
"text-align: right"
>
{{xq.CreateBy}} {{xq.CreateTime
}}
</div>
</div>
</div>
</
div
>
</q-
banner
>
</
q-popup-proxy
>
</
q-banner
>
</q-
popup-proxy
>
</
div
>
</div>
<span
v-if=
"item.TeacherRemark==null||item.TeacherRemark==''"
>
暂无
</span>
</div>
<span
v-if=
"item.TeacherRemark==null||item.TeacherRemark==''"
>
暂无
</span>
</div>
</div
>
<div
class=
"col"
>
<div>
校长备注:
</div
>
<div
class=
"remarks-b
"
>
<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
>
<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>
{{xq.Content
}}
</div>
<
div
style=
"text-align: right"
>
{{xq.CreateBy}} {{xq.CreateTime}}
<
/div>
<div
class=
"col"
>
<div>
校长备注:
</div
>
<div
class=
"remarks-b "
>
<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>
<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>
{{xq.Content}}
</div
>
<div
style=
"text-align: right"
>
{{xq.CreateBy}} {{xq.CreateTime
}}
</div>
</div>
</div>
</
div
>
</q-
banner
>
</
q-popup-proxy
>
</
q-banner
>
</q-
popup-proxy
>
</
div
>
</div>
<span
v-if=
"item.RectorRemark==null||item.RectorRemark==''"
>
暂无
</span>
</div>
<span
v-if=
"item.RectorRemark==null||item.RectorRemark==''"
>
暂无
</span>
</div>
</div
>
<div
class=
"col"
>
<div>
总经理备注:
</div
>
<div
class=
"remarks-b
"
>
<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
>
<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>
{{xq.Content
}}
</div>
<
div
style=
"text-align: right"
>
{{xq.CreateBy}} {{xq.CreateTime}}
<
/div>
<div
class=
"col"
>
<div>
总经理备注:
</div
>
<div
class=
"remarks-b "
>
<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>
<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>
{{xq.Content}}
</div
>
<div
style=
"text-align: right"
>
{{xq.CreateBy}} {{xq.CreateTime
}}
</div>
</div>
</div>
</
div
>
</q-
banner
>
</
q-popup-proxy
>
</
q-banner
>
</q-
popup-proxy
>
</
div
>
</div>
<span
v-if=
"item.DirectorRemark==null||item.DirectorRemark==''"
>
暂无
</span>
</div>
<span
v-if=
"item.DirectorRemark==null||item.DirectorRemark==''"
>
暂无
</span>
</div>
</div>
<div
class=
"col"
>
<div
class=
"row"
style=
"justify-content: space-between"
>
<span>
收款单据:
</span>
<!-- <q-btn flat size="xs" icon="edit" v-if="AuthorityObj.isShowFinanceBtn&&isEdit"
<div
class=
"col"
>
<div
class=
"row"
style=
"justify-content: space-between"
>
<span>
收款单据:
</span>
<!-- <q-btn flat size="xs" icon="edit" v-if="AuthorityObj.isShowFinanceBtn&&isEdit"
style="font-weight:400;color: #02C499" label="修改" /> -->
<q-btn
flat
size=
"xs"
icon=
"edit"
v-if=
"AuthorityObj.isShowFinanceBtn&&isEdit"
style=
"font-weight:400;color: #02C499"
label=
"修改"
@
click=
"showChooseStudent=true"
/>
<q-popup-proxy
v-if=
"showChooseStudent"
>
<q-banner>
<div
style=
"width:500px;max-height:220px;overflow-y:auto;"
>
<table
class=
"Contract_Table"
>
<tr>
<th>
选择
</th>
<th>
姓名
</th>
<th
style=
"width:180px;"
>
合同编号
</th>
<th>
状态
</th>
</tr>
<tr
v-for=
"subItem in item.GuestList"
>
<td><q-radio
dense
v-model=
"chooseStudent"
:val=
"subItem.Id"
/>
<td>
{{subItem.GuestName}}
</td>
<td>
{{subItem.ContractNo}}
</td>
<td>
{{subItem.ContractStatusStr}}
</td>
</tr>
</table>
<q-btn
flat
size=
"xs"
icon=
"edit"
v-if=
"AuthorityObj.isShowFinanceBtn&&isEdit"
style=
"font-weight:400;color: #02C499"
label=
"修改"
@
click=
"showChooseStudent=true"
/>
<q-popup-proxy
v-if=
"showChooseStudent"
>
<q-banner>
<div
style=
"width:500px;max-height:220px;overflow-y:auto;"
>
<table
class=
"Contract_Table"
>
<tr>
<th>
选择
</th>
<th>
姓名
</th>
<th
style=
"width:180px;"
>
合同编号
</th>
<th>
状态
</th>
</tr>
<tr
v-for=
"subItem in item.GuestList"
>
<td>
<q-radio
dense
v-model=
"chooseStudent"
:val=
"subItem.Id"
/>
<td>
{{subItem.GuestName}}
</td>
<td>
{{subItem.ContractNo}}
</td>
<td>
{{subItem.ContractStatusStr}}
</td>
</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>
<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
class=
"row wrap"
>
<div
class=
"finance row"
v-for=
"(x,j) in item.FinanceList"
:index=
"j"
:style=
"{
<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)')),
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
class=
"row"
style=
"justify-content: space-between"
>
<span>
付款单据:
</span>
<q-btn
flat
size=
"xs"
icon=
"edit"
v-if=
"AuthorityObj.isShowFinanceBtn&&isEdit"
style=
"font-weight:400;color: #02C499"
label=
"修改"
@
click=
"showChooseStudent=true"
/>
<q-popup-proxy
v-if=
"showChooseStudent"
>
<q-banner>
<div
style=
"width:500px;max-height:220px;overflow-y:auto;"
>
<table
class=
"Contract_Table"
>
<tr>
<th>
选择
</th>
<th>
姓名
</th>
<th
style=
"width:180px;"
>
合同编号
</th>
<th>
状态
</th>
</tr>
<tr
v-for=
"subItem in item.GuestList"
>
<td><q-radio
dense
v-model=
"chooseStudent"
:val=
"subItem.Id"
/>
<td>
{{subItem.GuestName}}
</td>
<td>
{{subItem.ContractNo}}
</td>
<td>
{{subItem.ContractStatusStr}}
</td>
</tr>
</table>
<div
class=
"row"
style=
"justify-content: space-between"
>
<span>
付款单据:
</span>
<q-btn
flat
size=
"xs"
icon=
"edit"
v-if=
"AuthorityObj.isShowFinanceBtn&&isEdit"
style=
"font-weight:400;color: #02C499"
label=
"修改"
@
click=
"showChooseStudent=true"
/>
<q-popup-proxy
v-if=
"showChooseStudent"
>
<q-banner>
<div
style=
"width:500px;max-height:220px;overflow-y:auto;"
>
<table
class=
"Contract_Table"
>
<tr>
<th>
选择
</th>
<th>
姓名
</th>
<th
style=
"width:180px;"
>
合同编号
</th>
<th>
状态
</th>
</tr>
<tr
v-for=
"subItem in item.GuestList"
>
<td>
<q-radio
dense
v-model=
"chooseStudent"
:val=
"subItem.Id"
/>
<td>
{{subItem.GuestName}}
</td>
<td>
{{subItem.ContractNo}}
</td>
<td>
{{subItem.ContractStatusStr}}
</td>
</tr>
</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>
<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
class=
"row wrap"
>
<div
class=
"finance row"
v-for=
"(x,j) in item.RefundFinanceList"
:index=
"j"
:style=
"{
<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)')),
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
>
</t
d
>
</t
r
>
</tbody>
<tbody
v-if=
"cancelList&&cancelList.length>0"
>
<tr
>
<td
:colspan=
"12"
>
<
span
style=
"color:red;cursor:pointer;font-weight:bold;"
@
click=
'isShowCancel=!isShowCancel'
>
取消订单
</span
>
</t
d
>
</t
r
>
</tbody>
<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>
{{item.EnterNa
me}}
</div>
<div
style=
"margin-top: 10px"
>
{{item.CreateTime}}
</div
>
<
template
v-if=
"isShowClass"
>
<div
style=
"margin-top: 30px;margin-bottom: 10px"
>
班级
</div>
<
div
style=
"font-weight: bold;color:#2961FE;"
@
click=
"getClassInfo(item)"
>
{{
item
.
ClassName
}}
</div
>
</
t
emplate
>
</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?'var(--q-color-negative)':'','border':'none'}"
>
{{item.Unit_Price.toFixed(2)}}
</td>
<td
style=
"border:none"
>
{{item.PreferPric
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=
"border:none"
>
{{item.Refund
.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
>
</td
>
<td
style=
"border:none;"
v-if=
"isEdit"
>
<q-btn
flat
size=
"xs"
icon=
"edit"
color=
"accent"
style=
"font-weight:400;display:none;"
label=
"编辑"
@
click=
"editOrder(item)"
/
>
<q-btn-dropdown
flat
size=
"xs"
color=
"dark"
label=
"更多"
style=
"margin-left:10px;display:none;"
>
<q-list
>
<q-item
clickable
v-close-popup
>
<q-item-section
@
click=
"gostudent(item)"
>
<
q-item-label>
学生名单
</q-item-label
>
</q-item
-section
>
</q-
item
>
</q-
list
>
</
q-btn-dropdown
>
</t
d
>
</
tr>
<tr
>
<td
:colspan=
"11"
style=
"text-align: left
"
>
<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"
style=
"color:#2961FE;margin-right: 5px"
>
{{x.GuestName}}
</span
>
</div
>
<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"
style=
"color:var(--q-color-negative);margin-right: 5px"
>
{{x.GuestName}}
</span
>
</div
>
<
span
v-if=
"item.GuestList&&item.GuestList.length==0"
>
暂无
</span
>
</t
d
>
</
tr>
<tr
>
<td
:colspan=
"11"
style=
"height: 168px;text-align: left
"
>
<div
class=
"col row remarks q-gutter-x-md
"
>
<div
class=
"col"
>
<div>
销售备注:
</div
>
<div
class=
"remarks-b
"
>
<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
>
<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>
{{xq.Content
}}
</div>
<
div
style=
"text-align: right"
>
{{xq.CreateBy}} {{xq.CreateTime}}
<
/div>
</
td
>
</t
r
>
</t
body
>
<tbody
v-if=
"cancelList&&cancelList.length>0"
>
<tr
>
<td
:colspan=
"12"
>
<span
style=
"color:red;cursor:pointer;font-weight:bold;"
@
click=
'isShowCancel=!isShowCancel'
>
取消订单
</span
>
<
/td
>
</t
r
>
</t
body
>
<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>
{{item.EnterName
}}
</div>
<div
style=
"margin-top: 10px"
>
{{item.CreateTi
me}}
</div>
<
template
v-if=
"isShowClass"
>
<div
style=
"margin-top: 30px;margin-bottom: 10px"
>
班级
</div
>
<div
style=
"font-weight: bold;color:#2961FE;"
@
click=
"getClassInfo(item)"
>
{{
item
.
ClassName
}}
</div>
<
/
template
>
</t
d
>
<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.Incom
e.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=
"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
>
</
td
>
<td
style=
"border:none;"
v-if=
"isEdit"
>
<q-btn
flat
size=
"xs"
icon=
"edit"
color=
"accent"
style=
"font-weight:400;display:none;"
label=
"编辑"
@
click=
"editOrder(item)"
/>
<q-btn-dropdown
flat
size=
"xs"
color=
"dark"
label=
"更多"
style=
"margin-left:10px;display:none;"
>
<q-list
>
<q-item
clickable
v-close-popup
>
<q-item-section
@
click=
"gostudent(item)"
>
<q-item-label>
学生名单
</q-item-label
>
<
/q-item-section
>
</q-item>
</q-
list
>
</q-
btn-dropdown
>
</
td
>
</t
r
>
<
tr>
<td
:colspan=
"11"
style=
"text-align: left"
>
<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"
style=
"color:#2961FE;margin-right: 5px"
>
{{x.GuestName}}
</span>
</div
>
<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"
style=
"color:var(--q-color-negative);margin-right: 5px"
>
{{x.GuestName}}
</span>
</div
>
<span
v-if=
"item.GuestList&&item.GuestList.length==0"
>
暂无
</span
>
<
/td
>
</t
r
>
<
tr>
<td
:colspan=
"11"
style=
"height: 168px;text-align: left"
>
<div
class=
"col row remarks q-gutter-x-md
"
>
<div
class=
"col
"
>
<div>
销售备注:
</div
>
<div
class=
"remarks-b"
>
<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>
<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>
{{xq.Content}}
</div
>
<div
style=
"text-align: right"
>
{{xq.CreateBy}} {{xq.CreateTime
}}
</div>
</div>
</div>
</
div
>
</q-
banner
>
</
q-popup-proxy
>
</
q-banner
>
</q-
popup-proxy
>
</
div
>
</div>
<span
v-if=
"item.SaleRemark==null||item.SaleRemark==''"
>
暂无
</span>
</div>
<span
v-if=
"item.SaleRemark==null||item.SaleRemark==''"
>
暂无
</span>
</div>
</div
>
<div
class=
"col"
>
<div>
教务备注:
</div
>
<div
class=
"remarks-b
"
>
<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
>
<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>
{{xq.Content
}}
</div>
<
div
style=
"text-align: right"
>
{{xq.CreateBy}} {{xq.CreateTime}}
<
/div>
<div
class=
"col"
>
<div>
教务备注:
</div
>
<div
class=
"remarks-b "
>
<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>
<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>
{{xq.Content}}
</div
>
<div
style=
"text-align: right"
>
{{xq.CreateBy}} {{xq.CreateTime
}}
</div>
</div>
</div>
</
div
>
</q-
banner
>
</
q-popup-proxy
>
</
q-banner
>
</q-
popup-proxy
>
</
div
>
</div>
<span
v-if=
"item.TeacherRemark==null||item.TeacherRemark==''"
>
暂无
</span>
</div>
<span
v-if=
"item.TeacherRemark==null||item.TeacherRemark==''"
>
暂无
</span>
</div>
</div
>
<div
class=
"col"
>
<div>
校长备注:
</div
>
<div
class=
"remarks-b
"
>
<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
>
<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>
{{xq.Content
}}
</div>
<
div
style=
"text-align: right"
>
{{xq.CreateBy}} {{xq.CreateTime}}
<
/div>
<div
class=
"col"
>
<div>
校长备注:
</div
>
<div
class=
"remarks-b "
>
<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>
<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>
{{xq.Content}}
</div
>
<div
style=
"text-align: right"
>
{{xq.CreateBy}} {{xq.CreateTime
}}
</div>
</div>
</div>
</
div
>
</q-
banner
>
</
q-popup-proxy
>
</
q-banner
>
</q-
popup-proxy
>
</
div
>
</div>
<span
v-if=
"item.RectorRemark==null||item.RectorRemark==''"
>
暂无
</span>
</div>
<span
v-if=
"item.RectorRemark==null||item.RectorRemark==''"
>
暂无
</span>
</div>
</div
>
<div
class=
"col"
>
<div>
总经理备注:
</div
>
<div
class=
"remarks-b
"
>
<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
>
<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>
{{xq.Content
}}
</div>
<
div
style=
"text-align: right"
>
{{xq.CreateBy}} {{xq.CreateTime}}
<
/div>
<div
class=
"col"
>
<div>
总经理备注:
</div
>
<div
class=
"remarks-b "
>
<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>
<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>
{{xq.Content}}
</div
>
<div
style=
"text-align: right"
>
{{xq.CreateBy}} {{xq.CreateTime
}}
</div>
</div>
</div>
</
div
>
</q-
banner
>
</
q-popup-proxy
>
</
q-banner
>
</q-
popup-proxy
>
</
div
>
</div>
<span
v-if=
"item.DirectorRemark==null||item.DirectorRemark==''"
>
暂无
</span>
</div>
<span
v-if=
"item.DirectorRemark==null||item.DirectorRemark==''"
>
暂无
</span>
</div>
</div>
<div
class=
"col"
>
<div
class=
"row"
style=
"justify-content: space-between"
>
<span>
收款单据:
</span>
<q-btn
flat
size=
"xs"
icon=
"edit"
v-if=
"AuthorityObj.isShowFinanceBtn"
style=
"font-weight:400;color: #02C499"
label=
"修改"
@
click=
"showChooseStudent=true"
/>
<q-popup-proxy
v-if=
"showChooseStudent"
>
<q-banner>
<div
style=
"width:500px;max-height:220px;overflow-y:auto;"
>
<table
class=
"Contract_Table"
>
<tr>
<th>
选择
</th>
<th>
姓名
</th>
<th
style=
"width:180px;"
>
合同编号
</th>
<th>
状态
</th>
</tr>
<tr
v-for=
"subItem in item.GuestList"
>
<td><q-radio
dense
v-model=
"chooseStudent"
:val=
"subItem.Id"
/>
<td>
{{subItem.GuestName}}
</td>
<td>
{{subItem.ContractNo}}
</td>
<td>
{{subItem.ContractStatusStr}}
</td>
</tr>
</table>
<div
class=
"col"
>
<div
class=
"row"
style=
"justify-content: space-between"
>
<span>
收款单据:
</span>
<q-btn
flat
size=
"xs"
icon=
"edit"
v-if=
"AuthorityObj.isShowFinanceBtn"
style=
"font-weight:400;color: #02C499"
label=
"修改"
@
click=
"showChooseStudent=true"
/>
<q-popup-proxy
v-if=
"showChooseStudent"
>
<q-banner>
<div
style=
"width:500px;max-height:220px;overflow-y:auto;"
>
<table
class=
"Contract_Table"
>
<tr>
<th>
选择
</th>
<th>
姓名
</th>
<th
style=
"width:180px;"
>
合同编号
</th>
<th>
状态
</th>
</tr>
<tr
v-for=
"subItem in item.GuestList"
>
<td>
<q-radio
dense
v-model=
"chooseStudent"
:val=
"subItem.Id"
/>
<td>
{{subItem.GuestName}}
</td>
<td>
{{subItem.ContractNo}}
</td>
<td>
{{subItem.ContractStatusStr}}
</td>
</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>
<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
class=
"row wrap"
>
<div
class=
"finance row"
v-for=
"(x,j) in item.FinanceList"
:index=
"j"
:style=
"{
<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)')),
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
class=
"row"
style=
"justify-content: space-between"
>
<span>
付款单据:
</span>
<q-btn
flat
size=
"xs"
icon=
"edit"
v-if=
"AuthorityObj.isShowFinanceBtn"
style=
"font-weight:400;color: #02C499"
label=
"修改"
@
click=
"showChooseStudent=true"
/>
<q-popup-proxy
v-if=
"showChooseStudent"
>
<q-banner>
<div
style=
"width:500px;max-height:220px;overflow-y:auto;"
>
<table
class=
"Contract_Table"
>
<tr>
<th>
选择
</th>
<th>
姓名
</th>
<th
style=
"width:180px;"
>
合同编号
</th>
<th>
状态
</th>
</tr>
<tr
v-for=
"subItem in item.GuestList"
>
<td><q-radio
dense
v-model=
"chooseStudent"
:val=
"subItem.Id"
/>
<td>
{{subItem.GuestName}}
</td>
<td>
{{subItem.ContractNo}}
</td>
<td>
{{subItem.ContractStatusStr}}
</td>
</tr>
</table>
<div
class=
"row"
style=
"justify-content: space-between"
>
<span>
付款单据:
</span>
<q-btn
flat
size=
"xs"
icon=
"edit"
v-if=
"AuthorityObj.isShowFinanceBtn"
style=
"font-weight:400;color: #02C499"
label=
"修改"
@
click=
"showChooseStudent=true"
/>
<q-popup-proxy
v-if=
"showChooseStudent"
>
<q-banner>
<div
style=
"width:500px;max-height:220px;overflow-y:auto;"
>
<table
class=
"Contract_Table"
>
<tr>
<th>
选择
</th>
<th>
姓名
</th>
<th
style=
"width:180px;"
>
合同编号
</th>
<th>
状态
</th>
</tr>
<tr
v-for=
"subItem in item.GuestList"
>
<td>
<q-radio
dense
v-model=
"chooseStudent"
:val=
"subItem.Id"
/>
<td>
{{subItem.GuestName}}
</td>
<td>
{{subItem.ContractNo}}
</td>
<td>
{{subItem.ContractStatusStr}}
</td>
</tr>
</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>
<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
class=
"row wrap"
>
<div
class=
"finance row"
v-for=
"(x,j) in item.RefundFinanceList"
:index=
"j"
:style=
"{
<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)')),
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>
</td>
</tr>
</tbody>
<!--取消订单-->
</table>
</div>
</td>
</tr>
</tbody>
<!--取消订单-->
</table>
</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>
<!--修改订单备注-->
...
...
@@ -772,9 +773,9 @@
type
:
Object
,
},
//是否可以编辑
isEdit
:{
type
:
Boolean
,
default
:
true
isEdit
:
{
type
:
Boolean
,
default
:
true
}
},
data
()
{
...
...
@@ -812,23 +813,33 @@
isShowRewardEdit
:
false
,
//是否显示修改额外提成按钮
isShowBackClass
:
false
,
//是否显示退课按钮
isShowRenewClass
:
false
,
//是否显示续课按钮
isShowContract
:
true
,
//是都显示合同
isShowContract
:
true
,
//是都显示合同
},
isShowEduForm
:
false
,
eduObj
:{},
isShowPop
:
false
,
showChooseStudent
:
false
,
//收款单据,是否显示单选学生
chooseStudent
:
""
,
//收款单据,单选学生
editObj
:{}
isShowEduForm
:
false
,
eduObj
:
{},
isShowPop
:
false
,
showChooseStudent
:
false
,
//收款单据,是否显示单选学生
chooseStudent
:
""
,
//收款单据,单选学生
isShowReward
:
false
,
// 是否可以修改额外金额
}
},
created
()
{
this
.
initAuth
();
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
:
{
//初始化权限信息
initAuth
()
{
...
...
@@ -991,9 +1002,9 @@
this
.
$router
.
push
({
path
:
tempStr
,
query
:
{
OrderId
:
item
.
OrderId
,
ClassId
:
item
.
ClassId
,
SourceId
:
item
.
SourceId
,
OrderId
:
item
.
OrderId
,
ClassId
:
item
.
ClassId
,
SourceId
:
item
.
SourceId
,
isShow
:
this
.
AuthorityObj
.
isShowGuestBtn
}
});
...
...
@@ -1015,7 +1026,6 @@
//显示修改订单
editOrder
(
item
)
{
this
.
orderObj
=
item
;
this
.
editObj
.
OrderId
=
item
.
OrderId
;
this
.
isShowEditOrderForm
=
true
;
},
//刷新页面
...
...
@@ -1061,14 +1071,14 @@
},
//财务单据
chanceType
(
obj
,
type
)
{
if
(
this
.
chooseStudent
==
""
)
{
if
(
this
.
chooseStudent
==
""
)
{
this
.
$q
.
notify
({
icon
:
'close'
,
color
:
'accent'
,
timeout
:
2000
,
message
:
'请选择学生'
,
position
:
'top'
})
icon
:
'close'
,
color
:
'accent'
,
timeout
:
2000
,
message
:
'请选择学生'
,
position
:
'top'
})
return
}
let
TCIDARR
=
[]
...
...
@@ -1112,7 +1122,7 @@
'blank'
:
'y'
,
'orderObj'
:
JSON
.
stringify
(
orderObj
),
'tradeWay'
:
obj
.
tradeWay
,
"GuestId"
:
this
.
chooseStudent
"GuestId"
:
this
.
chooseStudent
}
});
},
...
...
@@ -1170,11 +1180,11 @@
ContractId
:
subItem
.
ContractId
}
this
.
eduObj
=
obj
;
this
.
isShowPop
=
false
;
this
.
isShowEduForm
=
true
;
this
.
isShowPop
=
false
;
this
.
isShowEduForm
=
true
;
},
//跳转至合同管理
goContractMannage
(){
goContractMannage
()
{
this
.
$router
.
push
({
path
:
'/sale/contractManage'
,
query
:
{}
...
...
@@ -1407,16 +1417,17 @@
border-collapse
:
collapse
;
}
.Contract_Table
th
,
.Contract_Table
td
{
.Contract_Table
th
,
.Contract_Table
td
{
padding
:
5px
;
color
:
#000
;
text-align
:
center
;
}
.table-body
{
height
:
590px
;
overflow-x
:
hidden
;
overflow-y
:
auto
;
}
.table-body
{
height
:
590px
;
overflow-x
:
hidden
;
overflow-y
:
auto
;
}
</
style
>
src/pages/sale/japaneseTrain.vue
View file @
0736d768
...
...
@@ -222,50 +222,6 @@
</ul>
<div
v-else
style=
"width: 100%;color: #999999;text-align: center;font-size: 15px"
>
暂无数据
</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>
</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