Commit 492a7a27 authored by 黄奎's avatar 黄奎

页面修改

parent 05a11e55
......@@ -2,12 +2,7 @@
<template>
<div class="classorder">
<div class="table-head">
<table
class="enrollTotalSearchTable"
border="0"
cellspacing="0"
cellpadding="0"
>
<table class="enrollTotalSearchTable" border="0" cellspacing="0" cellpadding="0">
<colgroup>
<col width="12%" />
<col width="7%" />
......@@ -43,12 +38,7 @@
</table>
</div>
<div class="table-body">
<table
class="enrollTotalSearchTable"
border="0"
cellspacing="0"
cellpadding="0"
>
<table class="enrollTotalSearchTable" border="0" cellspacing="0" cellpadding="0">
<colgroup>
<col width="12%" />
<col width="7%" />
......@@ -65,11 +55,7 @@
<col />
</colgroup>
<tr>
<td
v-show="dataList && dataList.length == 0"
:colspan="12"
align="center"
>
<td v-show="dataList && dataList.length == 0" :colspan="12" align="center">
暂无数据
</td>
</tr>
......@@ -80,56 +66,30 @@
<span @click="goOrderdetails(item, 1)" class="order_OfferId">{{
item.OrderId
}}</span>
<q-badge
v-if="item.JoinType == 3"
color="red"
label="续费订单"
style="margin-left:5px;"
class="q-mr-xs"
/>
<q-badge
v-if="item.OrderType == 2 && item.LXConfirmState == 1"
color="primary"
label="已确认"
style="margin-left:5px;"
class="q-mr-xs"
/>
<q-badge v-if="item.JoinType == 3" color="red" label="续费订单" style="margin-left:5px;" class="q-mr-xs" />
<q-badge v-if="item.OrderType == 2 && item.LXConfirmState == 1" color="primary" label="已确认"
style="margin-left:5px;" class="q-mr-xs" />
<q-badge
v-if="item.TargetJoinType == 3"
color="green"
label="已续费"
style="margin-left:5px;"
class="q-mr-xs"
/>
<q-badge v-if="item.TargetJoinType == 3" color="green" label="已续费" style="margin-left:5px;"
class="q-mr-xs" />
<div style="display:inline-block;">
<q-badge
v-if="
<q-badge v-if="
(item.JoinType == 4 ||
item.JoinType == 5 ||
item.TargetJoinType == 4 ||
item.TargetJoinType == 5) &&
item.FirstOrderId > 0
"
color="blue"
label="关联拆分订单"
style="margin-left:5px;cursor:pointer;"
>
" color="blue" label="关联拆分订单" style="margin-left:5px;cursor:pointer;">
</q-badge>
<q-popup-proxy>
<q-banner>
<div style="width: 500px;">
<template
v-if="
<template v-if="
item.SplitDetailsList &&
item.SplitDetailsList.length > 0
"
>
<div
style="margin-bottom:5px;color:#000;"
v-for="(subItem, subIndex) in item.SplitDetailsList"
:key="subIndex"
>
">
<div style="margin-bottom:5px;color:#000;"
v-for="(subItem, subIndex) in item.SplitDetailsList" :key="subIndex">
从 【{{ subItem.S_ClassName }}】({{
subItem.S_OrderId
}}) {{ subItem.T_JoinTypeName }}到【{{
......@@ -176,14 +136,11 @@
<div style="margin-top: 10px">{{ item.CreateTime }}</div>
<template v-if="AuthorityObj.isShowName">
<div
style="font-weight: bold;color:#2961FE;cursor:pointer;"
@click="getClassInfo(item)"
>
<div style="font-weight: bold;color:#2961FE;cursor:pointer;" @click="getClassInfo(item)">
{{ item.ClassName }}
</div>
<div v-if="item.CustomerId > 0">
同行信息:{{ item.CustomerName }} <span v-if="item.CustomerNumber">-{{ item.CustomerNumber }}</span>
<div v-if="item.CreateType > 0">
{{item.CreateTypeName}}<span v-if="item.StuSourceIdName">{{ item.StuSourceIdName }}</span>
</div>
<div v-if="item.HelpEnterName">
协助人员:{{ item.HelpEnterName }}
......@@ -221,29 +178,18 @@
</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
>
报价单:<span class="order_OfferId" @click="goQuotation(item.OfferId)"
style="font-size:14px;">{{ item.OfferId }}</span>
</div>
<div style="margin-top:10px;" v-if="item.VisitorReserveId > 0">
预约单号:<span
class="order_OfferId"
@click="goVisitorReser(item.VisitorReserveId)"
style="font-size:14px;"
>{{ item.VisitorReserveId }}</span
>
预约单号:<span class="order_OfferId" @click="goVisitorReser(item.VisitorReserveId)"
style="font-size:14px;">{{ item.VisitorReserveId }}</span>
</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)"
>
<div style="color:red;cursor: pointer;text-decoration: underline;" @click="gourltx(item)">
已发提成:{{ item.CommissionMoney }}
</div>
<div style="color:red" v-if="item.ExtraCommissionMoney > 0">
......@@ -266,16 +212,13 @@
{{ item.Class_Price.toFixed(2) }}
</template>
</td>
<td
style="width:7%"
:style="{
<td style="width:7%" :style="{
color:
item.Class_Price != item.Unit_Price
? 'var(--q-color-negative)'
: '',
border: 'none'
}"
>
}">
<template v-if="item.Unit_Price >= 0">
{{ item.Unit_Price.toFixed(2) }}
</template>
......@@ -342,147 +285,74 @@
</template>
</td>
<td style="border:none;width:7%">
<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>
</div>
</td>
<td v-if="viewType == 0">
<template
v-if="(isEditOrder || AuthorityObj.isShowEdit) && comefrom == 0"
>
<q-btn
flat
size="xs"
icon="edit"
color="accent"
style="font-weight:400"
label="编辑"
@click="editOrder(item)"
/>
<template v-if="(isEditOrder || AuthorityObj.isShowEdit) && comefrom == 0">
<q-btn flat size="xs" icon="edit" color="accent" style="font-weight:400" label="编辑"
@click="editOrder(item)" />
</template>
<template v-if="comefrom == 1">
<q-btn
flat
size="xs"
color="accent"
style="font-weight:400"
label="关联老师"
@click="gettanchuteacher(item)"
>
<q-btn flat size="xs" color="accent" style="font-weight:400" label="关联老师"
@click="gettanchuteacher(item)">
<q-popup-proxy>
<q-banner v-if="isShowteacher">
<div class="calenderDialog">
<div style="margin:10px 0 15px 0;">请选择关联教师</div>
<q-select
standout="bg-primary text-white"
option-value="Id"
option-label="EmployeeName"
v-model="teacherMsg.HelpEnterId"
:options="TeacherList"
emit-value
map-options
label="请选择关联教师"
/>
<q-card-actions
align="right"
class="bg-white"
style="margin-top:20px;"
>
<q-btn
label="取消"
flat
color="grey-10"
size="sm"
@click="isShowteacher = false"
style="font-weight:400 !important"
/>
<q-btn
label="确认"
color="accent q-px-md"
size="sm"
style="font-weight:400 !important"
@click="setCheckStatus()"
/>
<q-select standout="bg-primary text-white" option-value="Id" option-label="EmployeeName"
v-model="teacherMsg.HelpEnterId" :options="TeacherList" emit-value map-options
label="请选择关联教师" />
<q-card-actions align="right" class="bg-white" style="margin-top:20px;">
<q-btn label="取消" flat color="grey-10" size="sm" @click="isShowteacher = false"
style="font-weight:400 !important" />
<q-btn label="确认" color="accent q-px-md" size="sm" style="font-weight:400 !important"
@click="setCheckStatus()" />
</q-card-actions>
</div>
</q-banner>
</q-popup-proxy>
</q-btn>
</template>
<q-btn-dropdown
flat
size="xs"
color="dark"
label="更多"
style="margin-left:10px;"
>
<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 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 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 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 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 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="isEditOrder && comefrom == 0"
>
<q-item clickable v-close-popup v-if="isEditOrder && comefrom == 0">
<q-item-section @click="editOrder(item)">
<q-item-label>总经理修改</q-item-label>
</q-item-section>
</q-item>
<q-item
clickable
v-close-popup
v-if="AuthorityObj.isShowManagerRemark"
>
<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>
......@@ -492,35 +362,22 @@
<q-item-label>修改提成</q-item-label>
</q-item-section>
</q-item> -->
<q-item
clickable
v-close-popup
v-if="AuthorityObj.isShowRewardEdit && isShowReward"
>
<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>
<div v-if="comefrom == 0">
<q-item
clickable
v-close-popup
disabled
v-if="
<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 anchor="center left" self="center right" content-class="bg-red">
已有财务单据无法取消
</q-tooltip>
</q-item-section>
......@@ -531,97 +388,54 @@
</q-item-section>
</q-item>
</div>
<div
v-if="
<div v-if="
item.OrderType == 2 &&
item.LXConfirmState != 1 &&
AuthorityObj.isshoworderconfirm == true
"
>
<q-item
clickable
v-close-popup
disabled
v-if="item.DueInMoney && item.DueInMoney != 0"
>
">
<q-item clickable v-close-popup disabled v-if="item.DueInMoney && item.DueInMoney != 0">
<q-item-section>
<q-item-label>
订单确认
</q-item-label>
<q-tooltip
anchor="center left"
self="center right"
content-class="bg-red"
>
<q-tooltip anchor="center left" self="center right" content-class="bg-red">
待收金额不为0,帐未平
</q-tooltip>
</q-item-section>
</q-item>
<q-item clickable v-close-popup v-else>
<q-item-section
@click="studyabroadorderconfirmation(item)"
>
<q-item-section @click="studyabroadorderconfirmation(item)">
<q-item-label>订单确认</q-item-label>
</q-item-section>
</q-item>
</div>
<q-item
clickable
v-close-popup
v-if="AuthorityObj.isShowBackClass"
>
<q-item clickable v-close-popup v-if="AuthorityObj.isShowBackClass">
<q-item-section>
<q-item-label @click="showBackClassForm(item)"
>退课</q-item-label
>
<q-item-label @click="showBackClassForm(item)">退课</q-item-label>
</q-item-section>
</q-item>
<q-item
clickable
v-close-popup
v-if="AuthorityObj.isShowRenewClass"
>
<q-item clickable v-close-popup v-if="AuthorityObj.isShowRenewClass">
<q-item-section>
<q-item-label @click="showContinueClass(item)"
>续课</q-item-label
>
<q-item-label @click="showContinueClass(item)">续课</q-item-label>
</q-item-section>
</q-item>
<q-item
clickable
v-close-popup
v-if="AuthorityObj.isShowTransClassOrder"
>
<q-item clickable v-close-popup v-if="AuthorityObj.isShowTransClassOrder">
<q-item-section>
<q-item-label @click="transferClass(item, 1)"
>转班</q-item-label
>
<q-item-label @click="transferClass(item, 1)">转班</q-item-label>
</q-item-section>
</q-item>
<q-item
clickable
v-close-popup
v-if="AuthorityObj.isShowSeparater"
>
<q-item clickable v-close-popup v-if="AuthorityObj.isShowSeparater">
<q-item-section>
<q-item-label @click="transferClass(item, 2)"
>分拆</q-item-label
>
<q-item-label @click="transferClass(item, 2)">分拆</q-item-label>
</q-item-section>
</q-item>
<q-item
clickable
v-close-popup
v-if="
<q-item clickable v-close-popup v-if="
AuthorityObj.isShowSeparater &&
(item.JoinType == 5 || item.JoinType == 4) &&
item.IsBackClass == 0
"
>
">
<q-item-section>
<q-item-label @click="backSourceClass(item)"
>回归原班</q-item-label
>
<q-item-label @click="backSourceClass(item)">回归原班</q-item-label>
</q-item-section>
</q-item>
</q-list>
......@@ -630,16 +444,10 @@
</tr>
<tr>
<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">
学生名单:
<template v-for="(x, j) in item.GuestList" :index="j">
<span
v-if="x.GuestState == 1"
style="color:#2961FE;margin-right: 5px"
>{{ x.GuestName }}
<span v-if="x.GuestState == 1" style="color:#2961FE;margin-right: 5px">{{ x.GuestName }}
</span>
<span v-else style="color:red;margin-right: 5px">
{{ x.GuestName }}
......@@ -649,14 +457,11 @@
</span>
</template>
</div>
<div
v-if="
<div v-if="
AuthorityObj.isShowContract &&
item.GuestList &&
item.GuestList.length > 0
"
class="takeContract"
>
" class="takeContract">
<span @click="isShowPop = true">查看合同</span>
<q-popup-proxy v-if="isShowPop">
<q-banner>
......@@ -676,37 +481,18 @@
</td>
<td>{{ subItem.ContractStatusStr }}</td>
<td>
<span
style="color:var(--q-color-primary);cursor:pointer;"
@click="getShowContract(subItem)"
>{{ subItem.GuestContractNo }}</span
>
<span style="color:var(--q-color-primary);cursor:pointer;"
@click="getShowContract(subItem)">{{ subItem.GuestContractNo }}</span>
</td>
<td>
<template v-if="subItem.ContractId == 0">
<q-btn
v-if="AuthorityObj.isShowEdit"
color="accent"
size="sm"
@click="takeContractTwo(item, subItem)"
label="领取合同"
/>
<q-btn v-if="AuthorityObj.isShowEdit" color="accent" size="sm"
@click="takeContractTwo(item, subItem)" label="领取合同" />
</template>
<template v-else>
<q-btn
color="secondary"
size="sm"
@click="goContractMannage(subItem)"
label="查看合同"
/>
<q-btn
style="margin-left:5px;"
v-if="subItem.ContractStatus == 0"
color="purple"
size="sm"
@click="goContractAudit(subItem)"
label="提交审核"
/>
<q-btn color="secondary" size="sm" @click="goContractMannage(subItem)" label="查看合同" />
<q-btn style="margin-left:5px;" v-if="subItem.ContractStatus == 0" color="purple"
size="sm" @click="goContractAudit(subItem)" label="提交审核" />
</template>
</td>
</tr>
......@@ -715,26 +501,17 @@
</q-banner>
</q-popup-proxy>
</div>
<div
class="row"
v-if="
<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 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
>
<span v-if="item.GuestList && item.GuestList.length == 0">暂无</span>
</td>
</tr>
<tr>
......@@ -743,28 +520,19 @@
<div class="col">
<div>销售备注:</div>
<div class="remarks-b">
<div
v-if="item.SaleRemark != null || item.SaleRemark != ''"
>
<div v-if="item.SaleRemark != null || item.SaleRemark != ''">
<div>{{ item.SaleRemark }}</div>
<div class="remarks-b-b">
<span
class="iconfont icon-xiangxia"
style="color: #2961FE;font-size: 10px"
v-if="
<span class="iconfont icon-xiangxia" style="color: #2961FE;font-size: 10px" v-if="
item.SaleRemarkList &&
item.SaleRemarkList.length > 0
"
></span>
"></span>
<q-popup-proxy>
<q-banner>
<div style="width: 500px;">
<div>销售备注</div>
<div
v-for="(xq, jq) in item.SaleRemarkList"
:index="jq"
style=" margin-top: 10px;background: #e6e6e6;padding: 5px;font-size: 12px"
>
<div v-for="(xq, jq) in item.SaleRemarkList" :index="jq"
style=" margin-top: 10px;background: #e6e6e6;padding: 5px;font-size: 12px">
<div>{{ xq.Content }}</div>
<div style="text-align: right">
{{ xq.CreateBy }} {{ xq.CreateTime }}
......@@ -775,39 +543,27 @@
</q-popup-proxy>
</div>
</div>
<span
v-if="item.SaleRemark == null || item.SaleRemark == ''"
>暂无</span
>
<span v-if="item.SaleRemark == null || item.SaleRemark == ''">暂无</span>
</div>
</div>
<div class="col">
<div>教务备注:</div>
<div class="remarks-b ">
<div
v-if="
<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="
<span class="iconfont icon-xiangxia" style="color: #2961FE;font-size: 10px" v-if="
item.TeacherRemarkList &&
item.TeacherRemarkList.length > 0
"
></span>
"></span>
<q-popup-proxy>
<q-banner>
<div style="width: 500px;">
<div>教务备注</div>
<div
v-for="(xq, jq) in item.TeacherRemarkList"
:index="jq"
style=" margin-top: 10px;background: #e6e6e6;padding: 5px;font-size: 12px"
>
<div v-for="(xq, jq) in item.TeacherRemarkList" :index="jq"
style=" margin-top: 10px;background: #e6e6e6;padding: 5px;font-size: 12px">
<div>{{ xq.Content }}</div>
<div style="text-align: right">
{{ xq.CreateBy }} {{ xq.CreateTime }}
......@@ -818,41 +574,29 @@
</q-popup-proxy>
</div>
</div>
<span
v-if="
<span v-if="
item.TeacherRemark == null || item.TeacherRemark == ''
"
>暂无</span
>
">暂无</span>
</div>
</div>
<div class="col">
<div>校长备注:</div>
<div class="remarks-b ">
<div
v-if="
<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="
<span class="iconfont icon-xiangxia" style="color: #2961FE;font-size: 10px" v-if="
item.RectorRemarkList &&
item.RectorRemarkList.length > 0
"
></span>
"></span>
<q-popup-proxy>
<q-banner>
<div style="width: 500px;">
<div>校长备注</div>
<div
v-for="(xq, jq) in item.RectorRemarkList"
:index="jq"
style=" margin-top: 10px;background: #e6e6e6;padding: 5px;font-size: 12px"
>
<div v-for="(xq, jq) in item.RectorRemarkList" :index="jq"
style=" margin-top: 10px;background: #e6e6e6;padding: 5px;font-size: 12px">
<div>{{ xq.Content }}</div>
<div style="text-align: right">
{{ xq.CreateBy }} {{ xq.CreateTime }}
......@@ -863,41 +607,29 @@
</q-popup-proxy>
</div>
</div>
<span
v-if="
<span v-if="
item.RectorRemark == null || item.RectorRemark == ''
"
>暂无</span
>
">暂无</span>
</div>
</div>
<div class="col">
<div>总经理备注:</div>
<div class="remarks-b ">
<div
v-if="
<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="
<span class="iconfont icon-xiangxia" style="color: #2961FE;font-size: 10px" v-if="
item.DirectorRemarkList &&
item.DirectorRemarkList.length > 0
"
></span>
"></span>
<q-popup-proxy>
<q-banner>
<div style="width: 500px;">
<div>总经理备注</div>
<div
v-for="(xq, jq) in item.DirectorRemarkList"
:index="jq"
style=" margin-top: 10px;background: #e6e6e6;padding: 5px;font-size: 12px"
>
<div v-for="(xq, jq) in item.DirectorRemarkList" :index="jq"
style=" margin-top: 10px;background: #e6e6e6;padding: 5px;font-size: 12px">
<div>{{ xq.Content }}</div>
<div style="text-align: right">
{{ xq.CreateBy }} {{ xq.CreateTime }}
......@@ -908,50 +640,29 @@
</q-popup-proxy>
</div>
</div>
<span
v-if="
<span v-if="
item.DirectorRemark == null || item.DirectorRemark == ''
"
>暂无</span
>
">暂无</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="
<q-btn flat size="xs" icon="edit" v-if="
AuthorityObj.isShowFinanceBtn &&
AuthorityObj.isShowEdit &&
item.OrderType == 2
"
style="font-weight:400;color: #02C499"
label="修改"
@click="chanceType(item, 1)"
/>
<template
v-if="
" style="font-weight:400;color: #02C499" label="修改" @click="chanceType(item, 1)" />
<template v-if="
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-btn flat size="xs" icon="edit" style="font-weight:400;color: #02C499" label="修改"
@click="showChooseStudent = true" />
<q-popup-proxy v-if="showChooseStudent">
<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">
<tr>
<th>选择</th>
......@@ -961,11 +672,7 @@
</tr>
<tr v-for="subItem in item.GuestList">
<td>
<q-radio
dense
v-model="chooseStudent"
:val="subItem.Id"
/>
<q-radio dense v-model="chooseStudent" :val="subItem.Id" />
</td>
<td>{{ subItem.GuestName }}</td>
......@@ -974,24 +681,14 @@
</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-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>
</template>
</div>
<div class="row wrap">
<div
class="finance row"
v-for="(x, j) in item.FinanceList"
:index="j"
:style="{
<div class="finance row" v-for="(x, j) in item.FinanceList" :index="j" :style="{
background:
x.ColorState == 1
? 'rgba(41, 97, 254, 0.2)'
......@@ -1008,51 +705,28 @@
: 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 class="row" style="justify-content: space-between">
<span>付款单据:</span>
<q-btn
flat
size="xs"
icon="edit"
v-if="
<q-btn flat size="xs" icon="edit" v-if="
AuthorityObj.isShowFinanceBtn &&
AuthorityObj.isShowEdit &&
item.OrderType == 2
"
style="font-weight:400;color: #02C499"
label="修改"
@click="chanceType(item, 2)"
/>
<template
v-if="
" style="font-weight:400;color: #02C499" label="修改" @click="chanceType(item, 2)" />
<template v-if="
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-btn flat size="xs" icon="edit" style="font-weight:400;color: #02C499" label="修改"
@click="showChooseStudent = true" />
<q-popup-proxy v-if="showChooseStudent">
<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">
<tr>
<th>选择</th>
......@@ -1062,11 +736,7 @@
</tr>
<tr v-for="subItem in item.GuestList">
<td>
<q-radio
dense
v-model="chooseStudent"
:val="subItem.Id"
/>
<q-radio dense v-model="chooseStudent" :val="subItem.Id" />
</td>
<td>{{ subItem.GuestName }}</td>
......@@ -1075,25 +745,15 @@
</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-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>
</template>
</div>
<div class="row wrap">
<div
class="finance row"
v-for="(x, j) in item.RefundFinanceList"
v-if="x.OtherType != 45"
:index="j"
:style="{
<div class="finance row" v-for="(x, j) in item.RefundFinanceList" v-if="x.OtherType != 45"
:index="j" :style="{
background:
x.ColorState == 1
? 'rgba(41, 97, 254, 0.2)'
......@@ -1110,54 +770,27 @@
: x.ColorState == 3
? '#F28C1D'
: '#3FC4FF'
}"
>
<span
style="cursor: pointer"
@click="goOrderdetails(item, 4)"
>{{ x.FrID }}</span
>
</div>
</div>
<div
class="row"
style="justify-content: space-between"
v-if="item.OrderType == 2"
>
}">
<span style="cursor: pointer" @click="goOrderdetails(item, 4)">{{ x.FrID }}</span>
</div>
</div>
<div class="row" style="justify-content: space-between" v-if="item.OrderType == 2">
<span>成本单据:</span>
<q-btn
flat
size="xs"
icon="edit"
v-if="
<q-btn flat size="xs" icon="edit" v-if="
AuthorityObj.isShowFinanceBtn &&
AuthorityObj.isShowEdit &&
item.OrderType == 2
"
style="font-weight:400;color: #02C499"
label="修改"
@click="chanceType_lx(item)"
/>
<template
v-if="
" style="font-weight:400;color: #02C499" label="修改" @click="chanceType_lx(item)" />
<template v-if="
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-btn flat size="xs" icon="edit" style="font-weight:400;color: #02C499" label="修改"
@click="showChooseStudent = true" />
<q-popup-proxy v-if="showChooseStudent">
<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">
<tr>
<th>选择</th>
......@@ -1167,11 +800,7 @@
</tr>
<tr v-for="subItem in item.GuestList">
<td>
<q-radio
dense
v-model="chooseStudent"
:val="subItem.Id"
/>
<q-radio dense v-model="chooseStudent" :val="subItem.Id" />
</td>
<td>{{ subItem.GuestName }}</td>
......@@ -1180,25 +809,15 @@
</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-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>
</template>
</div>
<div class="row wrap" v-if="item.OrderType == 2">
<div
class="finance row"
v-for="(x, j) in item.RefundFinanceList"
v-if="x.OtherType == 45"
:index="j"
:style="{
<div class="finance row" v-for="(x, j) in item.RefundFinanceList" v-if="x.OtherType == 45"
:index="j" :style="{
background:
x.ColorState == 1
? 'rgba(41, 97, 254, 0.2)'
......@@ -1215,13 +834,8 @@
: 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>
......@@ -1232,34 +846,22 @@
<tbody v-if="cancelList && cancelList.length > 0">
<tr>
<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>
</tr>
</tbody>
<tbody
v-if="cancelList && cancelList.length > 0 && isShowCancel"
v-for="(item, index) in cancelList"
:key="index + 10000"
>
<tbody v-if="cancelList && cancelList.length > 0 && isShowCancel" v-for="(item, index) in cancelList"
:key="index + 10000">
<tr>
<td :rowspan="3" style="text-align: left">
<div
style="font-size: 18px;color: #2961FE;margin-bottom: 20px;font-weight: bold"
@click="goOrderdetails(item)"
>
<div style="font-size: 18px;color: #2961FE;margin-bottom: 20px;font-weight: bold"
@click="goOrderdetails(item)">
{{ item.OrderId }}
</div>
<div>{{ item.EnterName }}</div>
<div style="margin-top: 10px">{{ item.CreateTime }}</div>
<div style="margin-top: 30px;margin-bottom: 10px">班级</div>
<div
style="font-weight: bold;color:#2961FE;"
@click="getClassInfo(item)"
>
<div style="font-weight: bold;color:#2961FE;" @click="getClassInfo(item)">
{{ item.ClassName }}
</div>
</td>
......@@ -1269,15 +871,13 @@
{{ item.Class_Price.toFixed(2) }}
</template>
</td>
<td
:style="{
<td :style="{
color:
item.Class_Price != item.Unit_Price
? 'var(--q-color-negative)'
: '',
border: 'none'
}"
>
}">
<template v-if="item.Unit_Price >= 0">
{{ item.Unit_Price.toFixed(2) }}
</template>
......@@ -1318,32 +918,14 @@
</template>
</td>
<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>
</div>
</td>
<td
style="border:none;"
v-if="AuthorityObj.isShowEdit && viewType == 0"
>
<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;"
>
<td style="border:none;" v-if="AuthorityObj.isShowEdit && viewType == 0">
<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)">
......@@ -1356,39 +938,23 @@
</tr>
<tr>
<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"
style="color:#2961FE;margin-right: 5px"
>{{ x.GuestName }}
<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="
<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 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
>
<span v-if="item.GuestList && item.GuestList.length == 0">暂无</span>
</td>
</tr>
<tr>
......@@ -1397,28 +963,19 @@
<div class="col">
<div>销售备注:</div>
<div class="remarks-b">
<div
v-if="item.SaleRemark != null || item.SaleRemark != ''"
>
<div v-if="item.SaleRemark != null || item.SaleRemark != ''">
<div>{{ item.SaleRemark }}</div>
<div class="remarks-b-b">
<span
class="iconfont icon-xiangxia"
style="color: #2961FE;font-size: 10px"
v-if="
<span class="iconfont icon-xiangxia" style="color: #2961FE;font-size: 10px" v-if="
item.SaleRemarkList &&
item.SaleRemarkList.length > 0
"
></span>
"></span>
<q-popup-proxy>
<q-banner>
<div style="width: 500px;">
<div>销售备注</div>
<div
v-for="(xq, jq) in item.SaleRemarkList"
:index="jq"
style=" margin-top: 10px;background: #e6e6e6;padding: 5px;font-size: 12px"
>
<div v-for="(xq, jq) in item.SaleRemarkList" :index="jq"
style=" margin-top: 10px;background: #e6e6e6;padding: 5px;font-size: 12px">
<div>{{ xq.Content }}</div>
<div style="text-align: right">
{{ xq.CreateBy }} {{ xq.CreateTime }}
......@@ -1429,39 +986,27 @@
</q-popup-proxy>
</div>
</div>
<span
v-if="item.SaleRemark == null || item.SaleRemark == ''"
>暂无</span
>
<span v-if="item.SaleRemark == null || item.SaleRemark == ''">暂无</span>
</div>
</div>
<div class="col">
<div>教务备注:</div>
<div class="remarks-b ">
<div
v-if="
<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="
<span class="iconfont icon-xiangxia" style="color: #2961FE;font-size: 10px" v-if="
item.TeacherRemarkList &&
item.TeacherRemarkList.length > 0
"
></span>
"></span>
<q-popup-proxy>
<q-banner>
<div style="width: 500px;">
<div>教务备注</div>
<div
v-for="(xq, jq) in item.TeacherRemarkList"
:index="jq"
style=" margin-top: 10px;background: #e6e6e6;padding: 5px;font-size: 12px"
>
<div v-for="(xq, jq) in item.TeacherRemarkList" :index="jq"
style=" margin-top: 10px;background: #e6e6e6;padding: 5px;font-size: 12px">
<div>{{ xq.Content }}</div>
<div style="text-align: right">
{{ xq.CreateBy }} {{ xq.CreateTime }}
......@@ -1472,41 +1017,29 @@
</q-popup-proxy>
</div>
</div>
<span
v-if="
<span v-if="
item.TeacherRemark == null || item.TeacherRemark == ''
"
>暂无</span
>
">暂无</span>
</div>
</div>
<div class="col">
<div>校长备注:</div>
<div class="remarks-b ">
<div
v-if="
<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="
<span class="iconfont icon-xiangxia" style="color: #2961FE;font-size: 10px" v-if="
item.RectorRemarkList &&
item.RectorRemarkList.length > 0
"
></span>
"></span>
<q-popup-proxy>
<q-banner>
<div style="width: 500px;">
<div>校长备注</div>
<div
v-for="(xq, jq) in item.RectorRemarkList"
:index="jq"
style="margin-top: 10px;background: #e6e6e6;padding: 5px;font-size: 12px"
>
<div v-for="(xq, jq) in item.RectorRemarkList" :index="jq"
style="margin-top: 10px;background: #e6e6e6;padding: 5px;font-size: 12px">
<div>{{ xq.Content }}</div>
<div style="text-align: right">
{{ xq.CreateBy }} {{ xq.CreateTime }}
......@@ -1517,41 +1050,29 @@
</q-popup-proxy>
</div>
</div>
<span
v-if="
<span v-if="
item.RectorRemark == null || item.RectorRemark == ''
"
>暂无</span
>
">暂无</span>
</div>
</div>
<div class="col">
<div>总经理备注:</div>
<div class="remarks-b ">
<div
v-if="
<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="
<span class="iconfont icon-xiangxia" style="color: #2961FE;font-size: 10px" v-if="
item.DirectorRemarkList &&
item.DirectorRemarkList.length > 0
"
></span>
"></span>
<q-popup-proxy>
<q-banner>
<div style="width: 500px;">
<div>总经理备注</div>
<div
v-for="(xq, jq) in item.DirectorRemarkList"
:index="jq"
style=" margin-top: 10px;background: #e6e6e6;padding: 5px;font-size: 12px"
>
<div v-for="(xq, jq) in item.DirectorRemarkList" :index="jq"
style=" margin-top: 10px;background: #e6e6e6;padding: 5px;font-size: 12px">
<div>{{ xq.Content }}</div>
<div style="text-align: right">
{{ xq.CreateBy }} {{ xq.CreateTime }}
......@@ -1562,12 +1083,9 @@
</q-popup-proxy>
</div>
</div>
<span
v-if="
<span v-if="
item.DirectorRemark == null || item.DirectorRemark == ''
"
>暂无</span
>
">暂无</span>
</div>
</div>
<div class="col">
......@@ -1588,123 +1106,56 @@
</table>
</div>
<!--修改课程订单-->
<editorder-form
v-if="isShowEditOrderForm"
:save-obj="orderObj"
:orderType="orderObj.OrderType"
@close="closeOrderSaveForm"
@success="refreshOrder"
:isChaBan="isChaBan"
:modityOrderType="newModityOrderType"
>
<editorder-form v-if="isShowEditOrderForm" :save-obj="orderObj" :orderType="orderObj.OrderType"
@close="closeOrderSaveForm" @success="refreshOrder" :isChaBan="isChaBan" :modityOrderType="newModityOrderType">
</editorder-form>
<!--修改留学就业订单-->
<studyorder-form
v-if="isShowStudyOrderForm"
:save-obj="orderObj"
:orderType="orderObj.OrderType"
@close="closeOrderSaveForm"
@success="refreshOrder"
:modityOrderType="newModityOrderType"
>
<studyorder-form v-if="isShowStudyOrderForm" :save-obj="orderObj" :orderType="orderObj.OrderType"
@close="closeOrderSaveForm" @success="refreshOrder" :modityOrderType="newModityOrderType">
</studyorder-form>
<!--修改订单备注-->
<orderremark-form
v-if="isShowRemarkOrderForm"
:save-obj="orderObj"
:remarkType="remarkType"
@close="closeRemarkForm"
@success="refreshOrder"
></orderremark-form>
<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"
@close="closeTransOrderForm"
@success="refreshOrder"
></transOrder-form>
<transOrder-form v-if="isShowTransOrderForm" :save-obj="orderObj" :employeeList="EmployeeList"
@close="closeTransOrderForm" @success="refreshOrder"></transOrder-form>
<myOrder-form
v-if="isShowmyorderForm"
:save-obj="myorderObjOption"
@close="closeMOSaveForm"
></myOrder-form>
<myOrder-form v-if="isShowmyorderForm" :save-obj="myorderObjOption" @close="closeMOSaveForm"></myOrder-form>
<!--班级详情-->
<classinfo-form
v-if="isShowClassInfo"
:seting-obj="classObjOption"
:isShowEditBtn="isShowEditBtn"
@close="closeClass"
@success="refreshOrder"
>
<classinfo-form v-if="isShowClassInfo" :seting-obj="classObjOption" :isShowEditBtn="isShowEditBtn"
@close="closeClass" @success="refreshOrder">
</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>
<!-- 修改提成和额外奖励 -->
<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>
<!--续课申请-->
<continueclass-form
v-if="isShowContinueClass"
:save-obj="orderObj"
@close="closeContinueClassForm"
@success="refreshOrder"
></continueclass-form>
<continueclass-form v-if="isShowContinueClass" :save-obj="orderObj" @close="closeContinueClassForm"
@success="refreshOrder"></continueclass-form>
<!-- 转班申请 -->
<transferclass-form
v-if="isShowTransferClass"
:save-obj="orderObj"
:ChangeType="ChangeType"
@close="closeTransferClassForm"
@success="refreshOrder"
></transferclass-form>
<transferclass-form v-if="isShowTransferClass" :save-obj="orderObj" :ChangeType="ChangeType"
@close="closeTransferClassForm" @success="refreshOrder"></transferclass-form>
<!-- 查看报价单 -->
<viewquotation-form
v-if="isShowviewQuo"
:rId="offerId"
:isShowCancle="1"
@close="closeQuota"
@success="refreshOrder"
>
<viewquotation-form v-if="isShowviewQuo" :rId="offerId" :isShowCancle="1" @close="closeQuota"
@success="refreshOrder">
</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>
<div
v-if="isShowContract"
class="_show_img_box"
@click="(isShowContract = false), (imgViewList = [])"
>
<div
style="
<div v-if="isShowContract" class="_show_img_box" @click="(isShowContract = false), (imgViewList = [])">
<div style="
position: absolute;
max-width: 800px;
height: auto;
......@@ -1712,21 +1163,14 @@
top: 50%;
margin-left: -400px;
margin-top: -300px;
"
>
">
<!-- <el-carousel :initial-index="initialIndex" height="600px" :interval="5000" trigger="click">
<el-carousel-item style="height: 600px; overflow: auto" v-for="(item, index) in imgViewList" :key="index">
<img :src="item" style="" />
</el-carousel-item>
</el-carousel> -->
<el-image
style="width: 100%; height: 100%"
fit="cover"
v-for="(item, index) in imgViewList"
:key="index"
:src="item"
:preview-src-list="imgViewList"
>
<el-image style="width: 100%; height: 100%" fit="cover" v-for="(item, index) in imgViewList" :key="index"
:src="item" :preview-src-list="imgViewList">
</el-image>
</div>
</div>
......@@ -1734,36 +1178,38 @@
</template>
<script>
import editorderForm from "../sale/editorder-form"; //修改订单
import studyorderForm from "../sale/studyOrder-form"; //留学就业订单
import orderremarkForm from "../sale/orderremark-form"; //订单备注
import transOrderForm from "../sale/transOrder-form"; //转交订单
import backclassForm from "../sale/backclass-form"; //退课申请
import moneyForm from "../sale/money-form"; //修改提成和额外奖励
import myOrderForm from "../../components/sale/myOrder-form";
import classinfoForm from "../../components/course/classinfo-form"; //班级信息
import continueclassForm from "../sale/continueclass-form"; //续课申请
import viewquotationForm from "../sale/viewquotation-form"; //报价单信息
import transferclassForm from "../sale/transferclass-form"; //转班信息
import editorderForm from "../sale/editorder-form"; //修改订单
import studyorderForm from "../sale/studyOrder-form"; //留学就业订单
import orderremarkForm from "../sale/orderremark-form"; //订单备注
import transOrderForm from "../sale/transOrder-form"; //转交订单
import backclassForm from "../sale/backclass-form"; //退课申请
import moneyForm from "../sale/money-form"; //修改提成和额外奖励
import myOrderForm from "../../components/sale/myOrder-form";
import classinfoForm from "../../components/course/classinfo-form"; //班级信息
import continueclassForm from "../sale/continueclass-form"; //续课申请
import viewquotationForm from "../sale/viewquotation-form"; //报价单信息
import transferclassForm from "../sale/transferclass-form"; //转班信息
import eduinfoForm from "../sale/eduinfo-form";
import eduinfoForm from "../sale/eduinfo-form";
import {
import {
setOrderHelpEnterId, //老师关联
cancelClassOrder, //取消订单
regressSourceClass, //拆分订单回到原班
setStudyAboradOrderConfirm //留学订单确认
} from "../../api/sale/sale";
} from "../../api/sale/sale";
import {
import {
queryEmployee //员工列表
} from "../../api/users/user";
import {
} from "../../api/users/user";
import {
SetOrderReceiveContract, //领取合同
SetEducationContractAudit
} from "../../api/sale/contract";
import { getTeacherDropDownList } from "../../api/school/index";
export default {
} from "../../api/sale/contract";
import {
getTeacherDropDownList
} from "../../api/school/index";
export default {
components: {
editorderForm,
orderremarkForm,
......@@ -2145,8 +1591,7 @@ export default {
//获取财务单据
getOrderFinanceList(msg, type) {
this.apipost(
"sellorder_post_GetOrderFinanceListForEdu",
{
"sellorder_post_GetOrderFinanceListForEdu", {
OrderIds: msg
},
res => {
......@@ -2212,7 +1657,7 @@ export default {
OrderId: item.OrderId,
ClassId: item.ClassId,
SourceId: item.SourceId,
CustomerId:item.CustomerId,
CustomerId: item.CustomerId,
isShow: this.AuthorityObj.isShowGuestBtn
}
});
......@@ -2263,8 +1708,7 @@ export default {
this.$q
.dialog({
title: "提示信息",
message:
'<span style="color: var(--q-color-negative)">是否取消此订单</span>',
message: '<span style="color: var(--q-color-negative)">是否取消此订单</span>',
cancel: true,
persistent: true,
html: true,
......@@ -2376,8 +1820,7 @@ export default {
if (obj && obj.OrderType == 2) {
//留学就业订单
TCIDARR.push(obj.SourceId);
} else {
}
} else {}
var orderObj = {
OrderID: obj.OrderId,
OrderSource: 17,
......@@ -2564,8 +2007,7 @@ export default {
this.$q
.dialog({
title: "提示信息",
message:
'<span style="color: var(--q-color-negative)">是否完成此订单</span>',
message: '<span style="color: var(--q-color-negative)">是否完成此订单</span>',
cancel: true,
persistent: true,
html: true,
......@@ -2591,176 +2033,176 @@ export default {
});
}
}
};
};
</script>
<style>
li {
li {
list-style-type: none;
}
}
.classorder ul {
.classorder ul {
padding: 0px;
}
}
.classorder .price-popup {
.classorder .price-popup {
border-radius: 4px;
}
}
.classorder .el-range-editor .el-range-input {
.classorder .el-range-editor .el-range-input {
background: none;
}
}
.classorder .el-range-editor.el-input__inner {
.classorder .el-range-editor.el-input__inner {
background-color: transparent;
}
}
.classorder .q-mb-md {
.classorder .q-mb-md {
margin-bottom: 0;
}
}
.classorder .stics {
.classorder .stics {
padding: 10px 20px;
background: #dddee0;
border-radius: 4px;
font-size: 14px;
color: #000000;
font-weight: bold;
}
}
.classorder .stics .stics-name {
.classorder .stics .stics-name {
color: #2d2d2d;
font-weight: 600;
margin-right: 10px;
}
}
.classorder .tis {
.classorder .tis {
margin: 10px 0;
align-items: center;
}
}
.classorder .tis .tis-k {
.classorder .tis .tis-k {
width: 10px;
height: 10px;
margin-right: 8px;
}
}
.classorder .tis span {
.classorder .tis span {
font-size: 14px;
color: #2d2d2d;
font-weight: 600;
margin-right: 20px;
}
}
.classorder table {
.classorder table {
padding: 10px 0;
width: 100%;
background-color: #ededed;
border-collapse: collapse;
border: 1px solid #d2d2d2;
font-size: 12px;
}
}
.classorder table th {
.classorder table th {
background-color: #ededed;
height: 34px;
text-indent: 15px;
}
}
.classorder table td {
.classorder table td {
background-color: #ffffff;
padding: 9px 15px;
color: #333333;
border: 1px solid rgba(138, 138, 138, 0.09);
text-align: center;
}
}
.classorder table ._color_666 {
.classorder table ._color_666 {
color: #666666;
}
}
.classorder table tr._color_666 th {
.classorder table tr._color_666 th {
padding: 9px 15px;
}
}
.classorder table th {
.classorder table th {
background-color: #ededed;
height: 34px;
text-indent: 15px;
}
}
.classorder table td {
.classorder table td {
background-color: #ffffff;
padding: 9px 15px;
color: #333333;
/*border: 1px solid #d2d2d2;*/
}
}
.classorder table ._color_666 {
.classorder table ._color_666 {
color: #666666;
}
}
.classorder table tr._color_666 th {
.classorder table tr._color_666 th {
padding: 9px 15px;
}
}
.classorder .enrollTotalSearchTable {
.classorder .enrollTotalSearchTable {
width: 100%;
font-size: 14px;
color: #333;
border-bottom: 1px solid #cccccc;
border-right: 1px solid #cccccc;
border-collapse: collapse;
}
}
.classorder .enrollTotalSearchTable tr {
.classorder .enrollTotalSearchTable tr {
/* border-bottom: 2px solid #333; */
}
}
.classorder .enrollTotalSearchTable tr th {
.classorder .enrollTotalSearchTable tr th {
background: #dddee0;
height: 30px;
font-size: 12px;
text-align: center;
}
}
.classorder .enrollTotalSearchTable tr {
.classorder .enrollTotalSearchTable tr {
background: #fff;
text-align: left;
}
}
.classorder .enrollTotalSearchTable tbody tr:last-child {
.classorder .enrollTotalSearchTable tbody tr:last-child {
border-bottom: 2px solid #333;
}
}
.classorder .enrollTotalSearchTable tr:first-child td:first-child {
.classorder .enrollTotalSearchTable tr:first-child td:first-child {
border-bottom: 2px solid #333;
}
}
.classorder .enrollTotalSearchTable tr td {
.classorder .enrollTotalSearchTable tr td {
height: 66px;
padding: 10px;
/*border-top: 1px solid #cccccc;*/
/*border-left: 1px solid #cccccc;*/
}
}
.classorder .enrollTotalSearchTable tr td > img {
.classorder .enrollTotalSearchTable tr td>img {
width: 32px;
height: 32px;
border-radius: 16px;
vertical-align: middle;
margin-right: 5px;
}
}
.classorder .enrollTotalSearchTable tr td p {
.classorder .enrollTotalSearchTable tr td p {
line-height: 20px;
}
}
.classorder .remarks {
.classorder .remarks {
font-size: 14px;
color: #2d2d2d;
}
}
.classorder .remarks-b {
.classorder .remarks-b {
width: 100%;
height: 94px;
background: #f0f5fb;
......@@ -2774,66 +2216,66 @@ li {
line-height: 20px;
-webkit-line-clamp: 4;
-webkit-box-orient: vertical;
}
}
.classorder .remarks-b-b {
.classorder .remarks-b-b {
text-align: right;
position: absolute;
right: 0px;
bottom: 0px;
}
}
.classorder .on-left {
.classorder .on-left {
margin-right: 5px;
}
}
.classorder .finance {
.classorder .finance {
padding: 1px 10px;
align-items: center;
justify-content: center;
border-radius: 4px;
margin: 5px 3px 3px 0;
}
}
.classorder .order_OfferId {
.classorder .order_OfferId {
font-size: 18px;
color: #2961fe;
margin-bottom: 10px;
font-weight: bold;
text-decoration: underline;
cursor: pointer;
}
}
.takeContract {
.takeContract {
cursor: pointer;
color: rgb(41, 97, 254);
}
}
.Contract_Table {
.Contract_Table {
width: 100%;
border-collapse: collapse;
}
}
.Contract_Table th,
.Contract_Table td {
.Contract_Table th,
.Contract_Table td {
padding: 5px;
color: #000;
text-align: center;
}
}
.table-body {
.table-body {
/* height: 590px; */
overflow-x: hidden;
overflow-y: auto;
}
}
.classorder .redstyle {
.classorder .redstyle {
color: var(--q-color-negative);
}
}
.order_OferTitle {
.order_OferTitle {
font-size: 14px;
color: #333333;
margin-bottom: 10px;
}
}
</style>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment