Commit ac67918a authored by 黄奎's avatar 黄奎

页面修改

parent 0d55d84a
...@@ -5,44 +5,18 @@ ...@@ -5,44 +5,18 @@
<li> <li>
<span> <span>
<em>{{ $t("scen.sc_cp") }}</em> <em>{{ $t("scen.sc_cp") }}</em>
<el-select <el-select class="w135" v-model="msg.OutBranchId" filterable :placeholder="$t('pub.pleaseSel')">
class="w135" <el-option :label="$t('pub.unlimitedSel')" :value="-1"></el-option>
v-model="msg.OutBranchId" <el-option v-for="item in companyList" :label="item.BName" :value="item.Id" :key="item.Id"></el-option>
filterable
:placeholder="$t('pub.pleaseSel')"
>
<el-option
:label="$t('pub.unlimitedSel')"
:value="-1"
></el-option>
<el-option
v-for="item in companyList"
:label="item.BName"
:value="item.Id"
:key="item.Id"
></el-option>
</el-select> </el-select>
</span> </span>
</li> </li>
<li> <li>
<span> <span>
<em>{{ $t("advmanager.v_line") }}</em> <em>{{ $t("advmanager.v_line") }}</em>
<el-select <el-select class="w135" v-model="msg.LineId" filterable :placeholder="$t('pub.pleaseSel')">
class="w135" <el-option :label="$t('pub.unlimitedSel')" :value="-1"></el-option>
v-model="msg.LineId" <el-option v-for="item in LineList" :label="item.LineName" :value="item.LineID" :key="item.LineID">
filterable
:placeholder="$t('pub.pleaseSel')"
>
<el-option
:label="$t('pub.unlimitedSel')"
:value="-1"
></el-option>
<el-option
v-for="item in LineList"
:label="item.LineName"
:value="item.LineID"
:key="item.LineID"
>
</el-option> </el-option>
</el-select> </el-select>
</span> </span>
...@@ -50,51 +24,28 @@ ...@@ -50,51 +24,28 @@
<li> <li>
<span> <span>
<em>{{ $t("Operation.Op_baomingCompany") }}</em> <em>{{ $t("Operation.Op_baomingCompany") }}</em>
<el-select <el-select class="w135" v-model="msg.BranchId" filterable :placeholder="$t('pub.pleaseSel')" @change="
class="w135"
v-model="msg.BranchId"
filterable
:placeholder="$t('pub.pleaseSel')"
@change="
(getDepartmentMsg.RB_Branch_Id = msg.BranchId), (getDepartmentMsg.RB_Branch_Id = msg.BranchId),
(msg.RB_Department_Id = ''), (msg.RB_Department_Id = ''),
(msg.CreateBy = ''), (msg.CreateBy = ''),
getDepartment() getDepartment()
" ">
> <el-option :label="$t('pub.unlimitedSel')" :value="-1"></el-option>
<el-option <el-option v-for="item in companyList" :label="item.BName" :value="item.Id" :key="item.Id"></el-option>
:label="$t('pub.unlimitedSel')"
:value="-1"
></el-option>
<el-option
v-for="item in companyList"
:label="item.BName"
:value="item.Id"
:key="item.Id"
></el-option>
</el-select> </el-select>
</span> </span>
</li> </li>
<li> <li>
<span> <span>
<em>{{ $t("fnc.bmxuanze") }}</em> <em>{{ $t("fnc.bmxuanze") }}</em>
<el-select <el-select class="w135" filterable v-model="msg.RB_Department_Id" @change="
class="w135"
filterable
v-model="msg.RB_Department_Id"
@change="
(employeeMsg.DepartmentId = msg.RB_Department_Id), (employeeMsg.DepartmentId = msg.RB_Department_Id),
getEmployee(), getEmployee(),
(msg.CreateBy = '') (msg.CreateBy = '')
" ">
>
<el-option :value="0" :label="$t('pub.unlimitedSel')"></el-option> <el-option :value="0" :label="$t('pub.unlimitedSel')"></el-option>
<el-option <el-option v-for="item in DepartmentList" :label="item.DepartmentName" :value="item.DepartmentID"
v-for="item in DepartmentList" :key="item.DepartmentID">
:label="item.DepartmentName"
:value="item.DepartmentID"
:key="item.DepartmentID"
>
</el-option> </el-option>
</el-select> </el-select>
</span> </span>
...@@ -103,100 +54,50 @@ ...@@ -103,100 +54,50 @@
<span> <span>
<em>{{ $t("Operation.Op_peopleChoice") }}</em> <em>{{ $t("Operation.Op_peopleChoice") }}</em>
</span> </span>
<el-select <el-select class="w135" v-model="msg.CreateBy" filterable :placeholder="$t('pub.pleaseSel')">
class="w135"
v-model="msg.CreateBy"
filterable
:placeholder="$t('pub.pleaseSel')"
>
<el-option :label="$t('pub.unlimitedSel')" value="-1"></el-option> <el-option :label="$t('pub.unlimitedSel')" value="-1"></el-option>
<el-option <el-option v-for="item in EmployeeList" :label="item.EmName" :value="item.EmployeeId"
v-for="item in EmployeeList" :key="item.EmployeeId"></el-option>
:label="item.EmName"
:value="item.EmployeeId"
:key="item.EmployeeId"
></el-option>
</el-select> </el-select>
</li> </li>
<li> <li>
<span> <span>
<em>{{ $t("hotel.order_Number") }}</em> <em>{{ $t("hotel.order_Number") }}</em>
</span> </span>
<el-input <el-input class="w135" v-model="msg.tempOrderId" @keyup.native="checkInteger(msg, 'tempOrderId')"
class="w135" maxlength="10"></el-input>
v-model="msg.tempOrderId"
@keyup.native="checkInteger(msg, 'tempOrderId')"
maxlength="10"
></el-input>
</li> </li>
<li> <li>
<span> <span>
<em>{{ $t("hotel.hotel_OrderStates") }}</em> <em>{{ $t("hotel.hotel_OrderStates") }}</em>
</span> </span>
<el-select <el-select class="w135" v-model="msg.OrderState" filterable :placeholder="$t('pub.pleaseSel')">
class="w135"
v-model="msg.OrderState"
filterable
:placeholder="$t('pub.pleaseSel')"
>
<el-option :label="$t('pub.unlimitedSel')" value="-1"></el-option> <el-option :label="$t('pub.unlimitedSel')" value="-1"></el-option>
<el-option <el-option v-for="item in ddztList" :label="item.Name" :value="item.Id" :key="item.Id"></el-option>
v-for="item in ddztList"
:label="item.Name"
:value="item.Id"
:key="item.Id"
></el-option>
</el-select> </el-select>
</li> </li>
<li> <li>
<span <span><em>{{ $t("fnc.bmriqi") }}</em>
><em>{{ $t("fnc.bmriqi") }}</em> <el-date-picker v-model="msg.CStartDate" @change="dataDui()" class="w135" value-format="yyyy-MM-dd"
<el-date-picker type="date"></el-date-picker>
v-model="msg.CStartDate"
@change="dataDui()"
class="w135"
value-format="yyyy-MM-dd"
type="date"
></el-date-picker>
- -
<el-date-picker <el-date-picker v-model="msg.CEndDate" @change="dataDui()" class="w135" value-format="yyyy-MM-dd"
v-model="msg.CEndDate" type="date"></el-date-picker>
@change="dataDui()"
class="w135"
value-format="yyyy-MM-dd"
type="date"
></el-date-picker>
</span> </span>
</li> </li>
<li> <li>
<span <span><em>{{ $t("scen.sc_ftTime") }}</em>
><em>{{ $t("scen.sc_ftTime") }}</em> <el-date-picker v-model="msg.QStartDate" class="w135" value-format="yyyy-MM-dd" type="date">
<el-date-picker
v-model="msg.QStartDate"
class="w135"
value-format="yyyy-MM-dd"
type="date"
>
</el-date-picker> </el-date-picker>
- -
<el-date-picker <el-date-picker v-model="msg.QEndDate" class="w135" value-format="yyyy-MM-dd" type="date"></el-date-picker>
v-model="msg.QEndDate"
class="w135"
value-format="yyyy-MM-dd"
type="date"
></el-date-picker>
</span> </span>
</li> </li>
<li> <li>
<input <input type="button" class="hollowFixedBtn" :value="$t('pub.searchBtn')" @click="
type="button"
class="hollowFixedBtn"
:value="$t('pub.searchBtn')"
@click="
resetPageIndex(); resetPageIndex();
getList(); getList();
" " />
/>
</li> </li>
</ul> </ul>
</div> </div>
...@@ -210,23 +111,16 @@ ...@@ -210,23 +111,16 @@
<span>{{ $t("Operation.Op_salesTotal") }}</span> <span>{{ $t("Operation.Op_salesTotal") }}</span>
</div> </div>
<p> <p>
<span <span>{{ $t("Operation.Op_yingPay") }}{{
>{{ $t("Operation.Op_yingPay") }}{{
countData.PreferPrice !=null ?countData.PreferPrice:'0' countData.PreferPrice !=null ?countData.PreferPrice:'0'
}};</span }};</span>
> <span>{{ $t("Operation.Op_yiShou") }}{{ countData.Income!=null ?countData.Income:'0' }};</span>
<span <span :class="{
>{{ $t("Operation.Op_yiShou") }}{{ countData.Income!=null ?countData.Income:'0' }};</span
>
<span
:class="{
color_red_order: color_red_order:
countData.DueinMoney !== countData.PreferPrice, countData.DueinMoney !== countData.PreferPrice,
}" }">{{ $t("Operation.Op_weiShou") }}{{
>{{ $t("Operation.Op_weiShou") }}{{
countData.DueinMoney !=null ?countData.DueinMoney:'0' countData.DueinMoney !=null ?countData.DueinMoney:'0'
}};</span }};</span>
>
<span>应收小费: <span>应收小费:
{{countData.PreferTipAmount}} {{countData.PreferTipAmount}}
</span> </span>
...@@ -245,45 +139,35 @@ ...@@ -245,45 +139,35 @@
<span>{{ countData.NormalGuestNum !=null ? countData.NormalGuestNum:'0' }}</span> <span>{{ countData.NormalGuestNum !=null ? countData.NormalGuestNum:'0' }}</span>
</div> </div>
<p> <p>
<span <span>{{ $t("Airticket.Air_EconomyClass") }}{{
>{{ $t("Airticket.Air_EconomyClass") }}{{
countData.NormalYSeatNum !=null?countData.NormalYSeatNum:'0' countData.NormalYSeatNum !=null?countData.NormalYSeatNum:'0'
}};</span }};</span>
> <span>{{ $t("Airticket.Air_businessClass") }}{{
<span
>{{ $t("Airticket.Air_businessClass") }}{{
countData.NormalESeatNum !=null ?countData.NormalESeatNum:'0' countData.NormalESeatNum !=null ?countData.NormalESeatNum:'0'
}};</span }};</span>
> <span>{{ $t("Airticket.Air_firstClass") }}{{
<span
>{{ $t("Airticket.Air_firstClass") }}{{
countData.NormalFSeatNum!=null ? countData.NormalFSeatNum:'0' countData.NormalFSeatNum!=null ? countData.NormalFSeatNum:'0'
}};</span }};</span>
>
</p> </p>
<div class="groupTourOrder_count_blue"> <div class="groupTourOrder_count_blue">
<i class="iconfont icon-baomingrenshu"></i> <i class="iconfont icon-baomingrenshu"></i>
<span>{{ $t("salesModule.AirNum") }}</span> <span>{{ $t("salesModule.AirNum") }}</span>
</div> </div>
<p> <p>
<span class="color_red_order" <span class="color_red_order">{{ $t("op.Zong") }}: {{ countData.YSeat!=null ? countData.YSeat:'0' }}({{
>{{ $t("op.Zong") }}: {{ countData.YSeat!=null ? countData.YSeat:'0' }}({{
$t("Airticket.Air_EconomyClass") $t("Airticket.Air_EconomyClass")
}})+{{ countData.CSeat !=null? countData.CSeat:'0' }}({{ }})+{{ countData.CSeat !=null? countData.CSeat:'0' }}({{
$t("Airticket.Air_businessClass") $t("Airticket.Air_businessClass")
}})+{{ countData.FSeat!=null?countData.FSeat:'0' }}({{ $t("Airticket.Air_firstClass") }}) }})+{{ countData.FSeat!=null?countData.FSeat:'0' }}({{ $t("Airticket.Air_firstClass") }})
;</span ;</span>
> <span class="color_red_order">{{ $t("op.Sheng") }}:
<span class="color_red_order"
>{{ $t("op.Sheng") }}:
{{ countData.YSeat - countData.SurplusYSeat }}({{ {{ countData.YSeat - countData.SurplusYSeat }}({{
$t("Airticket.Air_EconomyClass") $t("Airticket.Air_EconomyClass")
}})+{{ countData.CSeat - countData.SurplusCSeat }}({{ }})+{{ countData.CSeat - countData.SurplusCSeat }}({{
$t("Airticket.Air_businessClass") $t("Airticket.Air_businessClass")
}})+{{ countData.FSeat - countData.SurplusFSeat }}({{ }})+{{ countData.FSeat - countData.SurplusFSeat }}({{
$t("Airticket.Air_firstClass") $t("Airticket.Air_firstClass")
}}) ;</span }}) ;</span>
>
</p> </p>
</div> </div>
</el-col> </el-col>
...@@ -295,21 +179,15 @@ ...@@ -295,21 +179,15 @@
<span>{{ countData.CancelGuestNum !=null ?countData.CancelGuestNum:'0' }}</span> <span>{{ countData.CancelGuestNum !=null ?countData.CancelGuestNum:'0' }}</span>
</div> </div>
<p> <p>
<span <span>{{ $t("Airticket.Air_EconomyClass") }}{{
>{{ $t("Airticket.Air_EconomyClass") }}{{
countData.CancelYSeatNum !=null ?countData.CancelYSeatNum:'0' countData.CancelYSeatNum !=null ?countData.CancelYSeatNum:'0'
}};</span }};</span>
> <span>{{ $t("Airticket.Air_businessClass") }}{{
<span
>{{ $t("Airticket.Air_businessClass") }}{{
countData.CancelESeatNum !=null ?countData.CancelESeatNum:'0' countData.CancelESeatNum !=null ?countData.CancelESeatNum:'0'
}};</span }};</span>
> <span>{{ $t("Airticket.Air_firstClass") }}{{
<span
>{{ $t("Airticket.Air_firstClass") }}{{
countData.CancelFSeatNum!=null?countData.CancelFSeatNum:'0' countData.CancelFSeatNum!=null?countData.CancelFSeatNum:'0'
}};</span }};</span>
>
</p> </p>
</div> </div>
</el-col> </el-col>
...@@ -320,9 +198,7 @@ ...@@ -320,9 +198,7 @@
<span>{{ $t("fnc.qtxtongji") }}</span> <span>{{ $t("fnc.qtxtongji") }}</span>
</div> </div>
<p> <p>
<span <span>{{ $t("fnc.nbbaoming") }}{{ countData.InteriorNum !=null ? countData.InteriorNum:'0' }};</span>
>{{ $t("fnc.nbbaoming") }}{{ countData.InteriorNum !=null ? countData.InteriorNum:'0' }};</span
>
<span>{{ $t("fnc.B2BWAP") }}{{ countData.B2BNum!=null?countData.B2BNum:'0' }};</span> <span>{{ $t("fnc.B2BWAP") }}{{ countData.B2BNum!=null?countData.B2BNum:'0' }};</span>
</p> </p>
</div> </div>
...@@ -363,13 +239,7 @@ ...@@ -363,13 +239,7 @@
</div> </div>
<!-- 表格 --> <!-- 表格 -->
<div style="clear: both; width: 100%; height: 20px"></div> <div style="clear: both; width: 100%; height: 20px"></div>
<table <table class="enrollTotalSearchTable" border="0" cellspacing="0" cellpadding="0" v-loading="loading">
class="enrollTotalSearchTable"
border="0"
cellspacing="0"
cellpadding="0"
v-loading="loading"
>
<tr> <tr>
<th width="80">{{ $t("fnc.danhao") }}&{{ $t("visa.v_tuanhao") }}</th> <th width="80">{{ $t("fnc.danhao") }}&{{ $t("visa.v_tuanhao") }}</th>
<th width="70">{{ $t("advmanager.v_type") }}</th> <th width="70">{{ $t("advmanager.v_type") }}</th>
...@@ -379,10 +249,10 @@ ...@@ -379,10 +249,10 @@
<th width="50">{{ $t("admin.admin_personNumber") }}</th> <th width="50">{{ $t("admin.admin_personNumber") }}</th>
<th width="80">{{ $t("fnc.danjia") }}</th> <th width="80">{{ $t("fnc.danjia") }}</th>
<th width="80">{{ $t("fnc.cjdanjia") }}</th> <th width="80">{{ $t("fnc.cjdanjia") }}</th>
<th width="80">{{ $t("fnc.yszonge") }}</th> <th width="80">{{ $t("fnc.yszonge") }}</th>
<th width="80">{{ $t("fnc.shishou") }}</th> <th width="80">{{ $t("fnc.shishou") }}</th>
<th width="70">{{ $t("fnc.youhui") }}</th> <th width="70">{{ $t("fnc.youhui") }}</th>
<th width="80">{{ $t("salesModule.HappinessPassbook") }}</th> <th width="80">{{ $t("salesModule.HappinessPassbook") }}</th>
<th width="80">应收小费</th> <th width="80">应收小费</th>
...@@ -398,11 +268,7 @@ ...@@ -398,11 +268,7 @@
</th> </th>
</tr> </tr>
<tr> <tr>
<td <td v-show="OrderList.length == 0" :colspan="isEditOrderCreate == 1 ? 18 : 17" align="center">
v-show="OrderList.length == 0"
:colspan="isEditOrderCreate == 1 ? 18 : 17"
align="center"
>
{{ $t("system.content_noData") }} {{ $t("system.content_noData") }}
</td> </td>
</tr> </tr>
...@@ -412,62 +278,29 @@ ...@@ -412,62 +278,29 @@
<p v-if="item.isChargeLossOrders == 1" style="color: red"> <p v-if="item.isChargeLossOrders == 1" style="color: red">
{{ $t("fnc.sun") }} {{ $t("fnc.sun") }}
</p> </p>
<p <p class="fbold over_ellipsis" style="width: 100%; cursor: pointer; text-decoration: underline"
class="fbold over_ellipsis" :title="item.orderId" @click="
style="width: 100%; cursor: pointer; text-decoration: underline"
:title="item.orderId"
@click="
goUrlX('团报名清单', 'RegistrationList', item.tcid, item.tcnum) goUrlX('团报名清单', 'RegistrationList', item.tcid, item.tcnum)
" ">
title="点击跳转到报名清单"
>
{{ item.orderId }} {{ item.orderId }}
<el-tooltip <el-tooltip class="item" effect="dark" content="通过小程序确认单报名" placement="top" v-show="item.orderForm == 4">
class="item" <i class="iconfont icon-xiaochengxu" style="
effect="dark"
content="通过小程序确认单报名"
placement="top"
v-show="item.orderForm == 4"
>
<i
class="iconfont icon-xiaochengxu"
style="
font-size: 22px; font-size: 22px;
color: red; color: red;
text-decoration: none; text-decoration: none;
display: inline-block; display: inline-block;
" "></i></el-tooltip>
></i <el-tooltip class="item" effect="dark" content="通过B2B确认单报名" placement="top" v-show="item.isFormB2B == 1">
></el-tooltip> <i class="iconfont icon-tiaozheng" style="font-size: 22px; color: #297bef"></i></el-tooltip>
<el-tooltip
class="item"
effect="dark"
content="通过B2B确认单报名"
placement="top"
v-show="item.isFormB2B == 1"
>
<i
class="iconfont icon-tiaozheng"
style="font-size: 22px; color: #297bef"
></i
></el-tooltip>
</p> </p>
<p <p class="fz12 over_ellipsis" style="width: 100%; text-decoration: underline; cursor: pointer"
class="fz12 over_ellipsis" title="点击跳转到团控列表" @click="goToTravelList(item)">
style="width: 100%; text-decoration: underline; cursor: pointer"
title="点击跳转到团控列表"
@click="
goUrlX('团控列表', 'TravelControlList', item.tcid, item.tcnum)
"
>
{{ item.tcnum }} {{ item.tcnum }}
</p> </p>
<p class="fz12 over_ellipsis" style="width: 100%"> <p class="fz12 over_ellipsis" style="width: 100%">
{{ item.createBy {{ item.createBy
}}<span v-if="item.leaveStr != ''" style="color: red" }}<span v-if="item.leaveStr != ''" style="color: red">({{ item.leaveStr }})</span>
>({{ item.leaveStr }})</span
>
</p> </p>
<p class="fz12 over_ellipsis"> <p class="fz12 over_ellipsis">
{{ $t("restaurant.res_oderTime") }}{{ item.createDate }} {{ $t("restaurant.res_oderTime") }}{{ item.createDate }}
...@@ -488,12 +321,9 @@ ...@@ -488,12 +321,9 @@
}} }}
</p> </p>
<div> <div>
<div <div style="color: green" v-if="
style="color: green"
v-if="
item.commissionMoney == '' || item.commissionMoney == '-1' item.commissionMoney == '' || item.commissionMoney == '-1'
" ">
>
<p v-if="item.extraRewardMoney > 0"> <p v-if="item.extraRewardMoney > 0">
{{ $t("salesModule.EWJLJE") }}{{ item.extraRewardMoney }} {{ $t("salesModule.EWJLJE") }}{{ item.extraRewardMoney }}
</p> </p>
...@@ -515,11 +345,8 @@ ...@@ -515,11 +345,8 @@
</p> </p>
</div> </div>
</div> </div>
<div <div v-if="item.orderTypeName === '单团'" style="color: red; cursor: pointer"
v-if="item.orderTypeName === '单团'" @click="seeBJD(item.quotationUrl)">
style="color: red; cursor: pointer"
@click="seeBJD(item.quotationUrl)"
>
查看报价单 查看报价单
</div> </div>
</td> </td>
...@@ -529,36 +356,24 @@ ...@@ -529,36 +356,24 @@
</p> </p>
</td> </td>
<td class="fz12"> <td class="fz12">
<p <p style="
style="
max-width: 160px; max-width: 160px;
display: block; display: block;
text-decoration: underline; text-decoration: underline;
cursor: pointer; cursor: pointer;
" " title="点击跳转到报名清单" class="over_ellipsis" :title="item.lineName" @click="
title="点击跳转到报名清单"
class="over_ellipsis"
:title="item.lineName"
@click="
goUrlX('团报名清单', 'RegistrationList', item.tcid, item.tcnum) goUrlX('团报名清单', 'RegistrationList', item.tcid, item.tcnum)
" ">
>
<span>{{ item.lineName }}</span> <span>{{ item.lineName }}</span>
</p> </p>
<p <p style="
style="
max-width: 160px; max-width: 160px;
display: block; display: block;
text-decoration: underline; text-decoration: underline;
cursor: pointer; cursor: pointer;
" " title="点击跳转到报名清单" class="over_ellipsis" :title="item.ltName" @click="
title="点击跳转到报名清单"
class="over_ellipsis"
:title="item.ltName"
@click="
goUrlX('团报名清单', 'RegistrationList', item.tcid, item.tcnum) goUrlX('团报名清单', 'RegistrationList', item.tcid, item.tcnum)
" ">
>
{{ item.ltName }} {{ item.ltName }}
</p> </p>
</td> </td>
...@@ -571,7 +386,7 @@ ...@@ -571,7 +386,7 @@
</td> </td>
<td style="color: #ff9c00">{{ item.tC_Price }}</td> <td style="color: #ff9c00">{{ item.tC_Price }}</td>
<td style="color: #ff9c00">{{ item.unit_Price }}</td> <td style="color: #ff9c00">{{ item.unit_Price }}</td>
<td> <td>
<p style="color: #ff9c00">{{ item.preferPrice }}</p> <p style="color: #ff9c00">{{ item.preferPrice }}</p>
</td> </td>
...@@ -582,7 +397,7 @@ ...@@ -582,7 +397,7 @@
item.income item.income
}}</span> }}</span>
</td> </td>
<!-- 优惠 --> <!-- 优惠 -->
<td> <td>
<el-popover style="padding: 0" width="600" trigger="click"> <el-popover style="padding: 0" width="600" trigger="click">
...@@ -596,11 +411,8 @@ ...@@ -596,11 +411,8 @@
<th>{{ $t("active.cl_huoqufangshi") }}</th> <th>{{ $t("active.cl_huoqufangshi") }}</th>
<th>{{ $t("active.cl_hqriqi") }}</th> <th>{{ $t("active.cl_hqriqi") }}</th>
</tr> </tr>
<tr <tr v-if="item.couponAllotList.length > 0" v-for="(item2, index2) in item.couponAllotList"
v-if="item.couponAllotList.length > 0" :key="index2">
v-for="(item2, index2) in item.couponAllotList"
:key="index2"
>
<td>{{ item2.couponsName }}</td> <td>{{ item2.couponsName }}</td>
<td> <td>
<span v-if="item2.couponsType == 1">{{ <span v-if="item2.couponsType == 1">{{
...@@ -630,24 +442,15 @@ ...@@ -630,24 +442,15 @@
</tr> </tr>
</table> </table>
</div> </div>
<span <span style="
style="
cursor: pointer; cursor: pointer;
color: #e95252; color: #e95252;
text-decoration: underline; text-decoration: underline;
" " slot="reference">{{ item.discountMoney }}</span>
slot="reference"
>{{ item.discountMoney }}</span
>
</el-popover> </el-popover>
</td> </td>
<td> <td>
<el-popover <el-popover v-if="item.customerId || item.customerId == 0" style="padding: 0" width="600" trigger="click">
v-if="item.customerId || item.customerId == 0"
style="padding: 0"
width="600"
trigger="click"
>
<div class="personNolayer"> <div class="personNolayer">
<table border="0" cellspacing="1" cellpadding="1"> <table border="0" cellspacing="1" cellpadding="1">
<tr> <tr>
...@@ -655,13 +458,8 @@ ...@@ -655,13 +458,8 @@
<th>{{ $t("salesModule.Type") }}</th> <th>{{ $t("salesModule.Type") }}</th>
<th>{{ $t("system.label_info") }}</th> <th>{{ $t("system.label_info") }}</th>
<th> <th>
{{ $t("adm.adm_time") }}(<span {{ $t("adm.adm_time") }}(<span @click="goUrlHappy(item)" style="cursor: pointer" colspan="4"
@click="goUrlHappy(item)" align="center">{{ $t("salesModule.LookMore") }}</span>)
style="cursor: pointer"
colspan="4"
align="center"
>{{ $t("salesModule.LookMore") }}</span
>)
</th> </th>
</tr> </tr>
<tr v-for="(item2, index2) in redBagList" :key="index2"> <tr v-for="(item2, index2) in redBagList" :key="index2">
...@@ -682,27 +480,18 @@ ...@@ -682,27 +480,18 @@
</tr> </tr>
</table> </table>
</div> </div>
<span <span @click="getRedBag(item)" style="
@click="getRedBag(item)"
style="
cursor: pointer; cursor: pointer;
color: #e95252; color: #e95252;
padding: 0 15px; padding: 0 15px;
text-decoration: underline; text-decoration: underline;
" " slot="reference">{{ item.redEnvelopeMoney }}</span>
slot="reference"
>{{ item.redEnvelopeMoney }}</span
>
</el-popover> </el-popover>
<span <span v-else style="
v-else
style="
cursor: pointer; cursor: pointer;
color: #e95252; color: #e95252;
text-decoration: underline; text-decoration: underline;
" ">{{ item.redEnvelopeMoney }}</span>
>{{ item.redEnvelopeMoney }}</span
>
</td> </td>
<td style="color: #ff9c00">{{ item.preferTipAmount?item.preferTipAmount:'0.00' }}</td> <td style="color: #ff9c00">{{ item.preferTipAmount?item.preferTipAmount:'0.00' }}</td>
<td v-if="item.tipMoney">{{ item.tipMoney }}</td> <td v-if="item.tipMoney">{{ item.tipMoney }}</td>
...@@ -711,31 +500,16 @@ ...@@ -711,31 +500,16 @@
<td>{{ item.platformTax }}</td> <td>{{ item.platformTax }}</td>
<td>{{ item.zaiTuMoney }}</td> <td>{{ item.zaiTuMoney }}</td>
<td> <td>
<span <span :class="{ color_red_order: item.dueInMoney !== item.preferPrice }">{{ item.dueInMoney }}</span>
:class="{ color_red_order: item.dueInMoney !== item.preferPrice }"
>{{ item.dueInMoney }}</span
>
</td> </td>
<td <td v-if="item.isChargeLossOrders == 1" class="fz12" style="color: #e95252">
v-if="item.isChargeLossOrders == 1"
class="fz12"
style="color: #e95252"
>
{{ $t("fnc.shousun") }} {{ $t("fnc.shousun") }}
</td> </td>
<td <td v-else class="fz12" :style="item.orderState === 3 ? 'color: #e95252;' : ''">
v-else
class="fz12"
:style="item.orderState === 3 ? 'color: #e95252;' : ''"
>
{{ item.statsstr }} {{ item.statsstr }}
</td> </td>
<td> <td>
<p <p class="over_ellipsis" style="width: 150px" :title="item.contactName">
class="over_ellipsis"
style="width: 150px"
:title="item.contactName"
>
{{ item.contactName }} {{ item.contactName }}
</p> </p>
<p>{{ item.contactMobile }}</p> <p>{{ item.contactMobile }}</p>
...@@ -755,10 +529,9 @@ ...@@ -755,10 +529,9 @@
<div> <div>
<span>{{ $t("hotel.hotel_remark") }}</span> <span>{{ $t("hotel.hotel_remark") }}</span>
<p> <p>
<span v-if="item.clientSource == 1 && item.brandName != ''" <span
>{{ item.brandName }}{{ $t("fnc.dingdan") }} v-if="item.clientSource == 1 && item.brandName != ''">{{ item.brandName }}{{ $t("fnc.dingdan") }}
{{ item.platformOrder }};</span {{ item.platformOrder }};</span>{{ item.remarks }}
>{{ item.remarks }}
</p> </p>
</div> </div>
<div> <div>
...@@ -766,11 +539,7 @@ ...@@ -766,11 +539,7 @@
<el-popover width="600" placement="bottom-end" trigger="click"> <el-popover width="600" placement="bottom-end" trigger="click">
<div class="groupTourOrder_remarks_popover"> <div class="groupTourOrder_remarks_popover">
<div>{{ $t("fnc.lsbeizhu") }}</div> <div>{{ $t("fnc.lsbeizhu") }}</div>
<p <p v-if="item.remarksList.length !== 0" v-for="(item2, index2) in item.remarksList" :key="index2">
v-if="item.remarksList.length !== 0"
v-for="(item2, index2) in item.remarksList"
:key="index2"
>
<span>{{ item2.remarks }}</span> <span>{{ item2.remarks }}</span>
<span> <span>
{{ item2.createByName }} {{ item2.createByName }}
...@@ -783,16 +552,11 @@ ...@@ -783,16 +552,11 @@
$t("system.content_noData") $t("system.content_noData")
}}</span> }}</span>
</div> </div>
<el-button <el-button slot="reference" icon="iconfont icon-gengduo" style="
slot="reference"
icon="iconfont icon-gengduo"
style="
padding: 0px; padding: 0px;
border: none; border: none;
background-color: transparent; background-color: transparent;
" " class="groupTourOrder_remarks_btn">
class="groupTourOrder_remarks_btn"
>
</el-button> </el-button>
</el-popover> </el-popover>
</div> </div>
...@@ -802,78 +566,38 @@ ...@@ -802,78 +566,38 @@
<span style="color: red;">{{ item.unionRemark }}</span> <span style="color: red;">{{ item.unionRemark }}</span>
</div> </div>
</td> </td>
<td <td :colspan="isEditOrderCreate == 1 ? 10 : 9" class="groupTourOrder_tickets"
:colspan="isEditOrderCreate == 1 ? 10 : 9" style="height: 20px; cursor: pointer" @click="goUrlSFD('SalesFinancialDetail', '销售财务单据', item)">
class="groupTourOrder_tickets"
style="height: 20px; cursor: pointer"
@click="goUrlSFD('SalesFinancialDetail', '销售财务单据', item)"
>
<div> <div>
<div style="white-space: nowrap"> <div style="white-space: nowrap">
{{ $t("fnc.skdanju") }}<span {{ $t("fnc.skdanju") }}<span v-if="item.financeList.length === 0"
v-if="item.financeList.length === 0" style="cursor: default">{{ $t("system.content_noData") }}</span>
style="cursor: default"
>{{ $t("system.content_noData") }}</span
>
<span v-for="(item2, index2) in item.financeList" :key="index2"> <span v-for="(item2, index2) in item.financeList" :key="index2">
<span <span v-if="item2.colorState === 1" class="groupTourOrder_tickets_blue">
v-if="item2.colorState === 1"
class="groupTourOrder_tickets_blue"
>
{{ item2.frID }} {{ item2.frID }}
</span> </span>
<span <span v-else-if="item2.colorState === 2" class="groupTourOrder_tickets_green">
v-else-if="item2.colorState === 2" {{ item2.frID }}</span>
class="groupTourOrder_tickets_green"
>
{{ item2.frID }}</span
>
<span <span v-else-if="item2.colorState === 3" class="groupTourOrder_tickets_red">{{ item2.frID }}
v-else-if="item2.colorState === 3"
class="groupTourOrder_tickets_red"
>{{ item2.frID }}
</span> </span>
<span <span v-else-if="item2.colorState === 4" class="groupTourOrder_tickets_black">{{ item2.frID }}
v-else-if="item2.colorState === 4"
class="groupTourOrder_tickets_black"
>{{ item2.frID }}
</span> </span>
</span> </span>
</div> </div>
</div> </div>
<div> <div>
<div style="white-space: nowrap"> <div style="white-space: nowrap">
{{ $t("fnc.fkdanju") }}<span {{ $t("fnc.fkdanju") }}<span v-if="item.financeList.length === 0"
v-if="item.financeList.length === 0" style="cursor: default">{{ $t("system.content_noData") }}</span>
style="cursor: default" <span v-for="(item2, index2) in item.refundFinanceList" :key="index2">
>{{ $t("system.content_noData") }}</span <span v-if="item2.colorState === 1" class="groupTourOrder_tickets_blue">{{ item2.frID }}</span>
> <span v-else-if="item2.colorState === 2"
<span class="groupTourOrder_tickets_green">{{ item2.frID }}</span>
v-for="(item2, index2) in item.refundFinanceList" <span v-else-if="item2.colorState === 3" class="groupTourOrder_tickets_red">{{ item2.frID }}</span>
:key="index2" <span v-else-if="item2.colorState === 4"
> class="groupTourOrder_tickets_black">{{ item2.frID }}</span>
<span
v-if="item2.colorState === 1"
class="groupTourOrder_tickets_blue"
>{{ item2.frID }}</span
>
<span
v-else-if="item2.colorState === 2"
class="groupTourOrder_tickets_green"
>{{ item2.frID }}</span
>
<span
v-else-if="item2.colorState === 3"
class="groupTourOrder_tickets_red"
>{{ item2.frID }}</span
>
<span
v-else-if="item2.colorState === 4"
class="groupTourOrder_tickets_black"
>{{ item2.frID }}</span
>
</span> </span>
</div> </div>
</div> </div>
...@@ -881,750 +605,746 @@ ...@@ -881,750 +605,746 @@
</tr> </tr>
</tbody> </tbody>
</table> </table>
<el-pagination <el-pagination background @current-change="handleCurrentChange" :current-page.sync="currentPage"
background layout="total,prev, pager, next, jumper" :page-size="msg.pageSize" :total="total"></el-pagination>
@current-change="handleCurrentChange"
:current-page.sync="currentPage"
layout="total,prev, pager, next, jumper"
:page-size="msg.pageSize"
:total="total"
></el-pagination>
<div class="combottomDiv" v-if="showChangeSales" style="height: 200px"> <div class="combottomDiv" v-if="showChangeSales" style="height: 200px">
<updateSalesMan <updateSalesMan @closeUpdiv="closeSalseDiv" @getList="getList" :subInfo="subInfo"></updateSalesMan>
@closeUpdiv="closeSalseDiv"
@getList="getList"
:subInfo="subInfo"
></updateSalesMan>
</div> </div>
</div> </div>
</template> </template>
<script> <script>
import Treeselect from "@riophae/vue-treeselect"; import Treeselect from "@riophae/vue-treeselect";
import updateSalesMan from "../../commonPage/updateSalesMan.vue"; import updateSalesMan from "../../commonPage/updateSalesMan.vue";
import "@riophae/vue-treeselect/dist/vue-treeselect.css"; import "@riophae/vue-treeselect/dist/vue-treeselect.css";
export default { export default {
components: { components: {
Treeselect, Treeselect,
updateSalesMan, updateSalesMan,
}, },
data() { data() {
return { return {
//修改订单业务员权限 //修改订单业务员权限
isEditOrderCreate: 0, isEditOrderCreate: 0,
redBagList: [], redBagList: [],
normalizer(node) { normalizer(node) {
return { return {
id: node.DepartmentId, id: node.DepartmentId,
label: node.DepartmentName, label: node.DepartmentName,
children: node.ChildList, children: node.ChildList,
}; };
},
defaultImg: 'this.src="' + require("../../../assets/img/litheader.png") + '"',
currentPage: 1,
total: 0,
loading: false,
companyList: [],
msg: {
OutBranchId: -1,
BranchId: -1,
LineId: -1,
LineIdStr: "", //线路字符串
RB_Department_Id: "",
CreateBy: "-1",
OrderState: "-1",
CStartDate: "",
CEndDate: "",
pageIndex: 1,
pageSize: 10,
tempOrderId: "",
SellFormEmp: 0,
QStartDate: "", //发团日期-开始
QEndDate: "", //发团日期-结束
},
getDepartmentMsg: {
// 部门
RB_Group_Id: "",
RB_Branch_Id: "",
Status: 0,
ParentId: -1,
Tier: 0,
},
employeeMsg: {
RB_Group_id: "0",
RB_Branch_id: "-1",
departmentId: "0",
IsLeave: "-1",
},
isOwn: false,
OrderList: [],
LineList: [],
LineTeamList: [],
DepartmentList: [],
EmployeeList: [],
ddztList: [],
countData: {
// 总报名人数
TotalGuestNum: 0,
TotalYSeatNum: 0,
TotalESeatNum: 0,
TotalFSeatNum: 0,
// 正常报名人数
NormalGuestNum: 0,
NormalYSeatNum: 0,
NormalESeatNum: 0,
NormalFSeatNum: 0,
// 取消人数
CancelGuestNum: 0,
CancelYSeatNum: 0,
CancelESeatNum: 0,
CancelFSeatNum: 0,
// 其他统计项
Income: 0,
Commission: 0,
DueinMoney: 0,
PreferPrice: 0,
InteriorNum: 0,
B2BNum: 0,
},
showChangeSales: false,
//订单编号及业务员信息
subInfo: {
CreateBy: "",
OrderId: 0,
},
userId: 0,
};
},
methods: {
//跳转到团控列表
goToTravelList(item) {
if (item.teamType == 1) {
this.goUrlX('团控列表', 'TravelControlListSale', item.tcid, item.tcnum);
} else {
this.goUrlX('团控列表', 'TravelControlList', item.tcid, item.tcnum);
}
}, },
defaultImg: goUrlHappy(item) {
'this.src="' + require("../../../assets/img/litheader.png") + '"', this.$router.push({
currentPage: 1, name: "HappyPassbook",
total: 0, query: {
loading: false, CustomerId: item.customerId,
companyList: [], blank: "y",
msg: { },
OutBranchId: -1, });
BranchId: -1,
LineId: -1,
LineIdStr: "", //线路字符串
RB_Department_Id: "",
CreateBy: "-1",
OrderState: "-1",
CStartDate: "",
CEndDate: "",
pageIndex: 1,
pageSize: 10,
tempOrderId: "",
SellFormEmp: 0,
QStartDate: "", //发团日期-开始
QEndDate: "", //发团日期-结束
}, },
getDepartmentMsg: { getRedBag(item) {
// 部门 let msg = {
RB_Group_Id: "", CustomerId: item.customerId,
RB_Branch_Id: "", pageIndex: 1,
Status: 0, pageSize: 4,
ParentId: -1, };
Tier: 0, if (item.customerId) {
this.apipost(
"customer_post_GetC_BigRedEnvelopeInfoList",
msg,
(res) => {
if (res.data.resultCode == 1) {
this.redBagList = res.data.data.pageData;
} else {}
},
(err) => {}
);
} else {
this.redBagList = [];
}
}, },
employeeMsg: { goUrlSFD: function (path, name, item) {
RB_Group_id: "0", let obj = JSON.parse(JSON.stringify(item));
RB_Branch_id: "-1", obj.oP_Remarks = "";
departmentId: "0", obj.remarksList = [];
IsLeave: "-1", obj.refundFinanceList = [];
obj.remarks = [];
obj.ltName = [];
obj.lineName = [];
obj.financeList = [];
obj.guestList = [];
obj.description = [];
this.$router.push({
name: path,
query: {
blank: "y",
tab: name,
item: JSON.stringify(obj),
},
});
}, },
isOwn: false, getCompanyList() {
OrderList: [], let userInfo = this.getLocalStorage();
LineList: [], let RB_Group_id = userInfo.RB_Group_id;
LineTeamList: [], let msg = {
DepartmentList: [], Status: 0,
EmployeeList: [], is_show: 0,
ddztList: [], RB_Group_Id: RB_Group_id,
countData: { };
// 总报名人数 this.apipost(
TotalGuestNum: 0, "admin_get_BranchGetList",
TotalYSeatNum: 0, msg,
TotalESeatNum: 0, (res) => {
TotalFSeatNum: 0, if (res.data.resultCode == 1) {
// 正常报名人数 this.companyList = res.data.data;
NormalGuestNum: 0, }
NormalYSeatNum: 0, },
NormalESeatNum: 0, (err) => {}
NormalFSeatNum: 0, );
// 取消人数
CancelGuestNum: 0,
CancelYSeatNum: 0,
CancelESeatNum: 0,
CancelFSeatNum: 0,
// 其他统计项
Income: 0,
Commission: 0,
DueinMoney: 0,
PreferPrice: 0,
InteriorNum: 0,
B2BNum: 0,
}, },
showChangeSales: false, // 结束日期不能大于开始日期
//订单编号及业务员信息 dataDui() {
subInfo: { if (this.msg.CStartDate > this.msg.CEndDate && this.msg.CEndDate !== "") {
CreateBy: "", this.$message.error("结束日期不能大于开始日期");
OrderId: 0, this.msg.CEndDate = "";
}
}, },
userId: 0, goUrl(name, path, id, tcmun) {
}; this.$router.push({
}, name: path,
methods: { query: {
goUrlHappy(item) { id: id,
this.$router.push({ tcmun: tcmun,
name: "HappyPassbook", blank: "y",
query: { tab: name,
CustomerId: item.customerId, },
blank: "y", });
}, },
}); // 获取统计数据
}, getCount: function () {
getRedBag(item) {
let msg = {
CustomerId: item.customerId,
pageIndex: 1,
pageSize: 4,
};
if (item.customerId) {
this.apipost( this.apipost(
"customer_post_GetC_BigRedEnvelopeInfoList", "sellorder_post_OP_GetOrderListStatistics",
msg, this.msg,
(res) => { (res) => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.redBagList = res.data.data.pageData; this.countData = res.data.data;
} else { } else {
this.$message.error("数据获取失败!");
} }
}, },
(err) => {} (err) => {}
); );
} else { },
this.redBagList = []; goUrlX(name, path, id, tcmun) {
} this.$router.push({
}, name: path,
goUrlSFD: function (path, name, item) { query: {
let obj = JSON.parse(JSON.stringify(item)); id: id,
obj.oP_Remarks = ""; tcmun: tcmun,
obj.remarksList = []; blank: "y",
obj.refundFinanceList = []; tab: name,
obj.remarks = []; },
obj.ltName = []; });
obj.lineName = []; },
obj.financeList = []; linkageEmployeeMsg(node, instanceId) {
obj.guestList = []; this.employeeMsg.departmentId = node.DepartmentId;
obj.description = []; this.msg.CreateBy = "-1";
this.$router.push({ this.getEmployee();
name: path, },
query: { getDdztList() {
blank: "y", this.apipost(
tab: name, "sellorder_post_GetSellOrderStatusEnumList", {},
item: JSON.stringify(obj), (res) => {
}, if (res.data.resultCode == 1) {
}); this.ddztList = res.data.data;
}, }
getCompanyList() { },
let userInfo = this.getLocalStorage(); (err) => {}
let RB_Group_id = userInfo.RB_Group_id; );
let msg = { },
Status: 0, getLineList() {
is_show: 0, this.apipost("line_post_GetList", {}, (res) => {
RB_Group_Id: RB_Group_id,
};
this.apipost(
"admin_get_BranchGetList",
msg,
(res) => {
if (res.data.resultCode == 1) {
this.companyList = res.data.data;
}
},
(err) => {}
);
},
// 结束日期不能大于开始日期
dataDui() {
if (this.msg.CStartDate > this.msg.CEndDate && this.msg.CEndDate !== "") {
this.$message.error("结束日期不能大于开始日期");
this.msg.CEndDate = "";
}
},
goUrl(name, path, id, tcmun) {
this.$router.push({
name: path,
query: {
id: id,
tcmun: tcmun,
blank: "y",
tab: name,
},
});
},
// 获取统计数据
getCount: function () {
this.apipost(
"sellorder_post_OP_GetOrderListStatistics",
this.msg,
(res) => {
if (res.data.resultCode == 1) {
this.countData = res.data.data;
} else {
this.$message.error("数据获取失败!");
}
},
(err) => {}
);
},
goUrlX(name, path, id, tcmun) {
this.$router.push({
name: path,
query: {
id: id,
tcmun: tcmun,
blank: "y",
tab: name,
},
});
},
linkageEmployeeMsg(node, instanceId) {
this.employeeMsg.departmentId = node.DepartmentId;
this.msg.CreateBy = "-1";
this.getEmployee();
},
getDdztList() {
this.apipost(
"sellorder_post_GetSellOrderStatusEnumList",
{},
(res) => {
if (res.data.resultCode == 1) {
this.ddztList = res.data.data;
}
},
(err) => {}
);
},
getLineList() {
this.apipost("line_post_GetList", {}, (res) => {
if (res.data.resultCode == 1) {
this.LineList = res.data.data;
var lineIdStr = "";
this.LineList.forEach((lineItem) => {
lineIdStr += lineItem.LineID + ",";
});
this.msg.LineIdStr = lineIdStr.substring(
0,
lineIdStr.lastIndexOf(",")
);
} else {
this.$message.error(res.data.message);
}
});
},
getList() {
this.loading = true;
this.apipost(
"sellorder_post_OP_GetOrderList",
this.msg,
(res) => {
this.loading = false;
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.total = res.data.data.count; this.LineList = res.data.data;
this.OrderList = res.data.data.pageData; var lineIdStr = "";
this.LineList.forEach((lineItem) => {
lineIdStr += lineItem.LineID + ",";
});
this.msg.LineIdStr = lineIdStr.substring(
0,
lineIdStr.lastIndexOf(",")
);
} else { } else {
this.$message.error(res.data.message); this.$message.error(res.data.message);
} }
}, });
(err) => {} },
); getList() {
this.getCount(); this.loading = true;
}, this.apipost(
handleCurrentChange(val) { "sellorder_post_OP_GetOrderList",
this.msg.pageIndex = val; this.msg,
this.getList(); (res) => {
}, this.loading = false;
resetPageIndex() { if (res.data.resultCode == 1) {
this.msg.pageIndex = 1; this.total = res.data.data.count;
this.currentPage = 1; this.OrderList = res.data.data.pageData;
}, } else {
//点击修改业务员 this.$message.error(res.data.message);
getSalerInfo(item) { }
this.subInfo.CreateBy = item.createBy; },
this.subInfo.OrderId = item.orderId; (err) => {}
this.showChangeSales = true; );
}, this.getCount();
//关闭修改业务员 },
closeSalseDiv() { handleCurrentChange(val) {
this.showChangeSales = false; this.msg.pageIndex = val;
}, this.getList();
getDepartment() { },
//部门 resetPageIndex() {
this.apipost( this.msg.pageIndex = 1;
"admin_get_DepartmentGetList", this.currentPage = 1;
this.getDepartmentMsg, },
(res) => { //点击修改业务员
if (res.data.resultCode == 1) { getSalerInfo(item) {
this.DepartmentList = res.data.data; this.subInfo.CreateBy = item.createBy;
} this.subInfo.OrderId = item.orderId;
}, this.showChangeSales = true;
(err) => {} },
); //关闭修改业务员
}, closeSalseDiv() {
getEmployee() { this.showChangeSales = false;
//员工 },
this.apipost( getDepartment() {
"admin_get_EmployeeGetList", //部门
this.employeeMsg, this.apipost(
(res) => { "admin_get_DepartmentGetList",
if (res.data.resultCode == 1) { this.getDepartmentMsg,
this.EmployeeList = res.data.data; (res) => {
if (res.data.resultCode == 1) {
this.DepartmentList = res.data.data;
}
},
(err) => {}
);
},
getEmployee() {
//员工
this.apipost(
"admin_get_EmployeeGetList",
this.employeeMsg,
(res) => {
if (res.data.resultCode == 1) {
this.EmployeeList = res.data.data;
}
},
(err) => {}
);
},
//获取修改业务员权限
GetEditOrderCreateByAuth() {
var actionCode = this.$AuthCode.EditOrderCreateBy;
this.CheckUserAuth(actionCode, (res) => {
if (res.data.resultCode == 1 && res.data.data == 1) {
this.isEditOrderCreate = 1;
} }
}, });
(err) => {} },
); // 查看报价单
}, seeBJD(url) {
//获取修改业务员权限 window.open(url, "_blank");
GetEditOrderCreateByAuth() { return;
var actionCode = this.$AuthCode.EditOrderCreateBy; },
this.CheckUserAuth(actionCode, (res) => {
if (res.data.resultCode == 1 && res.data.data == 1) {
this.isEditOrderCreate = 1;
}
});
}, },
// 查看报价单 mounted() {
seeBJD(url) { this.GetEditOrderCreateByAuth();
window.open(url, "_blank"); let userInfo = this.getLocalStorage();
return; this.userId = userInfo.EmployeeId;
this.getCompanyList();
this.getEmployee();
this.getLineList();
this.getDepartment();
this.getDdztList();
let nowDay = this.FormartDate(new Date());
if (this.$route.query.id) {
this.msg.tempOrderId = this.$route.query.id;
}
if (this.msg.CStartDate === "" && this.msg.CEndDate === "") {
this.msg.CStartDate = nowDay;
this.msg.CEndDate = nowDay;
}
if (userInfo.EmployeeId == 5 || userInfo.EmployeeId == 1) {
this.msg.OutBranchId = -1;
} else {
this.msg.OutBranchId = this.getLocalStorage().RB_Branch_id;
}
this.getList();
}, },
}, };
mounted() {
this.GetEditOrderCreateByAuth();
let userInfo = this.getLocalStorage();
this.userId = userInfo.EmployeeId;
this.getCompanyList();
this.getEmployee();
this.getLineList();
this.getDepartment();
this.getDdztList();
let nowDay =this.FormartDate(new Date());
if (this.$route.query.id) {
this.msg.tempOrderId = this.$route.query.id;
}
if (this.msg.CStartDate === "" && this.msg.CEndDate === "") {
this.msg.CStartDate = nowDay;
this.msg.CEndDate = nowDay;
}
if (userInfo.EmployeeId == 5 || userInfo.EmployeeId == 1) {
this.msg.OutBranchId = -1;
} else {
this.msg.OutBranchId = this.getLocalStorage().RB_Branch_id;
}
this.getList();
},
};
</script> </script>
<style> <style>
.personNolayer p { .personNolayer p {
height: 28px; height: 28px;
line-height: 28px; line-height: 28px;
padding-left: 15px; padding-left: 15px;
} }
.personNolayer p > span { .personNolayer p>span {
font-size: 12px; font-size: 12px;
color: #333; color: #333;
margin-right: 25px; margin-right: 25px;
} }
.personNolayer table { .personNolayer table {
padding: 10px 0 0 20px; padding: 10px 0 0 20px;
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;
} }
.personNolayer table th { .personNolayer table th {
background-color: #ededed; background-color: #ededed;
height: 34px; height: 34px;
text-indent: 15px; text-indent: 15px;
} }
.personNolayer table td { .personNolayer 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;
} }
.personNolayer table ._color_666 { .personNolayer table ._color_666 {
color: #666666; color: #666666;
} }
.personNolayer table tr._color_666 th { .personNolayer table tr._color_666 th {
padding: 9px 15px; padding: 9px 15px;
} }
.enrollTotalSearch { .enrollTotalSearch {
width: 100%; width: 100%;
min-height: auto; min-height: auto;
padding: 0 0 20px 0; padding: 0 0 20px 0;
} }
.enrollTotalSearch::after { .enrollTotalSearch::after {
display: block; display: block;
clear: both; clear: both;
content: ""; content: "";
visibility: hidden; visibility: hidden;
height: 0; height: 0;
} }
.enrollTotalSearch li { .enrollTotalSearch li {
float: left; float: left;
font-size: 12px; font-size: 12px;
height: 40px; height: 40px;
color: #666; color: #666;
margin: 20px 10px 10px 0; margin: 20px 10px 10px 0;
} }
.enrollTotalSearch li > span { .enrollTotalSearch li>span {
display: inline-block; display: inline-block;
} }
.enrollTotalSearch li span > em { .enrollTotalSearch li span>em {
display: inline-block; display: inline-block;
min-width: 60px; min-width: 60px;
text-align: right; text-align: right;
font-style: normal; font-style: normal;
margin: 0 12px 0 0; margin: 0 12px 0 0;
} }
.enrollTotalSearch li:last-child { .enrollTotalSearch li:last-child {
float: right; float: right;
position: fixed; position: fixed;
top: 36px; top: 36px;
right: 20px; right: 20px;
text-align: right; text-align: right;
z-index: 50; z-index: 50;
} }
.enrollTotalSearchTable { .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;
} }
.enrollTotalSearchTable tr { .enrollTotalSearchTable tr {
/* border-bottom: 2px solid #333; */ /* border-bottom: 2px solid #333; */
} }
.enrollTotalSearchTable tr th { .enrollTotalSearchTable tr th {
background: #bdbdbd; background: #bdbdbd;
height: 30px; height: 30px;
font-size: 12px; font-size: 12px;
text-align: left; text-align: left;
text-indent: 15px; text-indent: 15px;
border-top: 1px solid #cccccc; border-top: 1px solid #cccccc;
border-left: 1px solid #cccccc; border-left: 1px solid #cccccc;
} }
.enrollTotalSearchTable tr { .enrollTotalSearchTable tr {
background: #fff; background: #fff;
text-align: left; text-align: left;
} }
.enrollTotalSearchTable tr td { .enrollTotalSearchTable tr td {
height: 50px; height: 50px;
padding: 10px; padding: 10px;
border-top: 1px solid #cccccc; border-top: 1px solid #cccccc;
border-left: 1px solid #cccccc; border-left: 1px solid #cccccc;
} }
.enrollTotalSearchTable tr td > img { .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;
} }
.enrollTotalSearchTable tr td p { .enrollTotalSearchTable tr td p {
line-height: 20px; line-height: 20px;
} }
.groupTourOrder_count_green { .groupTourOrder_count_green {
color: #1bc594; color: #1bc594;
} }
.groupTourOrder_count_blue { .groupTourOrder_count_blue {
color: #4d7afd; color: #4d7afd;
} }
.groupTourOrder_count_yellow { .groupTourOrder_count_yellow {
color: #ff9c00; color: #ff9c00;
} }
.groupTourOrder_count_gray { .groupTourOrder_count_gray {
color: #999999; color: #999999;
} }
.groupTourOrder_count { .groupTourOrder_count {
margin: 0 0 20px 0; margin: 0 0 20px 0;
width: 100%; width: 100%;
height: auto; height: auto;
} }
.groupTourOrder_count_col { .groupTourOrder_count_col {
height: 110px; height: 110px;
} }
.groupTourOrder_count_item { .groupTourOrder_count_item {
font-weight: 400; font-weight: 400;
padding: 10px; padding: 10px;
height: 100%; height: 100%;
border: 1px solid #e6e6e6; border: 1px solid #e6e6e6;
background-color: #ffffff; background-color: #ffffff;
color: #333333; color: #333333;
} }
.groupTourOrder_count_item > div > i { .groupTourOrder_count_item>div>i {
font-size: 12px; font-size: 12px;
vertical-align: bottom; vertical-align: bottom;
} }
.groupTourOrder_count_item > div > span:nth-child(2) { .groupTourOrder_count_item>div>span:nth-child(2) {
font-size: 14px; font-size: 14px;
vertical-align: bottom; vertical-align: bottom;
} }
.groupTourOrder_count_item > div > span:nth-child(3) { .groupTourOrder_count_item>div>span:nth-child(3) {
font-weight: bold; font-weight: bold;
font-size: 16px; font-size: 16px;
vertical-align: bottom; vertical-align: bottom;
} }
.groupTourOrder_count_item > p { .groupTourOrder_count_item>p {
font-size: 12px; font-size: 12px;
line-height: 18px; line-height: 18px;
} }
.groupTourOrder_count_item > p > span { .groupTourOrder_count_item>p>span {
margin: 0 5px 0 0; margin: 0 5px 0 0;
white-space: nowrap; white-space: nowrap;
} }
.groupTourOrder_more { .groupTourOrder_more {
margin: 0 -12px; margin: 0 -12px;
} }
.groupTourOrder_more > div { .groupTourOrder_more>div {
width: 100%; width: 100%;
height: 30px; height: 30px;
line-height: 30px; line-height: 30px;
text-align: center; text-align: center;
font-size: 12px; font-size: 12px;
color: #333333; color: #333333;
background-color: #ffffff; background-color: #ffffff;
cursor: pointer; cursor: pointer;
} }
.groupTourOrder_more > div:hover { .groupTourOrder_more>div:hover {
color: #297bef; color: #297bef;
background-color: #dcebff; background-color: #dcebff;
} }
.groupTourOrder_remarks { .groupTourOrder_remarks {
font-size: 0px; font-size: 0px;
} }
.groupTourOrder_remarks > div { .groupTourOrder_remarks>div {}
}
.groupTourOrder_remarks>div>div:nth-child(1) {
.groupTourOrder_remarks > div > div:nth-child(1) { float: left;
float: left; display: flex;
display: flex; align-items: flex-start;
align-items: flex-start; }
}
.groupTourOrder_remarks>div>div:nth-child(1)>span {
.groupTourOrder_remarks > div > div:nth-child(1) > span { line-height: 20px;
line-height: 20px; font-size: 12px;
font-size: 12px; color: #e95252;
color: #e95252; white-space: nowrap;
white-space: nowrap; }
}
.groupTourOrder_remarks>div>div:nth-child(1)>p {
.groupTourOrder_remarks > div > div:nth-child(1) > p { line-height: 20px;
line-height: 20px; font-size: 12px;
font-size: 12px; color: #e95252;
color: #e95252; }
}
.groupTourOrder_remarks>div>div:nth-child(2) {
.groupTourOrder_remarks > div > div:nth-child(2) { float: right;
float: right; text-align: right;
text-align: right; font-size: 12px;
font-size: 12px; color: #e95252;
color: #e95252; }
}
.groupTourOrder_remarks>div>div:nth-child(2)>i {
.groupTourOrder_remarks > div > div:nth-child(2) > i { font-size: 10px;
font-size: 10px; cursor: pointer;
cursor: pointer; }
}
.groupTourOrder_remarks>div::after {
.groupTourOrder_remarks > div::after { display: block;
display: block; clear: both;
clear: both; content: "";
content: ""; visibility: hidden;
visibility: hidden; height: 0;
height: 0; }
}
.groupTourOrder_remarks_btn {
.groupTourOrder_remarks_btn { padding: 0px;
padding: 0px; width: 12px;
width: 12px; height: 12px;
height: 12px; border: none;
border: none; background-color: transparent;
background-color: transparent; }
}
.groupTourOrder_remarks_btn>i {
.groupTourOrder_remarks_btn > i { color: #e95252;
color: #e95252; font-size: 12px;
font-size: 12px; }
}
.groupTourOrder_remarks_popover>div {
.groupTourOrder_remarks_popover > div { display: inline-block;
display: inline-block; font-size: 14px;
font-size: 14px; color: #000000;
color: #000000; }
}
.groupTourOrder_remarks_popover>div::before {
.groupTourOrder_remarks_popover > div::before { content: "";
content: ""; display: inline-block;
display: inline-block; margin: 0 5px 0 0;
margin: 0 5px 0 0; width: 2px;
width: 2px; height: 12px;
height: 12px; background-color: #e95252;
background-color: #e95252; }
}
.groupTourOrder_remarks_popover>span {
.groupTourOrder_remarks_popover > span { display: block;
display: block; margin: 0 0 0 0;
margin: 0 0 0 0; width: 100%;
width: 100%; text-align: center;
text-align: center; font-size: 12px;
font-size: 12px; color: #000000;
color: #000000; }
}
.groupTourOrder_remarks_popover>p {
.groupTourOrder_remarks_popover > p { margin: 5px 0 0 0;
margin: 5px 0 0 0; padding: 3px;
padding: 3px; width: 100%;
width: 100%; max-height: 300px;
max-height: 300px; overflow-y: auto;
overflow-y: auto; font-size: 12px;
font-size: 12px; color: #000000;
color: #000000; }
}
.groupTourOrder_remarks_popover>p:nth-child(even) {
.groupTourOrder_remarks_popover > p:nth-child(even) { background-color: #e6e6e6;
background-color: #e6e6e6; }
}
.groupTourOrder_remarks_popover>p>span:nth-child(1) {
.groupTourOrder_remarks_popover > p > span:nth-child(1) { float: left;
float: left; }
}
.groupTourOrder_remarks_popover>p>span:nth-child(2) {
.groupTourOrder_remarks_popover > p > span:nth-child(2) { margin: 0 10px 0 0;
margin: 0 10px 0 0; float: right;
float: right; }
}
.groupTourOrder_remarks_popover>p::after {
.groupTourOrder_remarks_popover > p::after { display: block;
display: block; clear: both;
clear: both; content: "";
content: ""; visibility: hidden;
visibility: hidden; height: 0;
height: 0; }
}
.groupTourOrder_tickets>div>span {
.groupTourOrder_tickets > div > span { margin: 0 5px 0 0;
margin: 0 5px 0 0; cursor: pointer;
cursor: pointer; }
}
.groupTourOrder_tickets_red {
.groupTourOrder_tickets_red { color: #ff0000;
color: #ff0000; cursor: pointer;
cursor: pointer; /* text-decoration: underline; */
/* text-decoration: underline; */ }
}
.groupTourOrder_tickets_blue {
.groupTourOrder_tickets_blue { color: #0000ff;
color: #0000ff; /* text-decoration: underline; */
/* text-decoration: underline; */ cursor: pointer;
cursor: pointer; }
}
.groupTourOrder_tickets_green {
.groupTourOrder_tickets_green { color: #008000;
color: #008000; cursor: pointer;
cursor: pointer; /* text-decoration: underline; */
/* text-decoration: underline; */ }
}
.groupTourOrder_tickets_black {
.groupTourOrder_tickets_black { color: #000000;
color: #000000; text-decoration: underline;
text-decoration: underline; }
}
.groupTourOrderByTuan_ico {
.groupTourOrderByTuan_ico { margin: 0 10px 0 0;
margin: 0 10px 0 0; }
}
.groupTourOrderByTuan_ico>i {
.groupTourOrderByTuan_ico > i { display: inline-block;
display: inline-block; margin: 0 2px 0 0;
margin: 0 2px 0 0; width: 8px;
width: 8px; height: 8px;
height: 8px; border-radius: 2px;
border-radius: 2px; vertical-align: middle;
vertical-align: middle; }
}
.groupTourOrderByTuan_ico>span {
.groupTourOrderByTuan_ico > span { vertical-align: middle;
vertical-align: middle; }
}
.color_red_order {
.color_red_order { color: #e95252 !important;
color: #e95252 !important; }
}
</style> </style>
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