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
820790b2
Commit
820790b2
authored
Sep 17, 2021
by
罗超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
·
parent
281b06ee
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1807 additions
and
1196 deletions
+1807
-1196
activeOrder-item.vue
src/components/sale/activeOrder-item.vue
+1607
-1048
activeSignUpList.vue
src/pages/activity/activeSignUpList.vue
+200
-148
No files found.
src/components/sale/activeOrder-item.vue
View file @
820790b2
...
@@ -2,7 +2,12 @@
...
@@ -2,7 +2,12 @@
<
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%"
/>
...
@@ -11,7 +16,8 @@
...
@@ -11,7 +16,8 @@
<col
width=
"7%"
/>
<col
width=
"7%"
/>
<col
width=
"7%"
/>
<col
width=
"7%"
/>
<col
width=
"7%"
/>
<col
width=
"7%"
/>
<col>
<col
width=
"7%"
v-if=
"isActivity"
/>
<col
/>
</colgroup>
</colgroup>
<thead>
<thead>
<tr
class=
"fix_th"
>
<tr
class=
"fix_th"
>
...
@@ -23,6 +29,7 @@
...
@@ -23,6 +29,7 @@
<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%"
v-if=
"isActivity"
>
来源
</th>
<th
width=
"7%"
>
状态
</th>
<th
width=
"7%"
>
状态
</th>
<th>
操作
</th>
<th>
操作
</th>
</tr>
</tr>
...
@@ -30,7 +37,12 @@
...
@@ -30,7 +37,12 @@
</table>
</table>
</div>
</div>
<div
class=
"table-body"
>
<div
class=
"table-body"
>
<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%"
/>
...
@@ -40,81 +52,128 @@
...
@@ -40,81 +52,128 @@
<col
width=
"7%"
/>
<col
width=
"7%"
/>
<col
width=
"7%"
/>
<col
width=
"7%"
/>
<col
width=
"7%"
/>
<col
width=
"7%"
/>
<col
width=
"7%"
v-if=
"isActivity"
/>
<col
width=
"7%"
/>
<col
width=
"7%"
/>
<col>
<col
/
>
</colgroup>
</colgroup>
<tr>
<tr>
<td
v-show=
"dataList && dataList.length==0"
:colspan=
"12"
align=
"center"
>
暂无数据
</td>
<td
v-show=
"dataList && dataList.length == 0"
:colspan=
"12"
align=
"center"
>
暂无数据
</td>
</tr>
</tr>
<tbody
v-for=
"(item,index) in dataList"
:key=
"index"
>
<tbody
v-for=
"(item,
index) in dataList"
:key=
"index"
>
<tr>
<tr>
<td
:rowspan=
"2"
style=
"text-align: left"
>
<td
:rowspan=
"2"
style=
"text-align: left"
>
<div
class=
"order_OfferId"
@
click=
"goOrderdetails(item,1)"
>
{{
item
.
Id
}}
<div
class=
"order_OfferId"
@
click=
"goOrderdetails(item, 1)"
>
{{
item
.
Id
}}
</div>
</div>
<div>
<div>
{{
item
.
PaymentWayName
}}
{{
item
.
PaymentWayName
}}
</div>
</div>
<div
v-if=
"item.EduSellName"
>
{{
item
.
EduSellName
}}
</div>
<div
v-if=
"item.EduSellName"
>
{{
item
.
EduSellName
}}
</div>
<div
v-if=
"!item.EduSellName"
style=
"color:
#f00"
>
未关联销售
</div>
<div
v-if=
"!item.EduSellName"
style=
"color:
#f00"
>
未关联销售
</div>
<div>
{{
item
.
ActivityName
}}
</div>
<div>
{{
item
.
ActivityName
}}
</div>
<div>
活动开始时间:
</div>
<div>
活动开始时间:
</div>
<div>
{{
item
.
StartTime
}}
</div>
<div>
{{
item
.
StartTime
}}
</div>
<div>
活动结束时间:
</div>
<div>
活动结束时间:
</div>
<div>
{{
item
.
EndTime
}}
</div>
<div>
{{
item
.
EndTime
}}
</div>
<div
v-if=
"item.IsCommission == 2"
style=
"color:#f00;cursor: pointer;text-decoration: underline;"
@
click=
"gourlactive(item)"
>
提成金额:
{{
item
.
CommissionPrice
}}
</div>
<div
v-if=
"item.IsCommission == 2"
style=
"color: #f00; cursor: pointer; text-decoration: underline"
@
click=
"gourlactive(item)"
>
提成金额:
{{
item
.
CommissionPrice
}}
</div>
<template
v-if=
"AuthorityObj.isShowName"
>
<template
v-if=
"AuthorityObj.isShowName"
>
<div
style=
"font-weight: bold;color:#2961FE;cursor:pointer;"
@
click=
"getClassInfo(item)"
>
<div
{{
item
.
ClassName
}}
</div>
style=
"font-weight: bold; color: #2961fe; cursor: pointer"
<div
v-if=
"item.HelpEnterName"
>
@
click=
"getClassInfo(item)"
协助人员:
{{
item
.
HelpEnterName
}}
>
{{
item
.
ClassName
}}
</div>
</div>
<div
v-if=
"item.
OpenTi
me"
>
<div
v-if=
"item.
HelpEnterNa
me"
>
开班时间:
{{
item
.
OpenTime
}}
协助人员:
{{
item
.
HelpEnterName
}}
</div>
</div>
<div
v-if=
"item.OpenTime"
>
开班时间:
{{
item
.
OpenTime
}}
</div>
<div>
<div>
<template
v-if=
"item.OrderSource
==
3"
>
<template
v-if=
"item.OrderSource
==
3"
>
一般同行:
{{
item
.
GeneralOccupation
}}
一般同行:
{{
item
.
GeneralOccupation
}}
</
template
>
</
template
>
<
template
v-if=
"item.OrderSource
==
7"
>
<
template
v-if=
"item.OrderSource
==
7"
>
教育同行:
{{
item
.
EduOccupation
}}
教育同行:
{{
item
.
EduOccupation
}}
</
template
>
</
template
>
</div>
</div>
</template>
</template>
<
template
v-if=
"item.OrderType==1"
>
<
template
v-if=
"item.OrderType == 1"
>
<div
v-if=
"item.CourseName"
>
课程名称:
{{
item
.
CourseName
}}
</div>
<div
v-if=
"item.CourseName"
>
课程名称:
{{
item
.
CourseName
}}
</div>
<div
v-if=
"item.IsChaBan==1"
style=
"color:red;"
>
<div
v-if=
"item.IsChaBan == 1"
style=
"color: red"
>
插班报入
插班报入
<q-tooltip
:offset=
"[10, 10]"
>
<q-tooltip
:offset=
"[10, 10]"
>
<div>
开始课时:
{{
item
.
StartClassHours
}}
</div>
<div>
开始课时:
{{
item
.
StartClassHours
}}
</div>
<div>
生效状态:
{{
item
.
EffectStatusStr
}}
</div>
<div>
生效时间:
{{
item
.
EffectTime
}}
</div>
<div>
生效状态:
{{
item
.
EffectStatusStr
}}
</div>
<template
v-if=
"item.UpOrderId&&item.UpOrderId>0"
>
<div>
前置订单:
{{
item
.
UpOrderId
}}
</div>
<div>
生效时间:
{{
item
.
EffectTime
}}
</div>
<template
v-if=
"item.UpOrderId && item.UpOrderId > 0"
>
<div>
前置订单:
{{
item
.
UpOrderId
}}
</div>
</
template
>
</
template
>
</q-tooltip>
</q-tooltip
>
</div>
</div>
</template>
</template>
<div
style=
"margin-top:10px;"
v-if=
"item.OfferId>0"
>
<div
style=
"margin-top: 10px"
v-if=
"item.OfferId > 0"
>
报价单:
<span
class=
"order_OfferId"
@
click=
"goQuotation(item.OfferId)"
报价单:
<span
style=
"font-size:14px;"
>
{{item.OfferId}}
</span>
class=
"order_OfferId"
</div>
@
click=
"goQuotation(item.OfferId)"
<div
style=
"margin-top:10px;"
v-if=
"item.VisitorReserveId>0"
>
style=
"font-size: 14px"
预约单号:
<span
class=
"order_OfferId"
@
click=
"goVisitorReser(item.VisitorReserveId)"
>
{{ item.OfferId }}
</span
style=
"font-size:14px;"
>
{{item.VisitorReserveId}}
</span>
>
</div>
</div>
<
template
v-if=
"item.IsCommissionGive==1"
>
<div
style=
"margin-top: 10px"
v-if=
"item.VisitorReserveId > 0"
>
<div
style=
"color:red"
v-if=
"item.YFCommissionMoney>0"
>
应发提成:
{{
item
.
YFCommissionMoney
}}
</div>
预约单号:
<span
<div
style=
"color:red;cursor: pointer;text-decoration: underline;"
@
click=
'gourltx(item.OrderId)'
>
class=
"order_OfferId"
已发提成:
{{
item
.
CommissionMoney
}}
</div>
@
click=
"goVisitorReser(item.VisitorReserveId)"
<div
style=
"color:red"
v-if=
"item.ExtraCommissionMoney>0"
>
额外奖励实发:
{{
item
.
ExtraCommissionMoney
}}
</div>
style=
"font-size: 14px"
<div
style=
"color:red;"
v-if=
"item.ExtraRewardMoney>0"
>
额外奖励:
{{
item
.
ExtraRewardMoney
}}
</div>
>
{{ item.VisitorReserveId }}
</span
<div
style=
"color:red"
v-if=
"item.ExtraDeductMoney>0"
>
额外扣除:
{{
item
.
ExtraDeductMoney
}}
</div>
>
<div
style=
"color:red"
v-if=
"item.CommissionBack>0"
>
补交提成:
{{
item
.
CommissionBack
}}
</div>
</div>
<
template
v-if=
"item.IsCommissionGive == 1"
>
<div
style=
"color: red"
v-if=
"item.YFCommissionMoney > 0"
>
应发提成:
{{
item
.
YFCommissionMoney
}}
</div>
<div
style=
"
color: red;
cursor: pointer;
text-decoration: underline;
"
@
click=
"gourltx(item.OrderId)"
>
已发提成:
{{
item
.
CommissionMoney
}}
</div>
<div
style=
"color: red"
v-if=
"item.ExtraCommissionMoney > 0"
>
额外奖励实发:
{{
item
.
ExtraCommissionMoney
}}
</div>
<div
style=
"color: red"
v-if=
"item.ExtraRewardMoney > 0"
>
额外奖励:
{{
item
.
ExtraRewardMoney
}}
</div>
<div
style=
"color: red"
v-if=
"item.ExtraDeductMoney > 0"
>
额外扣除:
{{
item
.
ExtraDeductMoney
}}
</div>
<div
style=
"color: red"
v-if=
"item.CommissionBack > 0"
>
补交提成:
{{
item
.
CommissionBack
}}
</div>
</
template
>
</
template
>
</td>
</td>
<td
style=
"border:
none"
>
{{item.LinkMan
}}
</td>
<td
style=
"border:
none"
>
{{ item.LinkMan
}}
</td>
<td
style=
"border:
none;
"
>
<td
style=
"border:
none
"
>
{{
item.LinkTel
}}
{{
item.LinkTel
}}
</td>
</td>
<!-- <td :style="{color:item.Class_Price!=item. UnitPrice?'var(--q-color-negative)':'','border':'none'}">
<!-- <td :style="{color:item.Class_Price!=item. UnitPrice?'var(--q-color-negative)':'','border':'none'}">
<template v-if="item. UnitPrice>=0">
<template v-if="item. UnitPrice>=0">
...
@@ -125,18 +184,18 @@
...
@@ -125,18 +184,18 @@
</template>
</template>
</td> -->
</td> -->
<!-- 应收总额 -->
<!-- 应收总额 -->
<td
style=
"border:none"
>
<td
style=
"border:
none"
>
<
template
v-if=
"item.Money
>
0"
>
<
template
v-if=
"item.Money
>
0"
>
{{
item
.
Money
}}
{{
item
.
Money
}}
</
template
>
</
template
>
<
template
v-else
>
<
template
v-else
>
<span
class=
"redstyle"
>
0
</span>
<span
class=
"redstyle"
>
0
</span>
</
template
>
</
template
>
</td>
</td>
<!-- 实收 -->
<!-- 实收 -->
<td
style=
"border:none"
>
<td
style=
"border:
none"
>
<
template
v-if=
"item.Income
>0
"
>
<
template
v-if=
"item.Income
> 0
"
>
{{
item
.
Income
}}
{{
item
.
Income
}}
</
template
>
</
template
>
<
template
v-else
>
<
template
v-else
>
<span
class=
"redstyle"
>
0
</span>
<span
class=
"redstyle"
>
0
</span>
...
@@ -159,53 +218,122 @@
...
@@ -159,53 +218,122 @@
</template>
</template>
</td> -->
</td> -->
<!-- 退款 -->
<!-- 退款 -->
<td
style=
"border:none"
>
<td
style=
"border:
none"
>
<
template
v-if=
"item.RefundPrice
>
0"
>
<
template
v-if=
"item.RefundPrice
>
0"
>
{{
item
.
RefundPrice
}}
{{
item
.
RefundPrice
}}
</
template
>
</
template
>
<
template
v-else
>
<
template
v-else
>
<span
class=
"redstyle"
>
0
</span>
<span
class=
"redstyle"
>
0
</span>
</
template
>
</
template
>
</td>
</td>
<!-- 平台税金 -->
<!-- 平台税金 -->
<td
style=
"border:none"
>
<td
style=
"border:
none"
>
<
template
v-if=
"item.PlatformTax
>
0"
>
<
template
v-if=
"item.PlatformTax
>
0"
>
{{
item
.
PlatformTax
}}
{{
item
.
PlatformTax
}}
</
template
>
</
template
>
<
template
v-else
>
<
template
v-else
>
<span
class=
"redstyle"
>
{{
item
.
PlatformTax
}}
</span>
<span
class=
"redstyle"
>
{{
item
.
PlatformTax
}}
</span>
</
template
>
</
template
>
</td>
</td>
<!-- 待收金额 -->
<!-- 待收金额 -->
<td
style=
"color:
#2961FE;border:
none"
>
<td
style=
"color:
#2961fe; border:
none"
>
<
template
v-if=
"item.DueInMoney
>
0"
>
<
template
v-if=
"item.DueInMoney
>
0"
>
{{
item
.
DueInMoney
}}
{{
item
.
DueInMoney
}}
</
template
>
</
template
>
<
template
v-else
>
<
template
v-else
>
<span
class=
"redstyle"
>
0
</span>
<span
class=
"redstyle"
>
0
</span>
</
template
>
</
template
>
</td>
</td>
<td
width=
"7%"
v-if=
"isActivity"
style=
"border: none"
>
<
template
>
<span
v-if=
"item.WeiXinType == 0"
>
甲鹤
<span
v-if=
"item.EduStudentId > 0"
>
-
{{
item
.
EduStudentName
}}
</span
>
</span>
<span
v-if=
"item.WeiXinType == 1"
>
甲小鹤
<span
v-if=
"item.EduStudentId > 0"
>
-
{{
item
.
EduStudentName
}}
</span
>
</span>
</
template
>
</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> -->
<span
style=
"color: #02C499"
v-if=
"item.Status ===0"
>
正常
</span>
<span
style=
"color: #02c499"
v-if=
"item.Status === 0"
<span
style=
"color: #02C499"
v-if=
"item.Status ===1"
>
取消
</span>
>
正常
</span
>
<span
style=
"color: #02c499"
v-if=
"item.Status === 1"
>
取消
</span
>
</div>
</div>
</td>
</td>
<td
style=
"border:none"
>
<td
style=
"border: none"
>
<
template
v-if=
"(isEditOrder||AuthorityObj.isShowEdit)&&!formActiveMan"
>
<
template
<q-btn
flat
size=
"xs"
icon=
"edit"
color=
"accent"
style=
"font-weight:400"
label=
"编辑"
v-if=
"
@
click=
"editOrder(item)"
v-if=
"item.EduUserId===loginId&&item.PaymentWay!==1"
/>
(isEditOrder || AuthorityObj.isShowEdit) && !formActiveMan
"
>
<q-btn
flat
size=
"xs"
icon=
"edit"
color=
"accent"
style=
"font-weight: 400"
label=
"编辑"
@
click=
"editOrder(item)"
v-if=
"item.EduUserId === loginId && item.PaymentWay !== 1"
/>
</
template
>
</
template
>
<
template
v-if=
"formActiveMan&&item.IsApplyForCancel==1&&item.Status===0"
>
<
template
<q-btn
flat
size=
"xs"
icon=
"edit"
color=
"accent"
style=
"font-weight:400"
label=
"同意"
v-if=
"
@
click=
"handleApply(1,item)"
/>
formActiveMan &&
<q-btn
flat
size=
"xs"
icon=
"edit"
color=
"accent"
style=
"font-weight:400"
label=
"拒绝"
item.IsApplyForCancel == 1 &&
@
click=
"handleApply(2,item)"
/>
item.Status === 0
"
>
<q-btn
flat
size=
"xs"
icon=
"edit"
color=
"accent"
style=
"font-weight: 400"
label=
"同意"
@
click=
"handleApply(1, item)"
/>
<q-btn
flat
size=
"xs"
icon=
"edit"
color=
"accent"
style=
"font-weight: 400"
label=
"拒绝"
@
click=
"handleApply(2, item)"
/>
</
template
>
</
template
>
<q-btn-dropdown
flat
size=
"xs"
color=
"dark"
label=
"更多"
<q-btn-dropdown
v-if=
"item.EduUserId===loginId&&item.PaymentWay!==1&&!formActiveMan"
style=
"margin-left:10px;"
>
flat
size=
"xs"
color=
"dark"
label=
"更多"
v-if=
"
item.EduUserId === loginId &&
item.PaymentWay !== 1 &&
!formActiveMan
"
style=
"margin-left: 10px"
>
<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)">
...
@@ -259,30 +387,58 @@
...
@@ -259,30 +387,58 @@
</q-item-section>
</q-item-section>
</q-item> -->
</q-item> -->
<q-item
clickable
v-close-popup
disabled
<q-item
v-if=
"(item.IncomeFinanceList&&item.IncomeFinanceList.length>0)||(item.ExpendFinanceList&&item.ExpendFinanceList.length>0)"
>
clickable
v-close-popup
disabled
v-if=
"
(item.IncomeFinanceList &&
item.IncomeFinanceList.length > 0) ||
(item.ExpendFinanceList &&
item.ExpendFinanceList.length > 0)
"
>
<q-item-section>
<q-item-section>
<q-item-label>
<q-item-label>
取消订单
</q-item-label>
取消订单
<q-tooltip
</q-item-label>
anchor=
"center left"
<q-tooltip
anchor=
"center left"
self=
"center right"
content-class=
"bg-red"
>
self=
"center right"
content-class=
"bg-red"
>
已有财务单据无法取消
已有财务单据无法取消
</q-tooltip>
</q-tooltip>
</q-item-section>
</q-item-section>
</q-item>
</q-item>
<q-item
clickable
v-close-popup
disabled
<q-item
v-else-if=
"item.Status===0&&item.IsApplyForCancel===1&&item.ApplyForCancelStatus===0"
>
clickable
v-close-popup
disabled
v-else-if=
"
item.Status === 0 &&
item.IsApplyForCancel === 1 &&
item.ApplyForCancelStatus === 0
"
>
<q-item-section>
<q-item-section>
<q-item-label>
<q-item-label>
取消订单
</q-item-label>
取消订单
<q-tooltip
</q-item-label>
anchor=
"center left"
<q-tooltip
anchor=
"center left"
self=
"center right"
content-class=
"bg-red"
>
self=
"center right"
content-class=
"bg-red"
>
取消审核中
取消审核中
</q-tooltip>
</q-tooltip>
</q-item-section>
</q-item-section>
</q-item>
</q-item>
<q-item
clickable
v-close-popup
<q-item
v-else-if=
"item.Status===0&&item.IsApplyForCancel===0&&item.ApplyForCancelStatus===0"
>
clickable
v-close-popup
v-else-if=
"
item.Status === 0 &&
item.IsApplyForCancel === 0 &&
item.ApplyForCancelStatus === 0
"
>
<q-item-section
@
click=
"CancelOrder(item)"
>
<q-item-section
@
click=
"CancelOrder(item)"
>
<q-item-label>
取消订单
</q-item-label>
<q-item-label>
取消订单
</q-item-label>
</q-item-section>
</q-item-section>
...
@@ -303,13 +459,13 @@
...
@@ -303,13 +459,13 @@
</tr>
</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.Remark
!=null||item.Remark!=
''"
>
<div
v-if=
"item.Remark
!= null || item.Remark !=
''"
>
<div>
{{
item.Remark
}}
</div>
<div>
{{
item.Remark
}}
</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.Remark&&item.Remark.length>0"></span>
v-if="item.Remark&&item.Remark.length>0"></span>
...
@@ -327,14 +483,20 @@
...
@@ -327,14 +483,20 @@
</q-popup-proxy>
</q-popup-proxy>
</div> -->
</div> -->
</div>
</div>
<span
v-if=
"item.Remark==null||item.Remark==''"
>
暂无
</span>
<span
v-if=
"item.Remark == null || item.Remark == ''"
>
暂无
</span
>
</div>
</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.CancelRemark!=null||item.CancelRemark!=''"
>
<div
<div>
{{item.CancelRemark}}
</div>
v-if=
"
item.CancelRemark != null || item.CancelRemark != ''
"
>
<div>
{{ item.CancelRemark }}
</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.CancelRemark&&item.CancelRemark.length>0"></span>
v-if="item.CancelRemark&&item.CancelRemark.length>0"></span>
...
@@ -352,94 +514,227 @@
...
@@ -352,94 +514,227 @@
</q-popup-proxy>
</q-popup-proxy>
</div> -->
</div> -->
</div>
</div>
<span
v-if=
"item.CancelRemark==null||item.CancelRemark==''"
>
暂无
</span>
<span
v-if=
"
item.CancelRemark == null || item.CancelRemark == ''
"
>
暂无
</span
>
</div>
</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=
"item.UserId===0"
style=
"font-weight:400;color: #02C499"
<q-btn
label=
"修改"
@
click=
"goShoukuan(item,1)"
/>
flat
size=
"xs"
icon=
"edit"
v-if=
"item.UserId === 0"
style=
"font-weight: 400; color: #02c499"
label=
"修改"
@
click=
"goShoukuan(item, 1)"
/>
<!-- <q-btn flat size="xs" icon="edit"
<!-- <q-btn flat size="xs" icon="edit"
v-if="AuthorityObj.isShowFinanceBtn&&AuthorityObj.isShowEdit&&item.OrderType==2"
v-if="AuthorityObj.isShowFinanceBtn&&AuthorityObj.isShowEdit&&item.OrderType==2"
style="font-weight:400;color: #02C499" label="修改" @click="chanceType(item,1)" /> -->
style="font-weight:400;color: #02C499" label="修改" @click="chanceType(item,1)" /> -->
<
template
v-if=
"AuthorityObj.isShowFinanceBtn&&AuthorityObj.isShowEdit&&item.OrderType==1"
>
<
template
<q-btn
flat
size=
"xs"
icon=
"edit"
style=
"font-weight:400;color: #02C499"
label=
"修改"
v-if=
"
@
click=
"showChooseStudent=true"
/>
AuthorityObj.isShowFinanceBtn &&
AuthorityObj.isShowEdit &&
item.OrderType == 1
"
>
<q-btn
flat
size=
"xs"
icon=
"edit"
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:400px;overflow-y:auto;"
>
<div
style=
"
width: 500px;
max-height: 400px;
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
<td>
{{
subItem
.
GuestName
}}
</td>
dense
<td>
{{
subItem
.
ContractNo
}}
</td>
v-model=
"chooseStudent"
<td>
{{
subItem
.
ContractStatusStr
}}
</td>
:val=
"subItem.Id"
/>
</td>
<td>
{{
subItem
.
GuestName
}}
</td>
<td>
{{
subItem
.
ContractNo
}}
</td>
<td>
{{
subItem
.
ContractStatusStr
}}
</td>
</tr>
</tr>
</table>
</table>
</div>
</div>
<q-btn
color=
"accent"
size=
"sm"
class=
"q-mr-md"
@
click=
"chanceType(item,1)"
label=
"制单"
<q-btn
style=
"min-width:70px;float:right;margin-top:10px"
/>
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-banner>
</q-popup-proxy>
</q-popup-proxy>
</
template
>
</
template
>
</div>
</div>
<div
class=
"row wrap"
>
<div
class=
"row wrap"
>
<div
class=
"finance row"
v-for=
"(x,j) in item.IncomeFinanceList"
:index=
"j"
<div
class=
"finance row"
v-for=
"(x, j) in item.IncomeFinanceList"
:index=
"j"
:style=
"{
:style=
"{
background:x.ColorType==1 ? 'rgba(41, 97, 254, 0.2)':(x.ColorType==2 ? 'rgba(2, 196, 153, 0.2)':(x.ColorType==3 ? 'rgba(242, 140, 29, 0.2)':'rgba(63, 196, 255, 0.2)')),
background:
color: x.ColorType==1 ? '#2961FE':(x.ColorType==2 ? '#02C499':(x.ColorType==3 ? '#F28C1D':'#3FC4FF'))}"
>
x.ColorType == 1
<span
style=
"cursor: pointer"
@
click=
"goOrderdetails(item,4)"
>
{{x.FrID}}
</span>
? 'rgba(41, 97, 254, 0.2)'
: x.ColorType == 2
? 'rgba(2, 196, 153, 0.2)'
: x.ColorType == 3
? 'rgba(242, 140, 29, 0.2)'
: 'rgba(63, 196, 255, 0.2)',
color:
x.ColorType == 1
? '#2961FE'
: x.ColorType == 2
? '#02C499'
: x.ColorType == 3
? '#F28C1D'
: '#3FC4FF',
}"
>
<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=
"item.UserId===0"
style=
"font-weight:400;color: #02C499"
<q-btn
label=
"修改"
@
click=
"goShoukuan(item,2)"
/>
flat
size=
"xs"
icon=
"edit"
v-if=
"item.UserId === 0"
style=
"font-weight: 400; color: #02c499"
label=
"修改"
@
click=
"goShoukuan(item, 2)"
/>
<!-- <q-btn flat size="xs" icon="edit"
<!-- <q-btn flat size="xs" icon="edit"
v-if="AuthorityObj.isShowFinanceBtn&&AuthorityObj.isShowEdit&&item.OrderType==2"
v-if="AuthorityObj.isShowFinanceBtn&&AuthorityObj.isShowEdit&&item.OrderType==2"
style="font-weight:400;color: #02C499" label="修改" @click="chanceType(item,2)" /> -->
style="font-weight:400;color: #02C499" label="修改" @click="chanceType(item,2)" /> -->
<
template
v-if=
"AuthorityObj.isShowFinanceBtn&&AuthorityObj.isShowEdit&&item.OrderType==1"
>
<
template
<q-btn
flat
size=
"xs"
icon=
"edit"
style=
"font-weight:400;color: #02C499"
label=
"修改"
v-if=
"
@
click=
"showChooseStudent=true"
/>
AuthorityObj.isShowFinanceBtn &&
AuthorityObj.isShowEdit &&
item.OrderType == 1
"
>
<q-btn
flat
size=
"xs"
icon=
"edit"
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:400px;overflow-y:auto;"
>
<div
style=
"
width: 500px;
max-height: 400px;
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
<td>
{{
subItem
.
GuestName
}}
</td>
dense
<td>
{{
subItem
.
ContractNo
}}
</td>
v-model=
"chooseStudent"
<td>
{{
subItem
.
ContractStatusStr
}}
</td>
:val=
"subItem.Id"
/>
</td>
<td>
{{
subItem
.
GuestName
}}
</td>
<td>
{{
subItem
.
ContractNo
}}
</td>
<td>
{{
subItem
.
ContractStatusStr
}}
</td>
</tr>
</tr>
</table>
</table>
</div>
</div>
<q-btn
color=
"accent"
size=
"sm"
class=
"q-mr-md"
@
click=
"chanceType(item,2)"
label=
"制单"
<q-btn
style=
"min-width:70px;float:right;margin-top:10px"
/>
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-banner>
</q-popup-proxy>
</q-popup-proxy>
</
template
>
</
template
>
</div>
</div>
<div
class=
"row wrap"
>
<div
class=
"row wrap"
>
<div
class=
"finance row"
v-for=
"(x,j) in item.ExpendFinanceList"
:index=
"j"
<div
class=
"finance row"
v-for=
"(x, j) in item.ExpendFinanceList"
:index=
"j"
:style=
"{
:style=
"{
background:x.ColorType==1 ? 'rgba(41, 97, 254, 0.2)':(x.ColorType==2 ? 'rgba(2, 196, 153, 0.2)':(x.ColorType==3 ? 'rgba(242, 140, 29, 0.2)':'rgba(63, 196, 255, 0.2)')),
background:
color: x.ColorType==1 ? '#2961FE':(x.ColorType==2 ? '#02C499':(x.ColorType==3 ? '#F28C1D':'#3FC4FF'))}"
>
x.ColorType == 1
<span
style=
"cursor: pointer"
@
click=
"goOrderdetails(item,4)"
>
{{x.FrID}}
</span>
? 'rgba(41, 97, 254, 0.2)'
: x.ColorType == 2
? 'rgba(2, 196, 153, 0.2)'
: x.ColorType == 3
? 'rgba(242, 140, 29, 0.2)'
: 'rgba(63, 196, 255, 0.2)',
color:
x.ColorType == 1
? '#2961FE'
: x.ColorType == 2
? '#02C499'
: x.ColorType == 3
? '#F28C1D'
: '#3FC4FF',
}"
>
<span
style=
"cursor: pointer"
@
click=
"goOrderdetails(item, 4)"
>
{{ x.FrID }}
</span
>
</div>
</div>
</div>
</div>
</div>
</div>
...
@@ -448,80 +743,128 @@
...
@@ -448,80 +743,128 @@
</tr>
</tr>
</tbody>
</tbody>
<tbody
v-if=
"cancelList
&&cancelList.length>
0"
>
<tbody
v-if=
"cancelList
&& cancelList.length >
0"
>
<tr>
<tr>
<td
:colspan=
"13"
>
<td
:colspan=
"13"
>
<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>
</td>
</tr>
</tr>
</tbody>
</tbody>
<tbody
v-if=
"cancelList&&cancelList.length>0 && isShowCancel"
v-for=
"(item,index) in cancelList"
<tbody
:key=
"index+10000"
>
v-if=
"cancelList && cancelList.length > 0 && isShowCancel"
v-for=
"(item, index) in cancelList"
: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
@
click=
"goOrderdetails(item)"
>
style=
"
{{item.OrderId}}
</div>
font-size: 18px;
<div>
{{item.EnterName}}
</div>
color: #2961fe;
<div
style=
"margin-top: 10px"
>
{{item.CreateTime}}
</div>
margin-bottom: 20px;
<div
style=
"margin-top: 30px;margin-bottom: 10px"
>
班级
</div>
font-weight: bold;
<div
style=
"font-weight: bold;color:#2961FE;"
@
click=
"getClassInfo(item)"
>
{{item.ClassName}}
</div>
"
@
click=
"goOrderdetails(item)"
>
{{ item.OrderId }}
</div>
<div>
{{ item.EnterName }}
</div>
<div
style=
"margin-top: 10px"
>
{{ item.CreateTime }}
</div>
<div
style=
"margin-top: 30px; margin-bottom: 10px"
>
班级
</div>
<div
style=
"font-weight: bold; color: #2961fe"
@
click=
"getClassInfo(item)"
>
{{ item.ClassName }}
</div>
</td>
</td>
<td
style=
"border:
none"
>
{{item.GuestNum
}}人
</td>
<td
style=
"border:
none"
>
{{ item.GuestNum
}}人
</td>
<td
style=
"border:none"
>
<td
style=
"border:
none"
>
<
template
v-if=
"item.Class_Price
>=
0"
>
<
template
v-if=
"item.Class_Price
>=
0"
>
{{
item
.
Class_Price
}}
{{
item
.
Class_Price
}}
</
template
>
</
template
>
</td>
</td>
<td
:style=
"{color:item.Class_Price!=item. UnitPrice?'var(--q-color-negative)':'','border':'none'}"
>
<td
<
template
v-if=
"item. UnitPrice>=0"
>
:style=
"{
{{
item
.
UnitPrice
}}
color:
item.Class_Price != item.UnitPrice
? 'var(--q-color-negative)'
: '',
border: 'none',
}"
>
<
template
v-if=
"item.UnitPrice >= 0"
>
{{
item
.
UnitPrice
}}
</
template
>
</
template
>
</td>
</td>
<td
style=
"border:none"
>
<td
style=
"border:
none"
>
<
template
v-if=
"item.PreferPrice
>=
0"
>
<
template
v-if=
"item.PreferPrice
>=
0"
>
{{
item
.
PreferPrice
}}
{{
item
.
PreferPrice
}}
</
template
>
</
template
>
</td>
</td>
<td
style=
"border:none"
>
<td
style=
"border:
none"
>
<
template
v-if=
"item.Income
>=
0"
>
<
template
v-if=
"item.Income
>=
0"
>
{{
item
.
Income
}}
{{
item
.
Income
}}
</
template
>
</
template
>
</td>
</td>
<td
style=
"color:
var(--q-color-negative);border:
none"
>
<td
style=
"color:
var(--q-color-negative); border:
none"
>
<
template
v-if=
"item.DiscountMoney
>=
0"
>
<
template
v-if=
"item.DiscountMoney
>=
0"
>
{{
item
.
DiscountMoney
}}
{{
item
.
DiscountMoney
}}
</
template
>
</
template
>
</td>
</td>
<td
style=
"border:none"
>
<td
style=
"border:
none"
>
<
template
v-if=
"item.LessPrice
>=
0"
>
<
template
v-if=
"item.LessPrice
>=
0"
>
{{
item
.
LessPrice
}}
{{
item
.
LessPrice
}}
</
template
>
</
template
>
</td>
</td>
<td
style=
"border:none"
>
<td
style=
"border:
none"
>
<
template
v-if=
"item.Refund
>=
0"
>
<
template
v-if=
"item.Refund
>=
0"
>
{{
item
.
Refund
}}
{{
item
.
Refund
}}
</
template
>
</
template
>
</td>
</td>
<td
style=
"border:none"
>
<td
style=
"border:
none"
>
<
template
v-if=
"item.PlatformTax
>=
0"
>
<
template
v-if=
"item.PlatformTax
>=
0"
>
{{
item
.
PlatformTax
}}
{{
item
.
PlatformTax
}}
</
template
>
</
template
>
</td>
</td>
<td
style=
"color:
#2961FE;border:
none"
>
<td
style=
"color:
#2961fe; border:
none"
>
<
template
v-if=
"item.DueInMoney
&&item.DueInMoney>=
0"
>
<
template
v-if=
"item.DueInMoney
&& item.DueInMoney >=
0"
>
{{
item
.
DueInMoney
}}
{{
item
.
DueInMoney
}}
</
template
>
</
template
>
</td>
</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
<span
style=
"color: #02C499"
>
{{item.OrderStateName}}
</span>
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>
</td>
</td>
<td
style=
"border:none;"
v-if=
"AuthorityObj.isShowEdit"
>
<td
style=
"border: none"
v-if=
"AuthorityObj.isShowEdit"
>
<q-btn
flat
size=
"xs"
icon=
"edit"
color=
"accent"
style=
"font-weight:400;display:none;"
label=
"编辑"
<q-btn
@
click=
"editOrder(item)"
/>
flat
<q-btn-dropdown
flat
size=
"xs"
color=
"dark"
label=
"更多"
style=
"margin-left:10px;display:none;"
>
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-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)"
>
...
@@ -534,133 +877,249 @@
...
@@ -534,133 +877,249 @@
</tr>
</tr>
<tr>
<tr>
<td
:colspan=
"12"
style=
"text-align: left"
>
<td
:colspan=
"12"
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
style=
"color:#2961FE;margin-right: 5px"
>
{{x.GuestName}}
</span>
v-for=
"(x, j) in item.GuestList"
</div>
:index=
"j"
<div
class=
"row"
v-if=
"item.GuestList&&item.GuestList.length>0&&getTkshow(item.GuestList)"
>
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"
<span
style=
"color:var(--q-color-negative);margin-right: 5px"
>
{{x.GuestName}}
</span>
v-for=
"(x, j) in item.GuestList"
</div>
:index=
"j"
<span
v-if=
"item.GuestList&&item.GuestList.length==0"
>
暂无
</span>
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>
</td>
</tr>
</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
<div>
{{item.SaleRemark}}
</div>
v-if=
"item.SaleRemark != null || item.SaleRemark != ''"
>
<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
v-if=
"item.SaleRemarkList&&item.SaleRemarkList.length>0"
></span>
class=
"iconfont icon-xiangxia"
style=
"color: #2961fe; font-size: 10px"
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
style=
" margin-top: 10px;background: #e6e6e6;padding: 5px;font-size: 12px"
>
v-for=
"(xq, jq) in item.SaleRemarkList"
<div>
{{xq.Content}}
</div>
:index=
"jq"
<div
style=
"text-align: right"
>
{{xq.CreateBy}} {{xq.CreateTime}}
</div>
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>
</div>
</q-banner>
</q-banner>
</q-popup-proxy>
</q-popup-proxy>
</div>
</div>
</div>
</div>
<span
v-if=
"item.SaleRemark==null||item.SaleRemark==''"
>
暂无
</span>
<span
v-if=
"item.SaleRemark == null || item.SaleRemark == ''"
>
暂无
</span
>
</div>
</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
<div>
{{item.TeacherRemark}}
</div>
v-if=
"
item.TeacherRemark != null || item.TeacherRemark != ''
"
>
<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
v-if=
"item.TeacherRemarkList&&item.TeacherRemarkList.length>0"
></span>
class=
"iconfont icon-xiangxia"
style=
"color: #2961fe; font-size: 10px"
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
style=
" margin-top: 10px;background: #e6e6e6;padding: 5px;font-size: 12px"
>
v-for=
"(xq, jq) in item.TeacherRemarkList"
<div>
{{xq.Content}}
</div>
:index=
"jq"
<div
style=
"text-align: right"
>
{{xq.CreateBy}} {{xq.CreateTime}}
</div>
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>
</div>
</q-banner>
</q-banner>
</q-popup-proxy>
</q-popup-proxy>
</div>
</div>
</div>
</div>
<span
v-if=
"item.TeacherRemark==null||item.TeacherRemark==''"
>
暂无
</span>
<span
v-if=
"
item.TeacherRemark == null || item.TeacherRemark == ''
"
>
暂无
</span
>
</div>
</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
<div>
{{item.RectorRemark}}
</div>
v-if=
"
item.RectorRemark != null || item.RectorRemark != ''
"
>
<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
v-if=
"item.RectorRemarkList&&item.RectorRemarkList.length>0"
></span>
class=
"iconfont icon-xiangxia"
style=
"color: #2961fe; font-size: 10px"
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
style=
"margin-top: 10px;background: #e6e6e6;padding: 5px;font-size: 12px"
>
v-for=
"(xq, jq) in item.RectorRemarkList"
<div>
{{xq.Content}}
</div>
:index=
"jq"
<div
style=
"text-align: right"
>
{{xq.CreateBy}} {{xq.CreateTime}}
</div>
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>
</div>
</q-banner>
</q-banner>
</q-popup-proxy>
</q-popup-proxy>
</div>
</div>
</div>
</div>
<span
v-if=
"item.RectorRemark==null||item.RectorRemark==''"
>
暂无
</span>
<span
v-if=
"
item.RectorRemark == null || item.RectorRemark == ''
"
>
暂无
</span
>
</div>
</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
<div>
{{item.DirectorRemark}}
</div>
v-if=
"
item.DirectorRemark != null || item.DirectorRemark != ''
"
>
<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
v-if=
"item.DirectorRemarkList&&item.DirectorRemarkList.length>0"
></span>
class=
"iconfont icon-xiangxia"
style=
"color: #2961fe; font-size: 10px"
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
style=
" margin-top: 10px;background: #e6e6e6;padding: 5px;font-size: 12px"
>
v-for=
"(xq, jq) in item.DirectorRemarkList"
<div>
{{xq.Content}}
</div>
:index=
"jq"
<div
style=
"text-align: right"
>
{{xq.CreateBy}} {{xq.CreateTime}}
</div>
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>
</div>
</q-banner>
</q-banner>
</q-popup-proxy>
</q-popup-proxy>
</div>
</div>
</div>
</div>
<span
v-if=
"item.DirectorRemark==null||item.DirectorRemark==''"
>
暂无
</span>
<span
v-if=
"
item.DirectorRemark == null || item.DirectorRemark == ''
"
>
暂无
</span
>
</div>
</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>
</div>
</div>
<div
class=
"row wrap"
>
<div
class=
"row wrap"
></div>
</div>
<div
class=
"row"
style=
"justify-content: space-between"
>
<div
class=
"row"
style=
"justify-content: space-between"
>
<span>
付款单据:
</span>
<span>
付款单据:
</span>
</div>
</div>
<div
class=
"row wrap"
>
<div
class=
"row wrap"
></div>
</div>
</div>
</div>
</div>
</div>
</td>
</td>
...
@@ -670,8 +1129,16 @@
...
@@ -670,8 +1129,16 @@
</table>
</table>
</div>
</div>
<!--修改课程订单-->
<!--修改课程订单-->
<editorder-form
v-if=
"isShowEditOrderForm"
:save-obj=
"orderObj"
:orderType=
"orderObj.OrderType"
:sourceType=
"2"
<editorder-form
@
close=
"closeOrderSaveForm"
@
success=
"refreshOrder"
:isChaBan=
"isChaBan"
:modityOrderType=
"newModityOrderType"
>
v-if=
"isShowEditOrderForm"
:save-obj=
"orderObj"
:orderType=
"orderObj.OrderType"
:sourceType=
"2"
@
close=
"closeOrderSaveForm"
@
success=
"refreshOrder"
:isChaBan=
"isChaBan"
:modityOrderType=
"newModityOrderType"
>
</editorder-form>
</editorder-form>
<!--修改留学就业订单-->
<!--修改留学就业订单-->
...
@@ -680,68 +1147,112 @@
...
@@ -680,68 +1147,112 @@
</studyorder-form> -->
</studyorder-form> -->
<!--修改订单备注-->
<!--修改订单备注-->
<orderremark-form
v-if=
"isShowRemarkOrderForm"
:save-obj=
"orderObj"
:remarkType=
"remarkType"
<orderremark-form
@
close=
"closeRemarkForm"
@
success=
"refreshOrder"
></orderremark-form>
v-if=
"isShowRemarkOrderForm"
:save-obj=
"orderObj"
:remarkType=
"remarkType"
@
close=
"closeRemarkForm"
@
success=
"refreshOrder"
></orderremark-form>
<!--转交订单-->
<!--转交订单-->
<transOrder-form
v-if=
"isShowTransOrderForm"
:save-obj=
"orderObj"
:employeeList=
"EmployeeList"
<transOrder-form
@
close=
"closeTransOrderForm"
@
success=
"refreshOrder"
></transOrder-form>
v-if=
"isShowTransOrderForm"
:save-obj=
"orderObj"
<myOrder-form
v-if=
"isShowmyorderForm"
:save-obj=
"myorderObjOption"
@
close=
"closeMOSaveForm"
></myOrder-form>
:employeeList=
"EmployeeList"
@
close=
"closeTransOrderForm"
@
success=
"refreshOrder"
></transOrder-form>
<myOrder-form
v-if=
"isShowmyorderForm"
:save-obj=
"myorderObjOption"
@
close=
"closeMOSaveForm"
></myOrder-form>
<!--班级详情-->
<!--班级详情-->
<classinfo-form
v-if=
"isShowClassInfo"
:seting-obj=
"classObjOption"
@
close=
"closeClass"
@
success=
"refreshOrder"
>
<classinfo-form
v-if=
"isShowClassInfo"
:seting-obj=
"classObjOption"
@
close=
"closeClass"
@
success=
"refreshOrder"
>
</classinfo-form>
</classinfo-form>
<!--退课申请-->
<!--退课申请-->
<backclass-form
v-if=
"isShowBackClassForm"
:save-obj=
"orderObj"
@
close=
"closeBackClassForm"
@
success=
"refreshOrder"
>
<backclass-form
v-if=
"isShowBackClassForm"
:save-obj=
"orderObj"
@
close=
"closeBackClassForm"
@
success=
"refreshOrder"
>
</backclass-form>
</backclass-form>
<!-- 修改提成和额外奖励 -->
<!-- 修改提成和额外奖励 -->
<money-form
v-if=
"isShowMoney"
:data=
"moneyObj"
:type=
"CommonType"
@
close=
"closeMoneyForm"
@
success=
"refreshOrder"
>
<money-form
v-if=
"isShowMoney"
:data=
"moneyObj"
:type=
"CommonType"
@
close=
"closeMoneyForm"
@
success=
"refreshOrder"
>
</money-form>
</money-form>
<!--续课申请-->
<!--续课申请-->
<continueclass-form
v-if=
"isShowContinueClass"
:save-obj=
"orderObj"
@
close=
"closeContinueClassForm"
<continueclass-form
@
success=
"refreshOrder"
></continueclass-form>
v-if=
"isShowContinueClass"
:save-obj=
"orderObj"
@
close=
"closeContinueClassForm"
@
success=
"refreshOrder"
></continueclass-form>
<!-- 查看报价单 -->
<!-- 查看报价单 -->
<viewquotation-form
v-if=
"isShowviewQuo"
:rId=
"offerId"
:isShowCancle=
"1"
@
close=
"closeQuota"
<viewquotation-form
@
success=
"refreshOrder"
>
v-if=
"isShowviewQuo"
:rId=
"offerId"
:isShowCancle=
"1"
@
close=
"closeQuota"
@
success=
"refreshOrder"
>
</viewquotation-form>
</viewquotation-form>
<!--合同信息-->
<!--合同信息-->
<eduinfo-form
v-if=
"isShowEduForm"
:seting-obj=
"eduObj"
@
close=
"closeEdudia"
@
success=
"refreshPage"
>
<eduinfo-form
v-if=
"isShowEduForm"
:seting-obj=
"eduObj"
@
close=
"closeEdudia"
@
success=
"refreshPage"
>
</eduinfo-form>
</eduinfo-form>
</div>
</div>
</template>
</template>
<
script
>
<
script
>
import
editorderForm
from
'./activeOrder-form.vue'
//修改订单/
import
editorderForm
from
"./activeOrder-form.vue"
;
//修改订单/
import
studyorderForm
from
'../sale/studyOrder-form'
//留学就业订单
import
studyorderForm
from
"../sale/studyOrder-form"
;
//留学就业订单
import
orderremarkForm
from
'../sale/orderremark-form'
//订单备注
import
orderremarkForm
from
"../sale/orderremark-form"
;
//订单备注
import
transOrderForm
from
'../sale/transOrder-form'
//转交订单
import
transOrderForm
from
"../sale/transOrder-form"
;
//转交订单
import
backclassForm
from
'../sale/backclass-form'
//退课申请
import
backclassForm
from
"../sale/backclass-form"
;
//退课申请
import
moneyForm
from
'../sale/money-form'
//修改提成和额外奖励
import
moneyForm
from
"../sale/money-form"
;
//修改提成和额外奖励
import
myOrderForm
from
'../../components/sale/myActiveOrder-form'
import
myOrderForm
from
"../../components/sale/myActiveOrder-form"
;
import
classinfoForm
from
'../../components/course/classinfo-form'
;
//班级信息
import
classinfoForm
from
"../../components/course/classinfo-form"
;
//班级信息
import
continueclassForm
from
'../sale/continueclass-form'
//续课申请
import
continueclassForm
from
"../sale/continueclass-form"
;
//续课申请
import
viewquotationForm
from
'../sale/viewquotation-form'
//报价单信息
import
viewquotationForm
from
"../sale/viewquotation-form"
;
//报价单信息
import
eduinfoForm
from
'../sale/eduinfo-form'
import
eduinfoForm
from
"../sale/eduinfo-form"
;
import
{
import
{
cancelClassOrder
,
//取消订单
cancelClassOrder
,
//取消订单
}
from
'../../api/sale/sale'
}
from
"../../api/sale/sale"
;
import
{
import
{
queryEmployee
//员工列表
queryEmployee
,
//员工列表
}
from
'../../api/users/user'
}
from
"../../api/users/user"
;
import
{
import
{
SetOrderReceiveContract
//领取合同
SetOrderReceiveContract
,
//领取合同
}
from
'../../api/sale/contract'
}
from
"../../api/sale/contract"
;
export
default
{
export
default
{
components
:
{
components
:
{
editorderForm
,
editorderForm
,
orderremarkForm
,
orderremarkForm
,
...
@@ -753,18 +1264,18 @@
...
@@ -753,18 +1264,18 @@
continueclassForm
,
continueclassForm
,
viewquotationForm
,
viewquotationForm
,
eduinfoForm
,
eduinfoForm
,
studyorderForm
studyorderForm
,
},
},
props
:
{
props
:
{
//正常订单
//正常订单
dataList
:
{
dataList
:
{
type
:
Array
,
type
:
Array
,
default
:
null
default
:
null
,
},
},
//取消订单
//取消订单
cancelList
:
{
cancelList
:
{
type
:
Array
,
type
:
Array
,
default
:
null
default
:
null
,
},
},
//权限数据
//权限数据
authObj
:
{
authObj
:
{
...
@@ -775,10 +1286,15 @@
...
@@ -775,10 +1286,15 @@
type
:
Number
,
type
:
Number
,
default
:
0
,
//1-销售修改,2-OP修改,3-总经理修改
default
:
0
,
//1-销售修改,2-OP修改,3-总经理修改
},
},
formActiveMan
:{
formActiveMan
:
{
type
:
Boolean
,
type
:
Boolean
,
default
:
false
default
:
false
,
}
},
//活动来源
isActivity
:
{
type
:
Boolean
,
default
:
false
,
},
},
},
data
()
{
data
()
{
return
{
return
{
...
@@ -830,44 +1346,42 @@
...
@@ -830,44 +1346,42 @@
newModityOrderType
:
0
,
newModityOrderType
:
0
,
isChaBan
:
0
,
//是否插班(0-正常报入,1-插班报入)
isChaBan
:
0
,
//是否插班(0-正常报入,1-插班报入)
loginId
:
-
1
,
//登录人id
loginId
:
-
1
,
//登录人id
}
};
},
},
created
()
{
created
()
{
this
.
initAuth
();
this
.
initAuth
();
this
.
Employee
();
this
.
Employee
();
var
localStorageData
=
window
.
localStorage
[
"loginUserInfo"
];
var
localStorageData
=
window
.
localStorage
[
"loginUserInfo"
];
let
ActionMenuList
=
JSON
.
parse
(
localStorageData
).
data
.
ActionMenuList
let
ActionMenuList
=
JSON
.
parse
(
localStorageData
).
data
.
ActionMenuList
;
if
(
ActionMenuList
&&
ActionMenuList
.
length
>
0
)
{
if
(
ActionMenuList
&&
ActionMenuList
.
length
>
0
)
{
ActionMenuList
.
forEach
(
x
=>
{
ActionMenuList
.
forEach
((
x
)
=>
{
if
(
x
.
FunctionCode
==
'Edit_OrderExtraMoney'
)
{
if
(
x
.
FunctionCode
==
"Edit_OrderExtraMoney"
)
{
this
.
isShowReward
=
true
this
.
isShowReward
=
true
;
}
}
if
(
x
.
FunctionCode
==
'Edit_Order'
)
{
if
(
x
.
FunctionCode
==
"Edit_Order"
)
{
this
.
isEditOrder
=
true
this
.
isEditOrder
=
true
;
}
}
})
});
}
}
this
.
loginId
=
JSON
.
parse
(
localStorage
.
getItem
(
"loginUserInfo"
)).
data
.
Id
this
.
loginId
=
JSON
.
parse
(
localStorage
.
getItem
(
"loginUserInfo"
)).
data
.
Id
;
},
},
watch
:
{
watch
:
{
dataList
:
{
dataList
:
{
handler
(
val
)
{
handler
(
val
)
{},
deep
:
true
,
},
deep
:
true
},
},
modityOrderType
:
{
modityOrderType
:
{
handler
(
newValue
)
{
handler
(
newValue
)
{
var
localStorageData
=
window
.
localStorage
[
"loginUserInfo"
];
var
localStorageData
=
window
.
localStorage
[
"loginUserInfo"
];
let
ActionMenuList
=
JSON
.
parse
(
localStorageData
).
data
.
ActionMenuList
let
ActionMenuList
=
JSON
.
parse
(
localStorageData
).
data
.
ActionMenuList
;
var
isNewEditOrder
=
false
;
var
isNewEditOrder
=
false
;
if
(
ActionMenuList
&&
ActionMenuList
.
length
>
0
)
{
if
(
ActionMenuList
&&
ActionMenuList
.
length
>
0
)
{
ActionMenuList
.
forEach
(
x
=>
{
ActionMenuList
.
forEach
((
x
)
=>
{
if
(
x
.
FunctionCode
==
'Edit_Order'
)
{
if
(
x
.
FunctionCode
==
"Edit_Order"
)
{
isNewEditOrder
=
true
isNewEditOrder
=
true
;
}
}
})
});
}
}
if
(
isNewEditOrder
)
{
if
(
isNewEditOrder
)
{
this
.
newModityOrderType
=
3
;
this
.
newModityOrderType
=
3
;
...
@@ -875,12 +1389,10 @@
...
@@ -875,12 +1389,10 @@
this
.
newModityOrderType
=
newValue
;
this
.
newModityOrderType
=
newValue
;
}
}
},
},
immediate
:
true
immediate
:
true
,
}
},
},
mounted
()
{
},
},
mounted
()
{},
methods
:
{
methods
:
{
//初始化权限信息
//初始化权限信息
initAuth
()
{
initAuth
()
{
...
@@ -888,40 +1400,80 @@
...
@@ -888,40 +1400,80 @@
if
(
this
.
authObj
.
isShowName
!=
null
&&
!
this
.
authObj
.
isShowName
)
{
if
(
this
.
authObj
.
isShowName
!=
null
&&
!
this
.
authObj
.
isShowName
)
{
this
.
AuthorityObj
.
isShowName
=
this
.
authObj
.
isShowName
;
this
.
AuthorityObj
.
isShowName
=
this
.
authObj
.
isShowName
;
}
}
if
(
this
.
authObj
.
isShowGuestBtn
!=
null
&&
this
.
authObj
.
isShowGuestBtn
>
0
)
{
if
(
this
.
authObj
.
isShowGuestBtn
!=
null
&&
this
.
authObj
.
isShowGuestBtn
>
0
)
{
this
.
AuthorityObj
.
isShowGuestBtn
=
this
.
authObj
.
isShowGuestBtn
;
this
.
AuthorityObj
.
isShowGuestBtn
=
this
.
authObj
.
isShowGuestBtn
;
}
}
if
(
this
.
authObj
.
isShowFinanceBtn
!=
null
&&
this
.
authObj
.
isShowFinanceBtn
)
{
if
(
this
.
authObj
.
isShowFinanceBtn
!=
null
&&
this
.
authObj
.
isShowFinanceBtn
)
{
this
.
AuthorityObj
.
isShowFinanceBtn
=
this
.
authObj
.
isShowFinanceBtn
;
this
.
AuthorityObj
.
isShowFinanceBtn
=
this
.
authObj
.
isShowFinanceBtn
;
}
}
if
(
this
.
authObj
.
isShowTransOrder
!=
null
&&
this
.
authObj
.
isShowTransOrder
)
{
if
(
this
.
authObj
.
isShowTransOrder
!=
null
&&
this
.
authObj
.
isShowTransOrder
)
{
this
.
AuthorityObj
.
isShowTransOrder
=
this
.
authObj
.
isShowTransOrder
;
this
.
AuthorityObj
.
isShowTransOrder
=
this
.
authObj
.
isShowTransOrder
;
}
}
if
(
this
.
authObj
.
isShowEditSale
!=
null
&&
this
.
authObj
.
isShowEditSale
)
{
if
(
this
.
authObj
.
isShowEditSale
!=
null
&&
this
.
authObj
.
isShowEditSale
)
{
this
.
AuthorityObj
.
isShowEditSale
=
this
.
authObj
.
isShowEditSale
;
this
.
AuthorityObj
.
isShowEditSale
=
this
.
authObj
.
isShowEditSale
;
}
}
if
(
this
.
authObj
.
isShowSaleRemark
!=
null
&&
this
.
authObj
.
isShowSaleRemark
)
{
if
(
this
.
authObj
.
isShowSaleRemark
!=
null
&&
this
.
authObj
.
isShowSaleRemark
)
{
this
.
AuthorityObj
.
isShowSaleRemark
=
this
.
authObj
.
isShowSaleRemark
;
this
.
AuthorityObj
.
isShowSaleRemark
=
this
.
authObj
.
isShowSaleRemark
;
}
}
if
(
this
.
authObj
.
isShowEducationRemark
!=
null
&&
this
.
authObj
.
isShowEducationRemark
)
{
if
(
this
.
AuthorityObj
.
isShowEducationRemark
=
this
.
authObj
.
isShowEducationRemark
;
this
.
authObj
.
isShowEducationRemark
!=
null
&&
}
this
.
authObj
.
isShowEducationRemark
if
(
this
.
authObj
.
isShowPrincipalRemark
!=
null
&&
this
.
authObj
.
isShowPrincipalRemark
)
{
)
{
this
.
AuthorityObj
.
isShowPrincipalRemark
=
this
.
authObj
.
isShowPrincipalRemark
;
this
.
AuthorityObj
.
isShowEducationRemark
=
}
this
.
authObj
.
isShowEducationRemark
;
if
(
this
.
authObj
.
isShowManagerRemark
!=
null
&&
this
.
authObj
.
isShowManagerRemark
)
{
}
this
.
AuthorityObj
.
isShowManagerRemark
=
this
.
authObj
.
isShowManagerRemark
;
if
(
}
this
.
authObj
.
isShowPrincipalRemark
!=
null
&&
if
(
this
.
authObj
.
isShowCommissionEdit
!=
null
&&
this
.
authObj
.
isShowCommissionEdit
)
{
this
.
authObj
.
isShowPrincipalRemark
this
.
AuthorityObj
.
isShowCommissionEdit
=
this
.
authObj
.
isShowCommissionEdit
;
)
{
}
this
.
AuthorityObj
.
isShowPrincipalRemark
=
if
(
this
.
authObj
.
isShowRewardEdit
!=
null
&&
this
.
authObj
.
isShowRewardEdit
)
{
this
.
authObj
.
isShowPrincipalRemark
;
}
if
(
this
.
authObj
.
isShowManagerRemark
!=
null
&&
this
.
authObj
.
isShowManagerRemark
)
{
this
.
AuthorityObj
.
isShowManagerRemark
=
this
.
authObj
.
isShowManagerRemark
;
}
if
(
this
.
authObj
.
isShowCommissionEdit
!=
null
&&
this
.
authObj
.
isShowCommissionEdit
)
{
this
.
AuthorityObj
.
isShowCommissionEdit
=
this
.
authObj
.
isShowCommissionEdit
;
}
if
(
this
.
authObj
.
isShowRewardEdit
!=
null
&&
this
.
authObj
.
isShowRewardEdit
)
{
this
.
AuthorityObj
.
isShowRewardEdit
=
this
.
authObj
.
isShowRewardEdit
;
this
.
AuthorityObj
.
isShowRewardEdit
=
this
.
authObj
.
isShowRewardEdit
;
}
}
if
(
this
.
authObj
.
isShowBackClass
!=
null
&&
this
.
authObj
.
isShowBackClass
)
{
if
(
this
.
authObj
.
isShowBackClass
!=
null
&&
this
.
authObj
.
isShowBackClass
)
{
this
.
AuthorityObj
.
isShowBackClass
=
this
.
authObj
.
isShowBackClass
;
this
.
AuthorityObj
.
isShowBackClass
=
this
.
authObj
.
isShowBackClass
;
}
}
if
(
this
.
authObj
.
isShowRenewClass
!=
null
&&
this
.
authObj
.
isShowRenewClass
)
{
if
(
this
.
authObj
.
isShowRenewClass
!=
null
&&
this
.
authObj
.
isShowRenewClass
)
{
this
.
AuthorityObj
.
isShowRenewClass
=
this
.
authObj
.
isShowRenewClass
;
this
.
AuthorityObj
.
isShowRenewClass
=
this
.
authObj
.
isShowRenewClass
;
}
}
if
(
this
.
authObj
.
isShowEdit
!=
null
&&
!
this
.
authObj
.
isShowEdit
)
{
if
(
this
.
authObj
.
isShowEdit
!=
null
&&
!
this
.
authObj
.
isShowEdit
)
{
...
@@ -936,26 +1488,26 @@
...
@@ -936,26 +1488,26 @@
//跳转到报价单
//跳转到报价单
goQuotation
(
Id
)
{
goQuotation
(
Id
)
{
this
.
OpenNewUrl
(
"/sale/quotation"
,
{
this
.
OpenNewUrl
(
"/sale/quotation"
,
{
Id
:
Id
Id
:
Id
,
});
});
},
},
//跳转到预约单号
//跳转到预约单号
goVisitorReser
(
Id
)
{
goVisitorReser
(
Id
)
{
this
.
OpenNewUrl
(
"/sale/appointManagement"
,
{
this
.
OpenNewUrl
(
"/sale/appointManagement"
,
{
Id
:
Id
Id
:
Id
,
});
});
},
},
//弹出退课名单
//弹出退课名单
getTkshow
(
data
)
{
getTkshow
(
data
)
{
let
Tkshow
=
false
;
let
Tkshow
=
false
;
if
(
data
&&
data
.
length
>
0
)
{
if
(
data
&&
data
.
length
>
0
)
{
data
.
forEach
(
x
=>
{
data
.
forEach
((
x
)
=>
{
if
(
x
.
GuestState
==
2
)
{
if
(
x
.
GuestState
==
2
)
{
Tkshow
=
true
Tkshow
=
true
;
}
}
});
});
}
}
return
Tkshow
return
Tkshow
;
},
},
//关闭退课申请
//关闭退课申请
closeBackClassForm
()
{
closeBackClassForm
()
{
...
@@ -980,53 +1532,58 @@
...
@@ -980,53 +1532,58 @@
//获取员工列表
//获取员工列表
Employee
()
{
Employee
()
{
var
qMsg
=
{
var
qMsg
=
{
EmployeeName
:
''
EmployeeName
:
""
,
}
};
queryEmployee
(
qMsg
).
then
(
res
=>
{
queryEmployee
(
qMsg
).
then
((
res
)
=>
{
if
(
res
.
Code
==
1
)
{
if
(
res
.
Code
==
1
)
{
this
.
EmployeeList
=
res
.
Data
;
this
.
EmployeeList
=
res
.
Data
;
}
}
})
});
},
},
//获取财务单据
//获取财务单据
getOrderFinanceList
(
msg
,
type
)
{
getOrderFinanceList
(
msg
,
type
)
{
this
.
apipost
(
'sellorder_post_GetOrderFinanceListForEdu'
,
{
this
.
apipost
(
OrderIds
:
msg
"sellorder_post_GetOrderFinanceListForEdu"
,
},
res
=>
{
{
OrderIds
:
msg
,
},
(
res
)
=>
{
if
(
res
.
data
.
resultCode
===
1
)
{
if
(
res
.
data
.
resultCode
===
1
)
{
let
data
=
res
.
data
.
data
;
let
data
=
res
.
data
.
data
;
if
(
type
==
1
)
{
if
(
type
==
1
)
{
if
(
this
.
dataList
)
{
if
(
this
.
dataList
)
{
this
.
dataList
.
forEach
(
x
=>
{
this
.
dataList
.
forEach
(
(
x
)
=>
{
data
.
forEach
(
j
=>
{
data
.
forEach
(
(
j
)
=>
{
if
(
x
.
OrderId
==
j
.
OrderId
)
{
if
(
x
.
OrderId
==
j
.
OrderId
)
{
x
.
FinanceList
=
j
.
FinanceList
x
.
FinanceList
=
j
.
FinanceList
;
x
.
RefundFinanceList
=
j
.
RefundFinanceList
x
.
RefundFinanceList
=
j
.
RefundFinanceList
;
}
}
})
})
;
})
})
;
}
}
}
else
if
(
type
==
2
)
{
}
else
if
(
type
==
2
)
{
if
(
this
.
cancelList
&&
this
.
cancelList
.
length
>
0
)
{
if
(
this
.
cancelList
&&
this
.
cancelList
.
length
>
0
)
{
this
.
cancelList
.
forEach
(
x
=>
{
this
.
cancelList
.
forEach
(
(
x
)
=>
{
data
.
forEach
(
j
=>
{
data
.
forEach
(
(
j
)
=>
{
if
(
x
.
OrderId
==
j
.
OrderId
)
{
if
(
x
.
OrderId
==
j
.
OrderId
)
{
x
.
FinanceList
=
j
.
FinanceList
x
.
FinanceList
=
j
.
FinanceList
;
x
.
RefundFinanceList
=
j
.
RefundFinanceList
x
.
RefundFinanceList
=
j
.
RefundFinanceList
;
}
}
})
})
;
})
})
;
}
}
}
}
this
.
$forceUpdate
()
this
.
$forceUpdate
()
;
}
else
{
}
else
{
this
.
$message
.
error
(
res
.
data
.
message
);
this
.
$message
.
error
(
res
.
data
.
message
);
}
}
},
err
=>
{})
},
(
err
)
=>
{}
);
},
},
//显示订单详情
//显示订单详情
goOrderdetails
(
item
,
tab
)
{
goOrderdetails
(
item
,
tab
)
{
item
.
tab
=
tab
item
.
tab
=
tab
;
this
.
myorderObjOption
=
item
;
this
.
myorderObjOption
=
item
;
this
.
isShowmyorderForm
=
true
;
this
.
isShowmyorderForm
=
true
;
},
},
...
@@ -1036,7 +1593,7 @@
...
@@ -1036,7 +1593,7 @@
},
},
//订单转交
//订单转交
transferOrder
(
item
,
type
)
{
transferOrder
(
item
,
type
)
{
item
.
type
=
type
item
.
type
=
type
;
this
.
orderObj
=
item
;
this
.
orderObj
=
item
;
this
.
isShowTransOrderForm
=
true
;
this
.
isShowTransOrderForm
=
true
;
},
},
...
@@ -1046,15 +1603,15 @@
...
@@ -1046,15 +1603,15 @@
},
},
//跳转到学生名单
//跳转到学生名单
gostudent
(
item
)
{
gostudent
(
item
)
{
var
tempStr
=
'/sale/studentList'
;
var
tempStr
=
"/sale/studentList"
;
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
,
}
},
});
});
},
},
//修改订单备注
//修改订单备注
...
@@ -1089,7 +1646,7 @@
...
@@ -1089,7 +1646,7 @@
this
.
isShowMoney
=
false
;
this
.
isShowMoney
=
false
;
this
.
isShowStudyOrderForm
=
false
;
this
.
isShowStudyOrderForm
=
false
;
//调用父页面成功方法
//调用父页面成功方法
this
.
$emit
(
'success'
);
this
.
$emit
(
"success"
);
},
},
//关闭修改提成和额外奖励
//关闭修改提成和额外奖励
closeMoneyForm
()
{
closeMoneyForm
()
{
...
@@ -1098,47 +1655,50 @@
...
@@ -1098,47 +1655,50 @@
},
},
//取消订单
//取消订单
CancelOrder
(
item
)
{
CancelOrder
(
item
)
{
let
that
=
this
let
that
=
this
;
this
.
$q
.
dialog
({
this
.
$q
title
:
'取消此订单'
,
.
dialog
({
message
:
'<span style="color: var(--q-color-negative)">请输入取消备注</span>'
,
title
:
"取消此订单"
,
message
:
'<span style="color: var(--q-color-negative)">请输入取消备注</span>'
,
prompt
:
{
prompt
:
{
model
:
''
,
model
:
""
,
isValid
:
val
=>
!!
val
,
//
<<
here
is
the
magic
isValid
:
(
val
)
=>
!!
val
,
//
<<
here
is
the
magic
type
:
'text'
// optional
type
:
"text"
,
// optional
},
},
cancel
:
true
,
cancel
:
true
,
persistent
:
true
,
persistent
:
true
,
html
:
true
,
html
:
true
,
ok
:
"确定"
,
ok
:
"确定"
,
cancel
:
"取消"
,
cancel
:
"取消"
,
}).
onOk
((
data
)
=>
{
})
.
onOk
((
data
)
=>
{
let
msg
=
{
let
msg
=
{
ActivityId
:
item
.
ActivityId
,
ActivityId
:
item
.
ActivityId
,
Id
:
item
.
Id
,
Id
:
item
.
Id
,
EduUserId
:
that
.
loginId
,
EduUserId
:
that
.
loginId
,
CancelRemark
:
data
CancelRemark
:
data
,
}
}
;
that
.
apipostDS
(
"/api/Education/CancelCommerceConsult"
,
msg
,
(
res
)
=>
{
that
.
apipostDS
(
"/api/Education/CancelCommerceConsult"
,
msg
,
(
res
)
=>
{
if
(
res
.
data
.
resultCode
===
1
)
{
if
(
res
.
data
.
resultCode
===
1
)
{
that
.
$q
.
notify
({
that
.
$q
.
notify
({
icon
:
'iconfont icon-chenggong'
,
icon
:
"iconfont icon-chenggong"
,
color
:
'accent'
,
color
:
"accent"
,
timeout
:
2000
,
timeout
:
2000
,
message
:
'操作成功'
,
message
:
"操作成功"
,
position
:
'top'
position
:
"top"
,
})
})
;
//调用父页面成功方法
//调用父页面成功方法
that
.
$emit
(
'success'
);
that
.
$emit
(
"success"
);
}
else
{
}
else
{
that
.
Error
(
res
.
data
.
message
)
that
.
Error
(
res
.
data
.
message
)
;
}
}
})
})
;
})
})
;
},
},
//财务单据
//财务单据
chanceType
(
obj
,
type
)
{
chanceType
(
obj
,
type
)
{
let
TCIDARR
=
[]
let
TCIDARR
=
[];
if
(
obj
&&
obj
.
OrderType
==
2
)
{
if
(
obj
&&
obj
.
OrderType
==
2
)
{
//留学就业订单
//留学就业订单
TCIDARR
.
push
(
obj
.
SourceId
);
TCIDARR
.
push
(
obj
.
SourceId
);
...
@@ -1151,49 +1711,49 @@
...
@@ -1151,49 +1711,49 @@
OrderSource
:
17
,
OrderSource
:
17
,
Obj
:
{},
Obj
:
{},
SourceID
:
0
,
SourceID
:
0
,
TCIDList
:
TCIDARR
TCIDList
:
TCIDARR
,
}
};
if
(
obj
.
OfferId
>
0
)
{
if
(
obj
.
OfferId
>
0
)
{
orderObj
.
OtherType
=
29
;
orderObj
.
OtherType
=
29
;
orderObj
.
ReFinanceId
=
obj
.
OfferId
;
orderObj
.
ReFinanceId
=
obj
.
OfferId
;
}
}
if
(
obj
.
OrderType
==
1
&&
this
.
chooseStudent
==
""
)
{
if
(
obj
.
OrderType
==
1
&&
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
;
}
}
if
(
obj
.
OrderType
==
1
&&
this
.
chooseStudent
==
""
)
{
if
(
obj
.
OrderType
==
1
&&
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
ContractNo
=
''
let
ContractNo
=
""
;
if
(
obj
&&
obj
.
GuestList
.
length
>
0
)
{
if
(
obj
&&
obj
.
GuestList
.
length
>
0
)
{
obj
.
GuestList
.
forEach
(
x
=>
{
obj
.
GuestList
.
forEach
((
x
)
=>
{
if
(
this
.
chooseStudent
==
x
.
Id
)
{
if
(
this
.
chooseStudent
==
x
.
Id
)
{
ContractNo
=
x
.
ContractNo
ContractNo
=
x
.
ContractNo
;
}
}
})
});
}
}
if
(
obj
.
OrderType
==
1
&&
ContractNo
==
''
)
{
if
(
obj
.
OrderType
==
1
&&
ContractNo
==
""
)
{
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
;
}
}
//留学就业订单
//留学就业订单
if
(
obj
&&
obj
.
OrderType
==
2
)
{
if
(
obj
&&
obj
.
OrderType
==
2
)
{
...
@@ -1205,27 +1765,27 @@
...
@@ -1205,27 +1765,27 @@
guestId
=
this
.
chooseStudent
;
guestId
=
this
.
chooseStudent
;
}
}
this
.
$router
.
push
({
this
.
$router
.
push
({
path
:
'/financial/financalDocument/ChoiceAddFinancialDocuments'
,
path
:
"/financial/financalDocument/ChoiceAddFinancialDocuments"
,
query
:
{
query
:
{
"Type"
:
type
,
Type
:
type
,
"companyID"
:
obj
.
ClassSchoolId
,
companyID
:
obj
.
ClassSchoolId
,
"path"
:
""
,
path
:
""
,
'blank'
:
'y'
,
blank
:
"y"
,
'orderObj'
:
JSON
.
stringify
(
orderObj
),
orderObj
:
JSON
.
stringify
(
orderObj
),
'tradeWay'
:
obj
.
tradeWay
,
tradeWay
:
obj
.
tradeWay
,
"GuestId"
:
guestId
GuestId
:
guestId
,
}
},
});
});
},
},
//打开班级详情组件
//打开班级详情组件
getClassInfo
(
obj
)
{
getClassInfo
(
obj
)
{
this
.
classObjOption
=
obj
;
this
.
classObjOption
=
obj
;
this
.
classObjOption
.
School_Id
=
this
.
classObjOption
.
ClassSchoolId
this
.
classObjOption
.
School_Id
=
this
.
classObjOption
.
ClassSchoolId
;
this
.
isShowClassInfo
=
true
;
this
.
isShowClassInfo
=
true
;
},
},
//关闭班级信息弹窗
//关闭班级信息弹窗
closeClass
()
{
closeClass
()
{
this
.
isShowClassInfo
=
false
this
.
isShowClassInfo
=
false
;
},
},
//修改提成-奖励
//修改提成-奖励
upDateMoney
(
item
,
type
)
{
upDateMoney
(
item
,
type
)
{
...
@@ -1235,7 +1795,7 @@
...
@@ -1235,7 +1795,7 @@
},
},
//关闭弹窗
//关闭弹窗
closeEdudia
()
{
closeEdudia
()
{
this
.
isShowEduForm
=
false
this
.
isShowEduForm
=
false
;
},
},
//刷新页面
//刷新页面
refreshPage
()
{
refreshPage
()
{
...
@@ -1246,28 +1806,30 @@
...
@@ -1246,28 +1806,30 @@
takeContract
(
item
)
{
takeContract
(
item
)
{
let
msg
=
{
let
msg
=
{
OrderId
:
item
.
OrderId
,
OrderId
:
item
.
OrderId
,
GuestId
:
0
GuestId
:
0
,
}
};
SetOrderReceiveContract
(
msg
).
then
(
res
=>
{
SetOrderReceiveContract
(
msg
)
.
then
((
res
)
=>
{
if
(
res
.
Code
==
1
)
{
if
(
res
.
Code
==
1
)
{
this
.
$q
.
notify
({
this
.
$q
.
notify
({
icon
:
'iconfont icon-chenggong'
,
icon
:
"iconfont icon-chenggong"
,
color
:
'accent'
,
color
:
"accent"
,
timeout
:
2000
,
timeout
:
2000
,
message
:
'操作成功'
,
message
:
"操作成功"
,
position
:
'top'
position
:
"top"
,
})
})
;
//调用父页面成功方法
//调用父页面成功方法
this
.
$emit
(
'success'
);
this
.
$emit
(
"success"
);
}
}
}).
catch
(()
=>
{})
})
.
catch
(()
=>
{});
},
},
takeContractTwo
(
item
,
subItem
)
{
takeContractTwo
(
item
,
subItem
)
{
let
obj
=
{
let
obj
=
{
OrderId
:
item
.
OrderId
,
OrderId
:
item
.
OrderId
,
GuestId
:
subItem
.
Id
,
GuestId
:
subItem
.
Id
,
ContractId
:
subItem
.
ContractId
ContractId
:
subItem
.
ContractId
,
}
};
this
.
eduObj
=
obj
;
this
.
eduObj
=
obj
;
this
.
isShowPop
=
false
;
this
.
isShowPop
=
false
;
this
.
isShowEduForm
=
true
;
this
.
isShowEduForm
=
true
;
...
@@ -1275,12 +1837,12 @@
...
@@ -1275,12 +1837,12 @@
//跳转至合同管理
//跳转至合同管理
goContractMannage
(
subItem
)
{
goContractMannage
(
subItem
)
{
this
.
OpenNewUrl
(
"/contractView"
,
{
this
.
OpenNewUrl
(
"/contractView"
,
{
ContractId
:
subItem
.
ContractId
ContractId
:
subItem
.
ContractId
,
});
});
},
},
gourltx
(
OrderId
)
{
gourltx
(
OrderId
)
{
this
.
OpenNewUrl
(
"/financial/cycleOrderList"
,
{
this
.
OpenNewUrl
(
"/financial/cycleOrderList"
,
{
OrderId
:
OrderId
OrderId
:
OrderId
,
});
});
},
},
//跳转到收款单type=2付款,1收款
//跳转到收款单type=2付款,1收款
...
@@ -1296,211 +1858,209 @@
...
@@ -1296,211 +1858,209 @@
OtherType
:
40
,
OtherType
:
40
,
ReFinanceId
:
item
.
ActivityId
,
//活动id
ReFinanceId
:
item
.
ActivityId
,
//活动id
ReFinanceId2
:
item
.
Id
,
//订单id
ReFinanceId2
:
item
.
Id
,
//订单id
}
};
this
.
$router
.
push
({
this
.
$router
.
push
({
path
:
'/financial/financalDocument/ChoiceAddFinancialDocuments'
,
path
:
"/financial/financalDocument/ChoiceAddFinancialDocuments"
,
query
:
{
query
:
{
"Type"
:
type
,
Type
:
type
,
// "ReFinanceId":this.msg.Id,
// "ReFinanceId":this.msg.Id,
// "companyID": this.msg.Id,
// "companyID": this.msg.Id,
// "path": "",
// "path": "",
'blank'
:
'y'
,
blank
:
"y"
,
'orderObj'
:
JSON
.
stringify
(
orderObj
),
orderObj
:
JSON
.
stringify
(
orderObj
),
// 'tradeWay': '',
// 'tradeWay': '',
}
},
});
});
},
},
handleApply
(
type
,
item
){
//1,同意;2,拒绝
handleApply
(
type
,
item
)
{
if
(
type
===
1
){
//1,同意;2,拒绝
this
.
$emit
(
"agree"
,
item
)
if
(
type
===
1
)
{
}
else
if
(
type
===
2
){
this
.
$emit
(
"agree"
,
item
);
this
.
$emit
(
"refuse"
,
item
)
}
else
if
(
type
===
2
)
{
this
.
$emit
(
"refuse"
,
item
);
}
}
},
},
gourlactive
(
item
)
{
gourlactive
(
item
)
{
this
.
OpenNewUrl
(
'/financial/reportform/activityCommissionForOrderList'
,
{
this
.
OpenNewUrl
(
"/financial/reportform/activityCommissionForOrderList"
,
{
ActivityId
:
item
.
ActivityId
,
ActivityId
:
item
.
ActivityId
,
OrderId
:
item
.
Id
OrderId
:
item
.
Id
,
});
});
}
},
}
},
}
};
</
script
>
</
script
>
<
style
>
<
style
>
li
{
li
{
list-style-type
:
none
;
list-style-type
:
none
;
}
}
.classorder
ul
{
.classorder
ul
{
padding
:
0px
padding
:
0px
;
}
}
.classorder
.price-popup
{
.classorder
.price-popup
{
border-radius
:
4px
;
border-radius
:
4px
;
}
}
.classorder
.el-range-editor
.el-range-input
{
.classorder
.el-range-editor
.el-range-input
{
background
:
none
;
background
:
none
;
}
}
.classorder
.el-range-editor.el-input__inner
{
.classorder
.el-range-editor.el-input__inner
{
background-color
:
transparent
;
background-color
:
transparent
;
}
}
.classorder
.q-mb-md
{
.classorder
.q-mb-md
{
margin-bottom
:
0
;
margin-bottom
:
0
;
}
}
.classorder
.stics
{
.classorder
.stics
{
padding
:
10px
20px
;
padding
:
10px
20px
;
background
:
#DDDEE
0
;
background
:
#dddee
0
;
border-radius
:
4px
;
border-radius
:
4px
;
font-size
:
14px
;
font-size
:
14px
;
color
:
#000000
;
color
:
#000000
;
font-weight
:
bold
font-weight
:
bold
;
}
}
.classorder
.stics
.stics-name
{
.classorder
.stics
.stics-name
{
color
:
#2D2D2D
;
color
:
#2d2d2d
;
font-weight
:
600
;
font-weight
:
600
;
margin-right
:
10px
margin-right
:
10px
;
}
}
.classorder
.tis
{
.classorder
.tis
{
margin
:
10px
0
;
margin
:
10px
0
;
align-items
:
center
align-items
:
center
;
}
}
.classorder
.tis
.tis-k
{
.classorder
.tis
.tis-k
{
width
:
10px
;
width
:
10px
;
height
:
10px
;
height
:
10px
;
margin-right
:
8px
margin-right
:
8px
;
}
}
.classorder
.tis
span
{
.classorder
.tis
span
{
font-size
:
14px
;
font-size
:
14px
;
color
:
#2D2D2D
;
color
:
#2d2d2d
;
font-weight
:
600
;
font-weight
:
600
;
margin-right
:
20px
margin-right
:
20px
;
}
}
.classorder
table
{
.classorder
table
{
padding
:
10px
0
;
padding
:
10px
0
;
width
:
100%
;
width
:
100%
;
background-color
:
#ededed
;
background-color
:
#ededed
;
border-collapse
:
collapse
;
border-collapse
:
collapse
;
border
:
1px
solid
#d2d2d2
;
border
:
1px
solid
#d2d2d2
;
font-size
:
12px
;
font-size
:
12px
;
}
}
.classorder
table
th
{
.classorder
table
th
{
background-color
:
#ededed
;
background-color
:
#ededed
;
height
:
34px
;
height
:
34px
;
text-indent
:
15px
;
text-indent
:
15px
;
}
}
.classorder
table
td
{
.classorder
table
td
{
background-color
:
#ffffff
;
background-color
:
#ffffff
;
padding
:
9px
15px
;
padding
:
9px
15px
;
color
:
#333333
;
color
:
#333333
;
border
:
1px
solid
rgba
(
138
,
138
,
138
,
0.09
);
border
:
1px
solid
rgba
(
138
,
138
,
138
,
0.09
);
text-align
:
center
;
text-align
:
center
;
}
}
.classorder
table
._color_666
{
.classorder
table
._color_666
{
color
:
#666666
;
color
:
#666666
;
}
}
.classorder
table
tr
._color_666
th
{
.classorder
table
tr
._color_666
th
{
padding
:
9px
15px
;
padding
:
9px
15px
;
}
}
.classorder
table
th
{
.classorder
table
th
{
background-color
:
#ededed
;
background-color
:
#ededed
;
height
:
34px
;
height
:
34px
;
text-indent
:
15px
;
text-indent
:
15px
;
}
}
.classorder
table
td
{
.classorder
table
td
{
background-color
:
#ffffff
;
background-color
:
#ffffff
;
padding
:
9px
15px
;
padding
:
9px
15px
;
color
:
#333333
;
color
:
#333333
;
/*border: 1px solid #d2d2d2;*/
/*border: 1px solid #d2d2d2;*/
}
}
.classorder
table
._color_666
{
.classorder
table
._color_666
{
color
:
#666666
;
color
:
#666666
;
}
}
.classorder
table
tr
._color_666
th
{
.classorder
table
tr
._color_666
th
{
padding
:
9px
15px
;
padding
:
9px
15px
;
}
}
.classorder
.enrollTotalSearchTable
{
.classorder
.enrollTotalSearchTable
{
width
:
100%
;
width
:
100%
;
font-size
:
14px
;
font-size
:
14px
;
color
:
#333
;
color
:
#333
;
border-bottom
:
1px
solid
#cccccc
;
border-bottom
:
1px
solid
#cccccc
;
border-right
:
1px
solid
#cccccc
;
border-right
:
1px
solid
#cccccc
;
border-collapse
:
collapse
;
border-collapse
:
collapse
;
}
}
.classorder
.enrollTotalSearchTable
tr
{
.classorder
.enrollTotalSearchTable
tr
{
/* border-bottom: 2px solid #333; */
/* border-bottom: 2px solid #333; */
}
}
.classorder
.enrollTotalSearchTable
tr
th
{
.classorder
.enrollTotalSearchTable
tr
th
{
background
:
#DDDEE
0
;
background
:
#dddee
0
;
height
:
30px
;
height
:
30px
;
font-size
:
12px
;
font-size
:
12px
;
text-align
:
center
;
text-align
:
center
;
}
}
.classorder
.enrollTotalSearchTable
tr
{
.classorder
.enrollTotalSearchTable
tr
{
background
:
#fff
;
background
:
#fff
;
text-align
:
left
;
text-align
:
left
;
}
}
.classorder
.enrollTotalSearchTable
tbody
tr
:last-child
{
.classorder
.enrollTotalSearchTable
tbody
tr
:last-child
{
border-bottom
:
2px
solid
#333
;
border-bottom
:
2px
solid
#333
;
}
}
.classorder
.enrollTotalSearchTable
tr
:first-child
td
:first-child
{
.classorder
.enrollTotalSearchTable
tr
:first-child
td
:first-child
{
border-bottom
:
2px
solid
#333
;
border-bottom
:
2px
solid
#333
;
}
}
.classorder
.enrollTotalSearchTable
tr
td
{
.classorder
.enrollTotalSearchTable
tr
td
{
height
:
66px
;
height
:
66px
;
padding
:
10px
;
padding
:
10px
;
/*border-top: 1px solid #cccccc;*/
/*border-top: 1px solid #cccccc;*/
/*border-left: 1px solid #cccccc;*/
/*border-left: 1px solid #cccccc;*/
}
}
.classorder
.enrollTotalSearchTable
tr
td
>
img
{
.classorder
.enrollTotalSearchTable
tr
td
>
img
{
width
:
32px
;
width
:
32px
;
height
:
32px
;
height
:
32px
;
border-radius
:
16px
;
border-radius
:
16px
;
vertical-align
:
middle
;
vertical-align
:
middle
;
margin-right
:
5px
;
margin-right
:
5px
;
}
}
.classorder
.enrollTotalSearchTable
tr
td
p
{
.classorder
.enrollTotalSearchTable
tr
td
p
{
line-height
:
20px
;
line-height
:
20px
;
}
}
.classorder
.remarks
{
.classorder
.remarks
{
font-size
:
14px
;
font-size
:
14px
;
color
:
#2D2D2D
;
color
:
#2d2d2d
;
}
}
.classorder
.remarks-b
{
.classorder
.remarks-b
{
width
:
100%
;
width
:
100%
;
height
:
94px
;
height
:
94px
;
background
:
#F0F5FB
;
background
:
#f0f5fb
;
margin-top
:
10px
;
margin-top
:
10px
;
padding
:
15px
;
padding
:
15px
;
font-size
:
12px
;
font-size
:
12px
;
...
@@ -1511,61 +2071,60 @@
...
@@ -1511,61 +2071,60 @@
line-height
:
20px
;
line-height
:
20px
;
-webkit-line-clamp
:
4
;
-webkit-line-clamp
:
4
;
-webkit-box-orient
:
vertical
;
-webkit-box-orient
:
vertical
;
}
}
.classorder
.remarks-b-b
{
.classorder
.remarks-b-b
{
text-align
:
right
;
text-align
:
right
;
position
:
absolute
;
position
:
absolute
;
right
:
0px
;
right
:
0px
;
bottom
:
0px
bottom
:
0px
;
}
}
.classorder
.on-left
{
.classorder
.on-left
{
margin-right
:
5px
;
margin-right
:
5px
;
}
}
.classorder
.finance
{
.classorder
.finance
{
padding
:
1px
10px
;
padding
:
1px
10px
;
align-items
:
center
;
align-items
:
center
;
justify-content
:
center
;
justify-content
:
center
;
border-radius
:
4px
;
border-radius
:
4px
;
margin
:
5px
3px
3px
0
;
margin
:
5px
3px
3px
0
;
}
}
.classorder
.order_OfferId
{
.classorder
.order_OfferId
{
font-size
:
18px
;
font-size
:
18px
;
color
:
#2961FE
;
color
:
#2961fe
;
margin-bottom
:
10px
;
margin-bottom
:
10px
;
font-weight
:
bold
;
font-weight
:
bold
;
text-decoration
:
underline
;
text-decoration
:
underline
;
cursor
:
pointer
cursor
:
pointer
;
}
}
.takeContract
{
.takeContract
{
cursor
:
pointer
;
cursor
:
pointer
;
color
:
rgb
(
41
,
97
,
254
);
color
:
rgb
(
41
,
97
,
254
);
}
}
.Contract_Table
{
.Contract_Table
{
width
:
100%
;
width
:
100%
;
border-collapse
:
collapse
;
border-collapse
:
collapse
;
}
}
.Contract_Table
th
,
.Contract_Table
th
,
.Contract_Table
td
{
.Contract_Table
td
{
padding
:
5px
;
padding
:
5px
;
color
:
#000
;
color
:
#000
;
text-align
:
center
;
text-align
:
center
;
}
}
.table-body
{
.table-body
{
height
:
590px
;
height
:
590px
;
overflow-x
:
hidden
;
overflow-x
:
hidden
;
overflow-y
:
auto
;
overflow-y
:
auto
;
}
}
.classorder
.redstyle
{
.classorder
.redstyle
{
color
:
var
(
--q-color-negative
);
color
:
var
(
--q-color-negative
);
}
}
</
style
>
</
style
>
src/pages/activity/activeSignUpList.vue
View file @
820790b2
<
template
>
<
template
>
<div
class=
"page-body myActiveOrder"
>
<div
class=
"page-body myActiveOrder"
>
<div
class=
"row col"
style=
"margin-bottom: 10px"
>
<div
class=
"row col"
style=
"margin-bottom: 10px"
>
<div
class=
"row col "
>
<div
class=
"row col"
>
<q-btn
color=
"accent"
size=
"sm"
class=
"q-mr-md "
label=
"返回"
@
click=
"goBack"
/>
<q-btn
<div
v-if=
"activeName"
style=
"line-height:25px"
>
color=
"accent"
活动名称:
{{
activeName
}}
size=
"sm"
class=
"q-mr-md"
label=
"返回"
@
click=
"goBack"
/>
<div
v-if=
"activeName"
style=
"line-height: 25px"
>
活动名称:
{{
activeName
}}
</div>
</div>
</div>
</div>
<q-btn
color=
"accent"
style=
"float:right"
v-if=
"from==1"
size=
"sm"
label=
"参与者名单"
@
click=
"gourl"
/>
<q-btn
color=
"accent"
style=
"float: right"
v-if=
"from == 1"
size=
"sm"
label=
"参与者名单"
@
click=
"gourl"
/>
</div>
</div>
<div
class=
"page-content"
>
<div
class=
"page-content"
>
<OrderItem
:dataList=
"data.List"
ref=
"orderL"
:authObj=
"authObj"
:modityOrderType=
"2"
:cancelList=
"CancelList"
<OrderItem
:formActiveMan=
"true"
@
agree=
"agreeApply"
@
refuse=
"jujueMsg"
@
success=
"refreshClassOrder"
></OrderItem>
:dataList=
"data.List"
<div
class=
"row"
style=
"justify-content: flex-end;padding: 5px 20px"
>
ref=
"orderL"
<q-pagination
v-model=
"msg.pageIndex"
:max=
"pageCount"
@
input=
"changePage"
class=
"full-width justify-end"
:authObj=
"authObj"
color=
"primary"
:input=
"true"
>
:modityOrderType=
"2"
:cancelList=
"CancelList"
:formActiveMan=
"true"
@
agree=
"agreeApply"
@
refuse=
"jujueMsg"
@
success=
"refreshClassOrder"
isActivity
></OrderItem>
<div
class=
"row"
style=
"justify-content: flex-end; padding: 5px 20px"
>
<q-pagination
v-model=
"msg.pageIndex"
:max=
"pageCount"
@
input=
"changePage"
class=
"full-width justify-end"
color=
"primary"
:input=
"true"
>
</q-pagination>
</q-pagination>
</div>
</div>
</div>
</div>
<!-- 拒绝报名 -->
<!-- 拒绝报名 -->
<el-dialog
title=
"拒绝报名"
:visible
.
sync=
"showJujue"
width=
"600px"
>
<el-dialog
title=
"拒绝报名"
:visible
.
sync=
"showJujue"
width=
"600px"
>
<div
class=
"activityFlex"
>
<div
class=
"activityFlex"
>
<el-input
type=
"textarea"
rows=
"4"
v-model=
"bdMsg.RejectRemark"
></el-input>
<el-input
type=
"textarea"
rows=
"4"
v-model=
"bdMsg.RejectRemark"
></el-input>
</div>
</div>
<span
slot=
"footer"
class=
"dialog-footer"
>
<span
slot=
"footer"
class=
"dialog-footer"
>
<!--
<el-button
type=
"primary"
size=
"small"
@
click=
"sureJujue"
>
确定
</el-button>
-->
<!--
<el-button
type=
"primary"
size=
"small"
@
click=
"sureJujue"
>
确定
</el-button>
-->
<q-btn
text-color=
"accent"
size=
"sm"
class=
"q-mr-md"
label=
"取消"
@
click=
"showJujue=false"
/>
<q-btn
<q-btn
color=
"accent"
size=
"sm"
class=
"q-mr-md"
label=
"确定"
@
click=
"sureJujue"
/>
text-color=
"accent"
size=
"sm"
class=
"q-mr-md"
label=
"取消"
@
click=
"showJujue = false"
/>
<q-btn
color=
"accent"
size=
"sm"
class=
"q-mr-md"
label=
"确定"
@
click=
"sureJujue"
/>
</span>
</span>
</el-dialog>
</el-dialog>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
import
{
import
{
quertClassOrderList
}
from
"../../api/sale/sale"
;
quertClassOrderList
}
from
'../../api/sale/sale'
;
import
OrderItem
from
'../../components/sale/activeOrder-item.vue'
import
OrderItem
from
"../../components/sale/activeOrder-item.vue"
;
export
default
{
export
default
{
meta
:
{
meta
:
{
title
:
"活动报名列表"
title
:
"活动报名列表"
,
},
},
components
:
{
components
:
{
OrderItem
OrderItem
,
},
},
data
()
{
data
()
{
return
{
return
{
...
@@ -52,7 +94,7 @@
...
@@ -52,7 +94,7 @@
msg
:
{
msg
:
{
pageIndex
:
1
,
pageIndex
:
1
,
pageSize
:
10
,
pageSize
:
10
,
ActivityId
:
0
ActivityId
:
0
,
},
},
pageCount
:
0
,
pageCount
:
0
,
//正常订单
//正常订单
...
@@ -72,21 +114,21 @@
...
@@ -72,21 +114,21 @@
bdMsg
:
{
bdMsg
:
{
Id
:
0
,
//报名id
Id
:
0
,
//报名id
ApplyForCancelStatus
:
1
,
//申请取消审核状态 1同意 2拒绝
ApplyForCancelStatus
:
1
,
//申请取消审核状态 1同意 2拒绝
RejectRemark
:
''
RejectRemark
:
""
,
},
},
showJujue
:
false
,
showJujue
:
false
,
from
:
0
,
//来源页面,1===活动=>活动管理=>活动列表
from
:
0
,
//来源页面,1===活动=>活动管理=>活动列表
}
};
},
},
created
()
{
created
()
{
if
(
this
.
$route
.
query
.
Id
)
{
if
(
this
.
$route
.
query
.
Id
)
{
this
.
msg
.
ActivityId
=
this
.
$route
.
query
.
Id
this
.
msg
.
ActivityId
=
this
.
$route
.
query
.
Id
;
}
}
if
(
this
.
$route
.
query
.
name
)
{
if
(
this
.
$route
.
query
.
name
)
{
this
.
activeName
=
this
.
$route
.
query
.
name
this
.
activeName
=
this
.
$route
.
query
.
name
;
}
}
if
(
this
.
$route
.
query
.
from
)
{
if
(
this
.
$route
.
query
.
from
)
{
this
.
from
=
this
.
$route
.
query
.
from
this
.
from
=
this
.
$route
.
query
.
from
;
}
}
this
.
getList
();
this
.
getList
();
},
},
...
@@ -94,38 +136,46 @@
...
@@ -94,38 +136,46 @@
//获取订单列表
//获取订单列表
getList
()
{
getList
()
{
this
.
loading
=
true
;
this
.
loading
=
true
;
this
.
apipostDS
(
"/api/Education/GetConsultOrderStatisticsPage"
,
this
.
msg
,
(
res
)
=>
{
this
.
apipostDS
(
this
.
loading
=
false
"/api/Education/GetConsultOrderStatisticsPage"
,
this
.
msg
,
(
res
)
=>
{
this
.
loading
=
false
;
if
(
res
.
data
.
resultCode
===
1
)
{
if
(
res
.
data
.
resultCode
===
1
)
{
this
.
data
=
res
.
data
.
data
.
pageData
;
this
.
data
=
res
.
data
.
data
.
pageData
;
this
.
pageCount
=
res
.
data
.
data
.
pageCount
;
this
.
pageCount
=
res
.
data
.
data
.
pageCount
;
}
}
})
}
);
},
},
//刷新页面
//刷新页面
refreshClassOrder
()
{
refreshClassOrder
()
{
this
.
getList
();
this
.
getList
();
},
},
goBack
()
{
goBack
()
{
this
.
$router
.
go
(
-
1
)
this
.
$router
.
go
(
-
1
);
},
},
//翻页
//翻页
changePage
(
val
)
{
changePage
(
val
)
{
this
.
msg
.
pageIndex
=
val
;
this
.
msg
.
pageIndex
=
val
;
this
.
getList
()
this
.
getList
();
},
},
//同意
//同意
agreeApply
(
item
)
{
agreeApply
(
item
)
{
this
.
bdMsg
.
Id
=
item
.
Id
;
this
.
bdMsg
.
Id
=
item
.
Id
;
this
.
bdMsg
.
ApplyForCancelStatus
=
1
;
this
.
bdMsg
.
ApplyForCancelStatus
=
1
;
this
.
apipostDS
(
"/api/Education/SetCommerceConsultApplyCancel"
,
this
.
bdMsg
,
res
=>
{
this
.
apipostDS
(
"/api/Education/SetCommerceConsultApplyCancel"
,
this
.
bdMsg
,
(
res
)
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
Success
(
"操作成功"
)
this
.
Success
(
"操作成功"
)
;
this
.
getList
()
this
.
getList
()
;
}
else
{
}
else
{
this
.
Error
(
res
.
data
.
message
);
this
.
Error
(
res
.
data
.
message
);
}
}
})
}
);
},
},
jujueMsg
(
item
)
{
jujueMsg
(
item
)
{
this
.
bdMsg
.
Id
=
item
.
Id
;
this
.
bdMsg
.
Id
=
item
.
Id
;
...
@@ -134,19 +184,23 @@
...
@@ -134,19 +184,23 @@
// 拒绝
// 拒绝
sureJujue
()
{
sureJujue
()
{
if
(
!
this
.
bdMsg
.
RejectRemark
)
{
if
(
!
this
.
bdMsg
.
RejectRemark
)
{
this
.
Error
(
"请输入拒绝原因"
)
this
.
Error
(
"请输入拒绝原因"
);
return
return
;
}
}
this
.
bdMsg
.
ApplyForCancelStatus
=
2
;
this
.
bdMsg
.
ApplyForCancelStatus
=
2
;
this
.
apipostDS
(
"/api/Education/SetCommerceConsultApplyCancel"
,
this
.
bdMsg
,
res
=>
{
this
.
apipostDS
(
"/api/Education/SetCommerceConsultApplyCancel"
,
this
.
bdMsg
,
(
res
)
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
showJujue
=
false
;
this
.
showJujue
=
false
;
this
.
Success
(
"操作成功"
)
this
.
Success
(
"操作成功"
)
;
this
.
getList
()
this
.
getList
()
;
}
else
{
}
else
{
this
.
Error
(
res
.
data
.
message
);
this
.
Error
(
res
.
data
.
message
);
}
}
})
}
);
},
},
gourl
()
{
gourl
()
{
this
.
$router
.
push
({
this
.
$router
.
push
({
...
@@ -154,38 +208,36 @@
...
@@ -154,38 +208,36 @@
query
:
{
query
:
{
Id
:
this
.
msg
.
ActivityId
,
Id
:
this
.
msg
.
ActivityId
,
name
:
this
.
activeName
,
name
:
this
.
activeName
,
from
:
this
.
from
from
:
this
.
from
,
}
})
},
},
}
});
}
},
},
};
</
script
>
</
script
>
<
style
>
<
style
>
.myActiveOrder
.table-body
{
.myActiveOrder
.table-body
{
height
:
calc
(
100vh
-
220px
);
height
:
calc
(
100vh
-
220px
);
}
}
/*定义滚动条高宽及背景 高宽分别对应横竖滚动条的尺寸*/
/*定义滚动条高宽及背景 高宽分别对应横竖滚动条的尺寸*/
.myActiveOrder
.table-body
::-webkit-scrollbar
{
.myActiveOrder
.table-body
::-webkit-scrollbar
{
width
:
5px
;
width
:
5px
;
height
:
5px
;
height
:
5px
;
background-color
:
#F5F5F
5
;
background-color
:
#f5f5f
5
;
}
}
/*定义滚动条轨道 内阴影+圆角*/
/*定义滚动条轨道 内阴影+圆角*/
.myActiveOrder
.table-body
::-webkit-scrollbar-track
{
.myActiveOrder
.table-body
::-webkit-scrollbar-track
{
-webkit-box-shadow
:
inset
0
0
6px
rgba
(
0
,
0
,
0
,
0.3
);
-webkit-box-shadow
:
inset
0
0
6px
rgba
(
0
,
0
,
0
,
0.3
);
border-radius
:
10px
;
border-radius
:
10px
;
background-color
:
#F5F5F
5
;
background-color
:
#f5f5f
5
;
}
}
/*定义滑块 内阴影+圆角*/
/*定义滑块 内阴影+圆角*/
.myActiveOrder
.table-body
::-webkit-scrollbar-thumb
{
.myActiveOrder
.table-body
::-webkit-scrollbar-thumb
{
border-radius
:
5px
;
border-radius
:
5px
;
-webkit-box-shadow
:
inset
0
0
6px
rgba
(
0
,
0
,
0
,
.3
);
-webkit-box-shadow
:
inset
0
0
6px
rgba
(
0
,
0
,
0
,
0
.3
);
background-color
:
#555
;
background-color
:
#555
;
}
}
</
style
>
</
style
>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment