Commit 3e92c419 authored by 黄奎's avatar 黄奎

1

parent c61b01ec
<template> <template>
<div class="flexOne groupts"> <div class="flexOne groupts">
<div class="enrollTotalSearch"> <div class="query-box">
<ul> <ul>
<li><span><em>{{$t('advmanager.v_line')}}</em> <li><span><em>{{$t('advmanager.v_line')}}</em>
<el-select class='w200' v-model="msg.LineId" filterable :placeholder="$t('pub.pleaseSel')"> <el-select class='w200' v-model="msg.LineId" filterable :placeholder="$t('pub.pleaseSel')">
...@@ -21,13 +21,13 @@ ...@@ -21,13 +21,13 @@
</li> </li>
<li> <li>
<span> <span>
<em>{{$t('fnc.bmxuanze')}}</em> <em>{{$t('fnc.bmxuanze')}}</em>
<el-select class="w200" filterable v-model='msg.RB_Department_Id'> <el-select class="w200" filterable v-model='msg.RB_Department_Id'>
<el-option :value="0" :label="$t('pub.unlimitedSel')"></el-option> <el-option :value="0" :label="$t('pub.unlimitedSel')"></el-option>
<el-option v-for='item in departmentList' :label='item.DepartmentName' :value='item.DepartmentID' <el-option v-for='item in departmentList' :label='item.DepartmentName' :value='item.DepartmentID'
:key='item.DepartmentID'> :key='item.DepartmentID'>
</el-option> </el-option>
</el-select> </el-select>
</span> </span>
</li> </li>
<li><span><em>{{$t('fnc.ctleixing')}}</em> <li><span><em>{{$t('fnc.ctleixing')}}</em>
...@@ -55,7 +55,7 @@ ...@@ -55,7 +55,7 @@
</li> </li>
<li> <li>
<span><em>{{$t('hotel.hotel_OrderStates')}}</em></span> <span><em>{{$t('hotel.hotel_OrderStates')}}</em></span>
<el-select v-model='msg.OrderState' filterable :placeholder="$t('pub.pleaseSel')" class='w200'> <el-select v-model='msg.OrderState' filterable :placeholder="$t('pub.pleaseSel')" class='w200'>
<el-option :label="$t('pub.unlimitedSel')" value='-1'></el-option> <el-option :label="$t('pub.unlimitedSel')" value='-1'></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-option>
...@@ -63,32 +63,37 @@ ...@@ -63,32 +63,37 @@
</li> </li>
<li> <li>
<span><em>{{$t('active.cl_orderType')}}</em></span> <span><em>{{$t('active.cl_orderType')}}</em></span>
<el-select v-model='msg.IsOneDay' filterable :placeholder="$t('pub.pleaseSel')" class='w200'> <el-select v-model='msg.IsOneDay' filterable :placeholder="$t('pub.pleaseSel')" class='w200'>
<el-option :label="$t('pub.unlimitedSel')" value='-1'></el-option> <el-option :label="$t('pub.unlimitedSel')" value='-1'></el-option>
<el-option :label="$t('salesModule.TourOrder')" :value='0'></el-option> <el-option :label="$t('salesModule.TourOrder')" :value='0'></el-option>
<el-option :label="$t('salesModule.OneDayOrder')" :value='1'></el-option> <el-option :label="$t('salesModule.OneDayOrder')" :value='1'></el-option>
</el-select> </el-select>
</li> </li>
<li><span><em>{{$t('ground.shousunShezhi')}}</em>
<el-select class='w200' v-model="msg.LossStatus" filterable :placeholder="$t('pub.pleaseSel')">
<el-option v-for="item in shouSunSelect" :key='item.Id' :label='item.label' :value='item.Id'></el-option>
</el-select>
</span>
</li>
<li><span><em>{{$t('scen.sc_ftTime')}}</em> <li><span><em>{{$t('scen.sc_ftTime')}}</em>
<el-date-picker v-model='msg.QStartDate' @change="dataDuiQ()" class='w135' value-format="yyyy-MM-dd" type="date"></el-date-picker> <el-date-picker v-model='msg.QStartDate' @change="dataDuiQ()" class='w135' value-format="yyyy-MM-dd"
type="date"></el-date-picker>
- -
<el-date-picker v-model='msg.QEndDate' @change="dataDuiQ()" class='w135' value-format="yyyy-MM-dd" type="date"></el-date-picker> <el-date-picker v-model='msg.QEndDate' @change="dataDuiQ()" class='w135' value-format="yyyy-MM-dd"
type="date"></el-date-picker>
</span> </span>
</li> </li>
<li><span><em>{{$t('fnc.bmriqi')}}</em> <li><span><em>{{$t('fnc.bmriqi')}}</em>
<el-date-picker v-model='msg.CStartDate' @change="dataDui()" class='w135' value-format="yyyy-MM-dd" type="date"></el-date-picker> <el-date-picker v-model='msg.CStartDate' @change="dataDui()" class='w135' value-format="yyyy-MM-dd"
type="date"></el-date-picker>
- -
<el-date-picker v-model='msg.CEndDate' @change="dataDui()" class='w135' value-format="yyyy-MM-dd" type="date"></el-date-picker> <el-date-picker v-model='msg.CEndDate' @change="dataDui()" class='w135' value-format="yyyy-MM-dd"
</span> type="date"></el-date-picker>
</li>
<li><span><em>{{$t('ground.shousunShezhi')}}</em>
<el-select class='w200' v-model="msg.LossStatus" filterable :placeholder="$t('pub.pleaseSel')">
<el-option v-for="item in shouSunSelect" :key='item.Id' :label='item.label' :value='item.Id'></el-option>
</el-select>
</span> </span>
</li> </li>
<li> <li>
<input type="button" class="hollowFixedBtn" :value="$t('pub.searchBtn')" @click="getList();resetPageIndex()" /> <input type="button" class="hollowFixedBtn" :value="$t('pub.searchBtn')"
@click="getList();resetPageIndex()" />
</li> </li>
</ul> </ul>
</div> </div>
...@@ -117,192 +122,216 @@ ...@@ -117,192 +122,216 @@
<td v-show="list.length==0" colspan="17" align="center">{{$t('system.content_noData')}}</td> <td v-show="list.length==0" colspan="17" align="center">{{$t('system.content_noData')}}</td>
</tr> </tr>
<tbody v-for="(item,index) in list" :key="index"> <tbody v-for="(item,index) in list" :key="index">
<tr> <tr>
<td rowspan="3"> <td rowspan="3">
<p v-if="item.isChargeLossOrders==1" style="color:red">{{$t('fnc.sun')}}</p> <p v-if="item.isChargeLossOrders==1" style="color:red">{{$t('fnc.sun')}}</p>
<p class="fbold over_ellipsis" style="width: 100%;cursor:pointer;" :title="item.orderId" @click="goUrlX('团报名清单', item.isOneDay === 1 ? 'groupTourOrderByTuanOne' : 'groupTourOrderByTuan',item.tcid,item.tcnum)">{{item.orderId}} <p class="fbold over_ellipsis" style="width: 100%;cursor:pointer;" :title="item.orderId"
<el-tooltip class="item" effect="dark" :content="$t('salesModule.ByProgram')" placement="top" v-show="item.orderForm==4"> <i class="iconfont icon-xiaochengxu" style="font-size:22px;color:red;"></i></el-tooltip> @click="goUrlX('团报名清单', item.isOneDay === 1 ? 'groupTourOrderByTuanOne' : 'groupTourOrderByTuan',item.tcid,item.tcnum)">
</p> {{item.orderId}}
<p class="fz12 over_ellipsis" style="width: 100%;text-decoration:underline;cursor:pointer;" :title="item.alName" <el-tooltip class="item" effect="dark" :content="$t('salesModule.ByProgram')" placement="top"
@click="goUrlX('产品查询', item.isOneDay === 1 ? 'productQueryOne' : 'productQuery',item.tcid,item.tcnum)">{{item.tcnum}}</p> v-show="item.orderForm==4"> <i class="iconfont icon-xiaochengxu" style="font-size:22px;color:red;"></i>
<p class="fz12 over_ellipsis" style="width: 100%;">{{item.createBy}}<span v-if="item.leaveStr!=''" style="color:red">({{item.leaveStr}})</span></p> </el-tooltip>
<p class="fz12 over_ellipsis" style="width: 100%;">{{item.commissionSPeopleName==$t('fnc.no')?'':item.commissionSPeopleName}}</p> </p>
<p>{{$t('hotel.hotel_StartTeam')}}{{item.startDate}}</p> <p class="fz12 over_ellipsis" style="width: 100%;text-decoration:underline;cursor:pointer;"
<p v-if="item.tradeWay ==1">{{item.platformOrder}}</p> :title="item.alName"
<p v-if='item.commissionMoney' style="color:red">{{$t('salesModule.CommissionNum')}}{{item.commissionMoney}} {{item.commissionCurrency}}</p> @click="goUrlX('产品查询', item.isOneDay === 1 ? 'productQueryOne' : 'productQuery',item.tcid,item.tcnum)">
<p v-else-if="item.latestCommissionMoney" style="color:red">{{$t('salesModule.CommissionNum')}}{{item.latestCommissionMoney}}</p> {{item.tcnum}}</p>
<div v-if="item.extraRewardMoney!=null&&item.extraRewardMoney>0">{{$t('ground.jiangljine')}}<span style="color:#e95252">{{item.extraRewardMoney}}</span></div> <p class="fz12 over_ellipsis" style="width: 100%;">{{item.createBy}}<span v-if="item.leaveStr!=''"
<div v-if="item.extraDeductMoney!=null&&item.extraDeductMoney>0">{{$t('ground.kouchujine')}}<span style="color:#e95252">{{item.extraDeductMoney}}</span></div> style="color:red">({{item.leaveStr}})</span></p>
</td> <p class="fz12 over_ellipsis" style="width: 100%;">
<td> {{item.commissionSPeopleName==$t('fnc.no')?'':item.commissionSPeopleName}}</p>
<p class="over_ellipsis" style="width: 150px;" :title="item.contactName">{{item.contactName}}</p> <p>{{$t('hotel.hotel_StartTeam')}}{{item.startDate}}</p>
<p>{{item.contactMobile}}</p> <p v-if="item.tradeWay ==1">{{item.platformOrder}}</p>
</td> <p v-if='item.commissionMoney' style="color:red">
<td> {{$t('salesModule.CommissionNum')}}{{item.commissionMoney}} {{item.commissionCurrency}}</p>
<p class="fz12 over_ellipsis" style="width: 100%;">{{item.orderTypeName}}</p> <p v-else-if="item.latestCommissionMoney" style="color:red">
</td> {{$t('salesModule.CommissionNum')}}{{item.latestCommissionMoney}}</p>
<td class="fz12"> <div v-if="item.extraRewardMoney!=null&&item.extraRewardMoney>0">{{$t('ground.jiangljine')}}<span
<p style="max-width: 160px;display: block;" class="over_ellipsis" :title="item.lineName"> style="color:#e95252">{{item.extraRewardMoney}}</span></div>
<span>{{item.lineName}}</span> <div v-if="item.extraDeductMoney!=null&&item.extraDeductMoney>0">{{$t('ground.kouchujine')}}<span
</p> style="color:#e95252">{{item.extraDeductMoney}}</span></div>
<p style="max-width: 160px;display: block;" class="over_ellipsis" :title="item.ltName">{{item.ltName}}</p> </td>
</td> <td>
<td> <p class="over_ellipsis" style="width: 150px;" :title="item.contactName">{{item.contactName}}</p>
{{item.guestNum}}/{{item.ySeatNum>0? item.ySeatNum+'Y ':''}}{{item.eSeatNum>0? item.eSeatNum+'E ':''}}{{item.fSeatNum>0? item.fSeatNum+'F ':''}} <p>{{item.contactMobile}}</p>
<br/> </td>
<span v-if="item.refuseVisaNum>0" style="color:red"> <td>
({{$t('salesModule.RefuseQ')}}{{item.refuseVisaNum}}{{$t('hotel.hotel_people')}}) <p class="fz12 over_ellipsis" style="width: 100%;">{{item.orderTypeName}}</p>
</span> </td>
</td> <td class="fz12">
<td style="color:#FF9C00">{{item.tC_Price}}</td> <p style="max-width: 160px;display: block;" class="over_ellipsis" :title="item.lineName">
<td style="color:#FF9C00">{{item.unit_Price}}</td> <span>{{item.lineName}}</span>
<td> </p>
<p style="color:#FF9C00">{{item.preferPrice}}</p> <p style="max-width: 160px;display: block;" class="over_ellipsis" :title="item.ltName">{{item.ltName}}</p>
</td> </td>
<td>
{{item.guestNum}}/{{item.ySeatNum>0? item.ySeatNum+'Y ':''}}{{item.eSeatNum>0? item.eSeatNum+'E ':''}}{{item.fSeatNum>0? item.fSeatNum+'F ':''}}
<td> <br />
<span v-if='item.isEnd==0' style="cursor: pointer;">{{item.income}}</span> <span v-if="item.refuseVisaNum>0" style="color:red">
<span v-if='item.isEnd!=0' style="cursor: pointer;color: #e95252;">{{item.income}}</span> ({{$t('salesModule.RefuseQ')}}{{item.refuseVisaNum}}{{$t('hotel.hotel_people')}})
</td> </span>
<!-- 优惠 --> </td>
<td> <td style="color:#FF9C00">{{item.tC_Price}}</td>
<el-popover style='padding: 0;' width="600" trigger="click"> <td style="color:#FF9C00">{{item.unit_Price}}</td>
<div class="personNolayer"> <td>
<table border="0" cellspacing="1" cellpadding="1"> <p style="color:#FF9C00">{{item.preferPrice}}</p>
<tr> </td>
<th>{{$t('active.cl_couponName')}}</th>
<th>{{$t('active.cl_couponType')}}</th>
<th>{{$t('active.cl_dkjezk')}}</th> <td>
<th>{{$t('active.cl_sytiaojian')}}</th> <span v-if='item.isEnd==0' style="cursor: pointer;">{{item.income}}</span>
<th>{{$t('active.cl_huoqufangshi')}}</th> <span v-if='item.isEnd!=0' style="cursor: pointer;color: #e95252;">{{item.income}}</span>
<th>{{$t('active.cl_hqriqi')}}</th> </td>
</tr> <!-- 优惠 -->
<tr v-if='item.couponAllotList.length>0' v-for="(item2,index2) in item.couponAllotList" :key="index2"> <td>
<td>{{item2.couponsName}}</td> <el-popover style='padding: 0;' width="600" trigger="click">
<td> <div class="personNolayer">
<span v-if="item2.couponsType==1">{{$t('active.cl_dyquan')}}</span> <table border="0" cellspacing="1" cellpadding="1">
<span v-if="item2.couponsType==2">{{$t('active.cl_zkquan')}}</span> <tr>
</td> <th>{{$t('active.cl_couponName')}}</th>
<td>{{item2.denomination}}</td> <th>{{$t('active.cl_couponType')}}</th>
<td>{{$t('active.cl_man')}}{{item2.useCondition}}{{$t('active.cl_keyong')}}</td> <th>{{$t('active.cl_dkjezk')}}</th>
<td> <th>{{$t('active.cl_sytiaojian')}}</th>
<span v-if="item2.accessType==1">{{$t('active.cl_choujiang')}}</span> <th>{{$t('active.cl_huoqufangshi')}}</th>
<span v-else></span> <th>{{$t('active.cl_hqriqi')}}</th>
</td> </tr>
<td>{{item2.acessDate}}</td> <tr v-if='item.couponAllotList.length>0' v-for="(item2,index2) in item.couponAllotList" :key="index2">
</tr> <td>{{item2.couponsName}}</td>
<tr v-if='item.couponAllotList.length==0'> <td>
<td colspan="6" align="center">{{$t('system.content_noData')}}</td> <span v-if="item2.couponsType==1">{{$t('active.cl_dyquan')}}</span>
</tr> <span v-if="item2.couponsType==2">{{$t('active.cl_zkquan')}}</span>
</table> </td>
</div> <td>{{item2.denomination}}</td>
<span style="cursor: pointer;color: #e95252;" slot="reference">{{moneyFormat(item.discountMoney)}}</span> <td>{{$t('active.cl_man')}}{{item2.useCondition}}{{$t('active.cl_keyong')}}</td>
</el-popover> <td>
</td> <span v-if="item2.accessType==1">{{$t('active.cl_choujiang')}}</span>
<td v-if="item.tipMoney">{{item.tipMoney}}</td> <span v-else></span>
<td v-else>0.00</td> </td>
<td>{{item.refund}}</td> <td>{{item2.acessDate}}</td>
<td>{{item.platformTax}}</td> </tr>
<td>{{item.zaiTuMoney}}</td> <tr v-if='item.couponAllotList.length==0'>
<td><span :class="{color_red_order:item.dueInMoney!==item.preferPrice}">{{item.dueInMoney}}</span></td> <td colspan="6" align="center">{{$t('system.content_noData')}}</td>
<td v-if="item.isChargeLossOrders==1" class="fz12" style="color: #e95252">{{$t('fnc.shousun')}}</td> </tr>
<td v-else class="fz12" :style="item.orderState===3?'color: #e95252;':''">{{item.statsstr}}</td> </table>
<td> </div>
<button class="normalBtn" @click="shousunDialog=true,SetShouSunClick(item.orderId)" style="width:95px;padding:0">{{$t('ground.shezhissje')}}</button> <span style="cursor: pointer;color: #e95252;" slot="reference">{{moneyFormat(item.discountMoney)}}</span>
</td> </el-popover>
</tr> </td>
<tr style="height:20px"> <td v-if="item.tipMoney">{{item.tipMoney}}</td>
<td colspan="16" class="RL_Order" style="height:20px"> <td v-else>0.00</td>
<span style="font-size: 14px;color: #333333">{{$t('salesModule.MD')}}:</span> <td>{{item.refund}}</td>
<span v-for="(childItem) in item.guestList" style="font-size: 14px;color: blue">{{childItem.userName}}&nbsp;&nbsp;</span> <td>{{item.platformTax}}</td>
<!-- <span v-else>{{$t('salesModule.ZWMD')}}</span>--> <td>{{item.zaiTuMoney}}</td>
<span style="display: block;font-size: 14px;color: #333333">{{$t('salesModule.RoomInfo')}}:{{item.orderGuestHouseStr}}</span> <td><span :class="{color_red_order:item.dueInMoney!==item.preferPrice}">{{item.dueInMoney}}</span></td>
</td> <td v-if="item.isChargeLossOrders==1" class="fz12" style="color: #e95252">{{$t('fnc.shousun')}}</td>
</tr> <td v-else class="fz12" :style="item.orderState===3?'color: #e95252;':''">{{item.statsstr}}</td>
<tr> <td>
<td colspan="3" class="groupTourOrder_remarks" style="height: 40px;"> <button class="normalBtn" @click="shousunDialog=true,SetShouSunClick(item.orderId)"
<div> style="width:95px;padding:0">{{$t('ground.shezhissje')}}</button>
<div><span>{{$t('pub.pubRemark')}}:</span> </td>
<span v-if="item.tsIdList.length>0">{{$t('salesModule.ComplaintNum')}}: </tr>
<a class="underline" v-for="ts in item.tsIdList" href="javascript:void(0);" @click="goUrlTS('ComplaintsDetail',ts,item.orderId,'投诉详情')">{{ts}} </a> ; <tr style="height:20px">
</span> <td colspan="16" class="RL_Order" style="height:20px">
<p><span v-if='item.clientSource==1&&item.brandName!=""'>{{item.brandName}}{{$t('fnc.dingdan')}} {{item.platformOrder}};</span>{{item.remarks}}</p> <span style="font-size: 14px;color: #333333">{{$t('salesModule.MD')}}:</span>
</div> <span v-for="(childItem) in item.guestList"
style="font-size: 14px;color: blue">{{childItem.userName}}&nbsp;&nbsp;</span>
<!-- <span v-else>{{$t('salesModule.ZWMD')}}</span>-->
<span
style="display: block;font-size: 14px;color: #333333">{{$t('salesModule.RoomInfo')}}:{{item.orderGuestHouseStr}}</span>
</td>
</tr>
<tr>
<td colspan="3" class="groupTourOrder_remarks" style="height: 40px;">
<div> <div>
<span>{{item.remarksName}}&ensp;{{item.rematksTime}}</span> <div><span>{{$t('pub.pubRemark')}}:</span>
<el-popover width="600" placement="bottom-end" trigger="click"> <span v-if="item.tsIdList.length>0">{{$t('salesModule.ComplaintNum')}}:
<div class="groupTourOrder_remarks_popover"> <a class="underline" v-for="ts in item.tsIdList" href="javascript:void(0);"
<div>{{$t('fnc.lsbeizhu')}}</div> @click="goUrlTS('ComplaintsDetail',ts,item.orderId,'投诉详情')">{{ts}} </a> ;
<p v-if="item.remarksList.length !== 0" v-for="(item2, index2) in item.remarksList" :key="index2"> </span>
<span>{{item2.remarks}}</span> <p><span v-if='item.clientSource==1&&item.brandName!=""'>{{item.brandName}}{{$t('fnc.dingdan')}}
<span>{{item2.createByName}} <span style="color: #666666;">{{item2.createDate}}</span></span> {{item.platformOrder}};</span>{{item.remarks}}</p>
</p> </div>
<span v-if="item.remarksList.length === 0">{{$t('system.content_noData')}}</span> <div>
</div> <span>{{item.remarksName}}&ensp;{{item.rematksTime}}</span>
<el-button slot="reference" icon="iconfont icon-gengduo" style="padding:0px;border:none;background-color:transparent;" <el-popover width="600" placement="bottom-end" trigger="click">
class="groupTourOrder_remarks_btn"></el-button> <div class="groupTourOrder_remarks_popover">
</el-popover> <div>{{$t('fnc.lsbeizhu')}}</div>
<p v-if="item.remarksList.length !== 0" v-for="(item2, index2) in item.remarksList" :key="index2">
<span>{{item2.remarks}}</span>
<span>{{item2.createByName}} <span style="color: #666666;">{{item2.createDate}}</span></span>
</p>
<span v-if="item.remarksList.length === 0">{{$t('system.content_noData')}}</span>
</div>
<el-button slot="reference" icon="iconfont icon-gengduo"
style="padding:0px;border:none;background-color:transparent;" class="groupTourOrder_remarks_btn">
</el-button>
</el-popover>
</div>
</div> </div>
</div> </td>
</td> <td colspan="4" class="groupTourOrder_remarks" style="height: 40px;">
<td colspan="4" class="groupTourOrder_remarks" style="height: 40px;">
<div>
<div> <div>
<span>{{$t('Operation.Op_remark')}}:</span> <div>
<p>{{item.oP_Remarks ? item.oP_Remarks : $t('fnc.no')}}</p> <span>{{$t('Operation.Op_remark')}}:</span>
<p>{{item.oP_Remarks ? item.oP_Remarks : $t('fnc.no')}}</p>
</div>
</div> </div>
</div> </td>
</td> <td colspan="9" class="groupTourOrder_tickets" style="height: 40px;cursor: pointer;">
<td colspan="9" class="groupTourOrder_tickets" style="height: 40px;cursor: pointer;"> <div @click="goUrlSFD('SalesFinancialDetail', '销售财务单据', item)">
<div @click="goUrlSFD('SalesFinancialDetail', '销售财务单据', item)"> <div>{{$t('fnc.skdanju')}}</div>
<div>{{$t('fnc.skdanju')}}</div> <div>
<div>
<span v-for="(item2,index2) in item.financeList" :key="index2"> <span v-for="(item2,index2) in item.financeList" :key="index2">
<span v-if="item2.colorState===1" class="groupTourOrder_tickets_blue">{{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===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===3" class="groupTourOrder_tickets_red">{{item2.frID}}</span>
<span v-else-if="item2.colorState===4" class="groupTourOrder_tickets_black">{{item2.frID}}</span> <span v-else-if="item2.colorState===4" class="groupTourOrder_tickets_black">{{item2.frID}}</span>
</span> </span>
<span v-if="item.financeList.length===0" style="cursor: default;">{{$t('system.content_noData')}}</span> <span v-if="item.financeList.length===0" style="cursor: default;">{{$t('system.content_noData')}}</span>
</div>
</div> </div>
</div> <div @click="goUrlSFD('SalesFinancialDetail', '销售财务单据', item)">
<div @click="goUrlSFD('SalesFinancialDetail', '销售财务单据', item)"> <div>{{$t('fnc.fkdanju')}}</div>
<div>{{$t('fnc.fkdanju')}}</div> <div>
<div>
<span v-for="(item2,index2) in item.refundFinanceList" :key="index2"> <span v-for="(item2,index2) in item.refundFinanceList" :key="index2">
<span v-if="item2.colorState===1" class="groupTourOrder_tickets_blue">{{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===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===3" class="groupTourOrder_tickets_red">{{item2.frID}}</span>
<span v-else-if="item2.colorState===4" class="groupTourOrder_tickets_black">{{item2.frID}}</span> <span v-else-if="item2.colorState===4" class="groupTourOrder_tickets_black">{{item2.frID}}</span>
</span> </span>
<span v-if="item.financeList.length===0" style="cursor: default;">{{$t('system.content_noData')}}</span> <span v-if="item.financeList.length===0" style="cursor: default;">{{$t('system.content_noData')}}</span>
</div>
</div> </div>
</div>
<div>
<div>{{$t('salesModule.Invoice')}}</div>
<div> <div>
<div>{{$t('salesModule.Invoice')}}</div>
<div>
<span v-for="(item2,index2) in item.invoiceApplyList" :key="index2"> <span v-for="(item2,index2) in item.invoiceApplyList" :key="index2">
<span v-if="item2.invoiceApplyState === 6" class="groupTourOrder_tickets_blue" @click="goIisDetail(item2.id)">{{item2.id}}</span> <span v-if="item2.invoiceApplyState === 6" class="groupTourOrder_tickets_blue"
<span v-else-if="item2.invoiceApplyState === 1 || item2.invoiceApplyState === 3 || item2.invoiceApplyState === 6" class="groupTourOrder_tickets_green" @click="goIisDetail(item2.id)">{{item2.id}}</span> @click="goIisDetail(item2.id)">{{item2.id}}</span>
<span v-else-if="item2.invoiceApplyState === 5 || item2.invoiceApplyState === 4 " class="groupTourOrder_tickets_red" @click="goIisDetail(item2.id)">{{item2.id}}</span> <span
<span v-else-if="item2.invoiceApplyState === 2" class="groupTourOrder_tickets_black" @click="goIisDetail(item2.id)">{{item2.id}}</span> v-else-if="item2.invoiceApplyState === 1 || item2.invoiceApplyState === 3 || item2.invoiceApplyState === 6"
class="groupTourOrder_tickets_green" @click="goIisDetail(item2.id)">{{item2.id}}</span>
<span v-else-if="item2.invoiceApplyState === 5 || item2.invoiceApplyState === 4 "
class="groupTourOrder_tickets_red" @click="goIisDetail(item2.id)">{{item2.id}}</span>
<span v-else-if="item2.invoiceApplyState === 2" class="groupTourOrder_tickets_black"
@click="goIisDetail(item2.id)">{{item2.id}}</span>
</span> </span>
<span v-if="item.invoiceApplyList.length===0" style="cursor: default;">{{$t('system.content_noData')}}</span> <span v-if="item.invoiceApplyList.length===0"
style="cursor: default;">{{$t('system.content_noData')}}</span>
</div>
</div> </div>
</div> </td>
</td> </tr>
</tr>
</tbody> </tbody>
</table> </table>
<el-pagination background @current-change="handleCurrentChange" :current-page.sync="currentPage" layout="total,prev, pager, next, jumper" <el-pagination background @current-change="handleCurrentChange" :current-page.sync="currentPage"
:page-size=msg.pageSize :total=total></el-pagination> 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 @closeUpdiv="closeSalseDiv" @getList="getList" :subInfo="subInfo"></updateSalesMan> <updateSalesMan @closeUpdiv="closeSalseDiv" @getList="getList" :subInfo="subInfo"></updateSalesMan>
</div> </div>
<el-dialog custom-class='w600' :title="$t('ground.xgddssje')" :visible.sync="shousunDialog" center> <el-dialog custom-class='w600' :title="$t('ground.xgddssje')" :visible.sync="shousunDialog" center>
<commonShouSun ref="childShou" :Type="3" @closeShouSun="closeShouSunDialog" @getList="getList"></commonShouSun> <commonShouSun ref="childShou" :Type="3" @closeShouSun="closeShouSunDialog" @getList="getList"></commonShouSun>
</el-dialog> </el-dialog>
</div> </div>
...@@ -335,7 +364,7 @@ ...@@ -335,7 +364,7 @@
currentPage: 1, currentPage: 1,
total: 0, total: 0,
loading: false, loading: false,
shousunDialog:false, shousunDialog: false,
msg: { msg: {
LineId: "-1", LineId: "-1",
RB_Department_Id: null, RB_Department_Id: null,
...@@ -351,22 +380,22 @@ ...@@ -351,22 +380,22 @@
SellFormEmp: 0, SellFormEmp: 0,
GroupType: '-1', GroupType: '-1',
TCNUM: '', TCNUM: '',
BranchId:'-1', BranchId: '-1',
IsOneDay: '-1', IsOneDay: '-1',
IsLeaderOrder:1, IsLeaderOrder: 1,
LossType:2, LossType: 2,
LossStatus:2 LossStatus: 2
}, },
//收损设置下拉 //收损设置下拉
shouSunSelect:[{ shouSunSelect: [{
Id:0, Id: 0,
label: this.$t('pub.unlimitedSel') label: this.$t('pub.unlimitedSel')
},{ }, {
Id:1, Id: 1,
label: this.$t('ground.yshezhi') label: this.$t('ground.yshezhi')
},{ }, {
Id:2, Id: 2,
label: this.$t('ground.weishezhi') label: this.$t('ground.weishezhi')
}], }],
employeeMsg: { employeeMsg: {
RB_Group_id: "0", RB_Group_id: "0",
...@@ -410,13 +439,13 @@ ...@@ -410,13 +439,13 @@
B2BNum: 0 B2BNum: 0
}, },
ctlxList: [], ctlxList: [],
showChangeSales:false, showChangeSales: false,
//订单编号及业务员信息 //订单编号及业务员信息
subInfo:{ subInfo: {
CreateBy:'', CreateBy: '',
OrderId:0 OrderId: 0
}, },
userId:0, userId: 0,
getDepartmentMsg: { // 部门 getDepartmentMsg: { // 部门
RB_Group_Id: '', RB_Group_Id: '',
RB_Branch_Id: '', RB_Branch_Id: '',
...@@ -427,18 +456,18 @@ ...@@ -427,18 +456,18 @@
}; };
}, },
methods: { methods: {
closeShouSunDialog(){ closeShouSunDialog() {
this.shousunDialog=false; this.shousunDialog = false;
}, },
//点击设置收损 //点击设置收损
SetShouSunClick(OrderId){ SetShouSunClick(OrderId) {
this.shousunDialog=true; this.shousunDialog = true;
this.$nextTick(()=>{ this.$nextTick(() => {
this.$refs.childShou.getShouSunList(OrderId); this.$refs.childShou.getShouSunList(OrderId);
}) })
}, },
//跳转 //跳转
goUrlTS (path, id, orderId, title) { goUrlTS(path, id, orderId, title) {
this.$router.push({ this.$router.push({
name: path, name: path,
query: { query: {
...@@ -462,7 +491,11 @@ ...@@ -462,7 +491,11 @@
obj.description = [] obj.description = []
this.$router.push({ this.$router.push({
name: path, name: path,
query: { blank: 'y', tab: name, item: JSON.stringify(obj)} query: {
blank: 'y',
tab: name,
item: JSON.stringify(obj)
}
}); });
}, },
// 结束日期不能大于开始日期 // 结束日期不能大于开始日期
...@@ -587,19 +620,23 @@ ...@@ -587,19 +620,23 @@
}, err => {}) }, err => {})
}, },
//点击修改业务员 //点击修改业务员
getSalerInfo(item){ getSalerInfo(item) {
this.subInfo.CreateBy = item.createBy; this.subInfo.CreateBy = item.createBy;
this.subInfo.OrderId = item.orderId; this.subInfo.OrderId = item.orderId;
this.showChangeSales = true; this.showChangeSales = true;
}, },
//关闭修改业务员 //关闭修改业务员
closeSalseDiv(){ closeSalseDiv() {
this.showChangeSales=false; this.showChangeSales = false;
}, },
goIisDetail: function (id) { // 跳转发票详情页面 goIisDetail: function (id) { // 跳转发票详情页面
this.$router.push({ this.$router.push({
name: 'invoicesManagerDetail', name: 'invoicesManagerDetail',
query: { id: id,noDetail: 1,blank: "y",} query: {
id: id,
noDetail: 1,
blank: "y",
}
}); });
}, },
}, },
...@@ -629,18 +666,19 @@ ...@@ -629,18 +666,19 @@
this.getList(); this.getList();
} }
}; };
</script> </script>
<style> <style>
.groupts .underline{ .groupts .underline {
text-decoration: underline; text-decoration: underline;
margin: 5px; margin: 5px;
text-align: center; text-align: center;
} }
.color_red_order{
.color_red_order {
color: #e95252 !important; color: #e95252 !important;
} }
.enrollTotalSearch { .enrollTotalSearch {
width: 100%; width: 100%;
min-height: auto; min-height: auto;
...@@ -710,12 +748,15 @@ ...@@ -710,12 +748,15 @@
background: #fff; background: #fff;
text-align: left; text-align: left;
} }
.enrollTotalSearchTable tbody tr:last-child { .enrollTotalSearchTable tbody tr:last-child {
border-bottom: 2px solid #333; border-bottom: 2px solid #333;
} }
.enrollTotalSearchTable tr:first-child td:first-child { .enrollTotalSearchTable tr:first-child td:first-child {
border-bottom: 2px solid #333; border-bottom: 2px solid #333;
} }
.enrollTotalSearchTable tr td { .enrollTotalSearchTable tr td {
height: 80px; height: 80px;
padding: 10px; padding: 10px;
...@@ -927,5 +968,4 @@ ...@@ -927,5 +968,4 @@
display: inline-block; display: inline-block;
margin: 0 10px 0 0; margin: 0 10px 0 0;
} }
</style>
</style> \ No newline at end of file
...@@ -836,6 +836,7 @@ ...@@ -836,6 +836,7 @@
downloadFile(fileUrl, fileName) { downloadFile(fileUrl, fileName) {
const link = document.createElement('a'); const link = document.createElement('a');
link.href = fileUrl; link.href = fileUrl;
link.target="_blank";
link.download = fileName; link.download = fileName;
document.body.appendChild(link); document.body.appendChild(link);
link.click(); link.click();
......
...@@ -587,8 +587,8 @@ ...@@ -587,8 +587,8 @@
</p> </p>
</template> </template>
<template> <template>
<el-button type="primary" class="normalBtn" style="float:right;margin-right:40px;" <el-button type="primary" class="normalBtn" style="float:right;margin-right:40px;" :loading="downLoadloading"
:loading="importOfferLoading" @click="downLoadOffer(postConfig)">{{$t('objFill.xiazaxtbjd')}} @click="downLoadOffer(postConfig)">{{$t('objFill.xiazaxtbjd')}}
</el-button> </el-button>
</template> </template>
</td> </td>
...@@ -620,6 +620,7 @@ ...@@ -620,6 +620,7 @@
AduitMsg: { AduitMsg: {
}, },
downLoadloading: false,
} }
}, },
methods: { methods: {
...@@ -682,6 +683,7 @@ ...@@ -682,6 +683,7 @@
const link = document.createElement('a'); const link = document.createElement('a');
link.href = fileUrl; link.href = fileUrl;
link.download = fileName; link.download = fileName;
link.target = "_blank";
document.body.appendChild(link); document.body.appendChild(link);
link.click(); link.click();
}, },
...@@ -701,9 +703,9 @@ ...@@ -701,9 +703,9 @@
} }
} }
fileName += ".xls" fileName += ".xls"
this.loading = true; this.downLoadloading = true;
this.GetLocalFile("quotation_get_DownLoadQuotation", downMsg, fileName, res => { this.GetLocalFile("quotation_get_DownLoadQuotation", downMsg, fileName, res => {
this.loading = false; this.downLoadloading = false;
}); });
}, },
//调用父组件方法 //调用父组件方法
......
...@@ -39,8 +39,9 @@ ...@@ -39,8 +39,9 @@
<span> <span>
<em>{{$t('objFill.v101.dmc.chutrq')}}</em> <em>{{$t('objFill.v101.dmc.chutrq')}}</em>
<el-date-picker style="width: 300px;" v-model="StartTime" format='yyyy-MM-dd' value-format="yyyy-MM-dd" <el-date-picker style="width: 300px;" v-model="StartTime" format='yyyy-MM-dd' value-format="yyyy-MM-dd"
size="small" type="daterange" :range-separator="$t('OrderList.zhi')" :start-placeholder="$t('OrderList.star')" :end-placeholder="$t('OrderList.end')" size="small" type="daterange" :range-separator="$t('OrderList.zhi')"
@change="getStartTime" clearable> :start-placeholder="$t('OrderList.star')" :end-placeholder="$t('OrderList.end')" @change="getStartTime"
clearable>
</el-date-picker> </el-date-picker>
</span> </span>
</li> </li>
...@@ -58,21 +59,23 @@ ...@@ -58,21 +59,23 @@
@click="goTravel(scope.row)">{{scope.row.TCNUM}}({{scope.row.TCID}})</span> @click="goTravel(scope.row)">{{scope.row.TCNUM}}({{scope.row.TCID}})</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="StartDate" :label="$t('hotel.hotel_StarDate')" width="120" show-overflow-tooltip></el-table-column> <el-table-column prop="StartDate" :label="$t('hotel.hotel_StarDate')" width="120" show-overflow-tooltip>
</el-table-column>
<el-table-column prop="LtName" :label="$t('advmanager.v_xilie')" width="200" show-overflow-tooltip> <el-table-column prop="LtName" :label="$t('advmanager.v_xilie')" width="200" show-overflow-tooltip>
<template slot-scope="scope"> <template slot-scope="scope">
{{scope.row.LineName}}</br> {{scope.row.LineName}}<br />
{{scope.row.LtName}} {{scope.row.LtName}}
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="Title" :label="$t('Operation.Op_TeamName')" width="200" show-overflow-tooltip></el-table-column> <el-table-column prop="Title" :label="$t('Operation.Op_TeamName')" width="200" show-overflow-tooltip>
</el-table-column>
<el-table-column prop="" :label="$t('visaT.Applicant')+'/'+$t('objFill.shengqirq')" width="200"> <el-table-column prop="" :label="$t('visaT.Applicant')+'/'+$t('objFill.shengqirq')" width="200">
<template slot-scope="scope"> <template slot-scope="scope">
<p> {{scope.row.BranchApplyName}}</p> <p> {{scope.row.BranchApplyName}}</p>
<p> {{scope.row.BranchApplyTime}}</p> <p> {{scope.row.BranchApplyTime}}</p>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="OPName" :label="$t('objFill.shengqyy')" show-overflow-tooltip> <el-table-column prop="OPName" :label="$t('objFill.v101.dmc.shengqyy')" show-overflow-tooltip>
<template slot-scope="scope"> <template slot-scope="scope">
{{scope.row.BranchApplyResion}} {{scope.row.BranchApplyResion}}
</template> </template>
...@@ -94,10 +97,12 @@ ...@@ -94,10 +97,12 @@
<el-table-column prop="" :label="$t('system.table_operation')" width="150"> <el-table-column prop="" :label="$t('system.table_operation')" width="150">
<template slot-scope="scope"> <template slot-scope="scope">
<div class="_icon_btn"> <div class="_icon_btn">
<el-tooltip class="item" effect="dark" :content="$t('fnc.shenhe')" placement="top" v-if="scope.row.BranchAuditState==1"> <el-tooltip class="item" effect="dark" :content="$t('fnc.shenhe')" placement="top"
v-if="scope.row.BranchAuditState==1">
<i v-loading="loading" class="iconfont icon-ico_commodity_defaul" @click="shenhei(scope.row)"></i> <i v-loading="loading" class="iconfont icon-ico_commodity_defaul" @click="shenhei(scope.row)"></i>
</el-tooltip> </el-tooltip>
<el-tooltip class="item" effect="dark" :content="$t('fnc.bohui')" placement="top" v-if="scope.row.BranchAuditState==1"> <el-tooltip class="item" effect="dark" :content="$t('fnc.bohui')" placement="top"
v-if="scope.row.BranchAuditState==1">
<i class="iconfont icon-shenhebohui" @click="bohui(scope.row)"></i> <i class="iconfont icon-shenhebohui" @click="bohui(scope.row)"></i>
</el-tooltip> </el-tooltip>
</div> </div>
...@@ -105,20 +110,22 @@ ...@@ -105,20 +110,22 @@
</el-table-column> </el-table-column>
</el-table> </el-table>
<div style="width: 100%;"> <div style="width: 100%;">
<el-pagination background @current-change="handleCurrentChange" <el-pagination background @current-change="handleCurrentChange" :current-page.sync="msg.pageIndex"
:current-page.sync="msg.pageIndex" layout="total,prev, pager, next, jumper" layout="total,prev, pager, next, jumper" :page-size="msg.pageSize" :total="total">
:page-size="msg.pageSize" :total="total">
</el-pagination> </el-pagination>
</div> </div>
<el-dialog custom-class="w600" :title="$t('objFill.bohuiyy')" :visible.sync="cancelOrderDialog"> <el-dialog custom-class="w600" :title="$t('objFill.bohuiyy')" :visible.sync="cancelOrderDialog">
<div style="padding-bottom:20px"> <div style="padding-bottom:20px">
<el-input type="textarea" autofocus rows="5" :placeholder="$t('objFill.v101.dmc.qingtxbtyy')" clear="w300" v-model="cancelRemark"> <el-input type="textarea" autofocus rows="5" :placeholder="$t('objFill.v101.dmc.qingtxbtyy')" clear="w300"
v-model="cancelRemark">
</el-input> </el-input>
<el-row :gutter="20" style="margin-top: 20px;"> <el-row :gutter="20" style="margin-top: 20px;">
<el-col :span="24" style="text-align: right;"> <el-col :span="24" style="text-align: right;">
<el-button class="normalBtn" value="" @click="cancelOrderHandler" :loading="loading">{{$t('objFill.v101.dmc.quedinbh')}}</el-button> <el-button class="normalBtn" value="" @click="cancelOrderHandler" :loading="loading">
<el-button class="hollowFixedBtn" @click="cancelOrderDialog = false,cancelRemark=''">{{$t('pub.closeSel')}}</el-button> {{$t('objFill.v101.dmc.quedinbh')}}</el-button>
<el-button class="hollowFixedBtn" @click="cancelOrderDialog = false,cancelRemark=''">{{$t('pub.closeSel')}}
</el-button>
</el-col> </el-col>
</el-row> </el-row>
</div> </div>
...@@ -353,7 +360,6 @@ ...@@ -353,7 +360,6 @@
} }
} }
} }
</script> </script>
<style scoped> <style scoped>
.groupApproval .singeRowTable { .groupApproval .singeRowTable {
...@@ -424,5 +430,4 @@ ...@@ -424,5 +430,4 @@
._icon_btn i.icon-mingxi { ._icon_btn i.icon-mingxi {
background-color: rgb(71, 191, 140) background-color: rgb(71, 191, 140)
} }
</style>
</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