Commit 54f71926 authored by 黄媛媛's avatar 黄媛媛
parents 3aca600f 85baba52
...@@ -3,15 +3,25 @@ ...@@ -3,15 +3,25 @@
<div class="enrollTotalSearch"> <div class="enrollTotalSearch">
<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')"
@change="getLineTeamList(msg.LineId)">
<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 LineList" :label='item.LineName' :value='item.LineID' :key='item.LineID'> <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>
</li> </li>
<li><span><em>{{$t('advmanager.v_xilie')}}</em>
<el-select class='w200' v-model="msg.LineteamId" filterable :placeholder="$t('pub.pleaseSel')">
<el-option :label="$t('pub.unlimitedSel')" :value='0'></el-option>
<el-option v-for="item in LineTeamList" :label='item.LtName' :value='item.LtID' :key='item.LtID'>
</el-option>
</el-select>
</span>
</li>
<li><span><em>{{$t('system.table_company')}}</em> <li><span><em>{{$t('system.table_company')}}</em>
<el-select class='w200' v-model="msg.BranchId" filterable :placeholder="$t('pub.pleaseSel')" @change='linkageDepartment()'> <el-select class='w200' v-model="msg.BranchId" filterable :placeholder="$t('pub.pleaseSel')"
@change='linkageDepartment()'>
<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 companyList" :label='item.BName' :value='item.Id' :key='item.Id'> <el-option v-for="item in companyList" :label='item.BName' :value='item.Id' :key='item.Id'>
</el-option> </el-option>
...@@ -20,8 +30,8 @@ ...@@ -20,8 +30,8 @@
</li> </li>
<li v-show="!isOwn"> <li v-show="!isOwn">
<span><em class="fl" style="margin-top: 10px!important;">{{$t('fnc.bmxuanze')}}</em> <span><em class="fl" style="margin-top: 10px!important;">{{$t('fnc.bmxuanze')}}</em>
<treeselect class='w200 fl' :options="departmentList" v-model="msg.RB_Department_Id" :label="$t('pub.unlimitedSel')" <treeselect class='w200 fl' :options="departmentList" v-model="msg.RB_Department_Id"
:normalizer="normalizer" @select='linkageEmployeeMsg' /> :label="$t('pub.unlimitedSel')" :normalizer="normalizer" @select='linkageEmployeeMsg' />
</span> </span>
</li> </li>
<li><span><em>{{$t('fnc.ctleixing')}}</em> <li><span><em>{{$t('fnc.ctleixing')}}</em>
...@@ -49,7 +59,8 @@ ...@@ -49,7 +59,8 @@
</li> </li>
<li> <li>
<span><em>{{$t('hotel.hotel_OrderStates')}}</em></span> <span><em>{{$t('hotel.hotel_OrderStates')}}</em></span>
<el-select class='w200' v-model='msg.OrderState' filterable :placeholder="$t('pub.pleaseSel')" style="width:180px"> <el-select class='w200' v-model='msg.OrderState' filterable :placeholder="$t('pub.pleaseSel')"
style="width:180px">
<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>
...@@ -57,7 +68,8 @@ ...@@ -57,7 +68,8 @@
</li> </li>
<li> <li>
<span><em>{{$t('active.cl_orderType')}}</em></span> <span><em>{{$t('active.cl_orderType')}}</em></span>
<el-select class='w200' v-model='msg.IsOneDay' filterable :placeholder="$t('pub.pleaseSel')" style="width:180px"> <el-select class='w200' v-model='msg.IsOneDay' filterable :placeholder="$t('pub.pleaseSel')"
style="width:180px">
<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>
...@@ -65,7 +77,8 @@ ...@@ -65,7 +77,8 @@
</li> </li>
<li> <li>
<span><em>{{$t('salesModule.PaymentStatus')}}</em></span> <span><em>{{$t('salesModule.PaymentStatus')}}</em></span>
<el-select class='w200' v-model='msg.IsCollectMoney' filterable :placeholder="$t('pub.pleaseSel')" style="width:180px"> <el-select class='w200' v-model='msg.IsCollectMoney' filterable :placeholder="$t('pub.pleaseSel')"
style="width:180px">
<el-option :label="$t('pub.unlimitedSel')" :value='0'></el-option> <el-option :label="$t('pub.unlimitedSel')" :value='0'></el-option>
<el-option :label="$t('salesModule.Collect')" :value='1'></el-option> <el-option :label="$t('salesModule.Collect')" :value='1'></el-option>
<el-option :label="$t('salesModule.NoCollect')" :value='2'></el-option> <el-option :label="$t('salesModule.NoCollect')" :value='2'></el-option>
...@@ -88,20 +101,25 @@ ...@@ -88,20 +101,25 @@
</span> </span>
</li> </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"
type="date"></el-date-picker>
</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,7 +135,8 @@ ...@@ -117,7 +135,8 @@
<p> <p>
<span>{{$t('salesModule.Ypay')}}{{countData.PreferPrice}};</span> <span>{{$t('salesModule.Ypay')}}{{countData.PreferPrice}};</span>
<span>{{$t('Operation.Op_yiShou')}}{{countData.Income}};</span> <span>{{$t('Operation.Op_yiShou')}}{{countData.Income}};</span>
<span :class="{color_red_order:countData.DueinMoney!==countData.PreferPrice}">{{$t('Operation.Op_weiShou')}}{{countData.DueinMoney}};</span> <span
:class="{color_red_order:countData.DueinMoney!==countData.PreferPrice}">{{$t('Operation.Op_weiShou')}}{{countData.DueinMoney}};</span>
<span>{{$t('fnc.ztjine')}}{{countData.ZaiTu}};</span> <span>{{$t('fnc.ztjine')}}{{countData.ZaiTu}};</span>
</p> </p>
</div> </div>
...@@ -169,10 +188,14 @@ ...@@ -169,10 +188,14 @@
<span>{{$t('fnc.cwdjshuoming')}}</span> <span>{{$t('fnc.cwdjshuoming')}}</span>
</div> </div>
<p> <p>
<span class="groupTourOrderByTuan_ico"><i style="background-color:#0000ff"></i><span>{{$t('fnc.yidadan')}}</span></span> <span class="groupTourOrderByTuan_ico"><i
<span class="groupTourOrderByTuan_ico"><i style="background-color:#00FF00"></i><span>{{$t('fnc.ptcnyshenhe')}}</span></span> style="background-color:#0000ff"></i><span>{{$t('fnc.yidadan')}}</span></span>
<span class="groupTourOrderByTuan_ico"><i style="background-color:#FF0000"></i><span>{{$t('fnc.yhcnyshenhe')}}</span></span> <span class="groupTourOrderByTuan_ico"><i
<span class="groupTourOrderByTuan_ico"><i style="background-color:#000000"></i><span>{{$t('fnc.ytongguo')}}</span></span> style="background-color:#00FF00"></i><span>{{$t('fnc.ptcnyshenhe')}}</span></span>
<span class="groupTourOrderByTuan_ico"><i
style="background-color:#FF0000"></i><span>{{$t('fnc.yhcnyshenhe')}}</span></span>
<span class="groupTourOrderByTuan_ico"><i
style="background-color:#000000"></i><span>{{$t('fnc.ytongguo')}}</span></span>
</p> </p>
</div> </div>
</el-col> </el-col>
...@@ -216,30 +239,39 @@ ...@@ -216,30 +239,39 @@
<th v-if="isEditOrderCreate==1" width="140">{{$t('admin.admin_operate')}}</th> <th v-if="isEditOrderCreate==1" width="140">{{$t('admin.admin_operate')}}</th>
</tr> </tr>
<tr> <tr>
<td v-show="list.length==0" colspan="15" align="center">{{$t('system.content_noData')}}</td> <td v-show="list.length==0" :colspan="isEditOrderCreate==1?18: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)"> <p class="fbold over_ellipsis" style="width: 100%;cursor:pointer;" :title="item.orderId"
@click="goUrlX('团报名清单', item.isOneDay === 1 ? 'groupTourOrderByTuanOne' : 'groupTourOrderByTuan',item.tcid,item.tcnum)">
<span>{{item.orderId}}</span> <span>{{item.orderId}}</span>
<span style="font-weight: 100;" v-if="item.scoreNum >= 0"
<span style="font-weight: 100;" v-if="item.scoreNum >= 0" @click='goInvetig("investigationList", item.tcid, item.orderId)'>({{$t('salesModule.ScoreNUM')}}{{item.scoreNum}})</span> @click='goInvetig("investigationList", item.tcid, item.orderId)'>({{$t('salesModule.ScoreNUM')}}{{item.scoreNum}})</span>
<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> <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>
<el-tooltip class="item" effect="dark" :content="$t('salesModule.ByB2b')" placement="top" <el-tooltip class="item" effect="dark" :content="$t('salesModule.ByB2b')" placement="top"
v-show="item.isFormB2B ==1"> <i class="iconfont icon-tiaozheng" v-show="item.isFormB2B ==1"> <i class="iconfont icon-tiaozheng"
style="font-size:22px;color:#297BEF;"></i></el-tooltip> style="font-size:22px;color:#297BEF;"></i></el-tooltip>
</p> </p>
<p class="fz12 over_ellipsis" style="width: 100%;text-decoration:underline;cursor:pointer;" :title="item.alName" <p class="fz12 over_ellipsis" style="width: 100%;text-decoration:underline;cursor:pointer;"
@click="goUrlX('产品查询', item.isOneDay === 1 ? 'productQueryOne' : 'productQuery',item.tcid,item.tcnum)">{{item.tcnum}}</p> :title="item.alName"
<p class="fz12 over_ellipsis" style="width: 100%;">{{item.createBy}}<span v-if="item.leaveStr!=''" style="color:red">({{item.leaveStr}})</span></p> @click="goUrlX('产品查询', item.isOneDay === 1 ? 'productQueryOne' : 'productQuery',item.tcid,item.tcnum)">
<p class="fz12 over_ellipsis" style="width: 100%;">{{item.commissionSPeopleName=='无'?'':item.commissionSPeopleName}}</p> {{item.tcnum}}</p>
<p class="fz12 over_ellipsis" style="width: 100%;">{{item.createBy}}<span v-if="item.leaveStr!=''"
style="color:red">({{item.leaveStr}})</span></p>
<p class="fz12 over_ellipsis" style="width: 100%;">
{{item.commissionSPeopleName=='无'?'':item.commissionSPeopleName}}</p>
<p>{{$t('hotel.hotel_StartTeam')}}{{item.startDate}}</p> <p>{{$t('hotel.hotel_StartTeam')}}{{item.startDate}}</p>
<p v-if="item.tradeWay ==1">{{item.platformOrder}}</p> <p v-if="item.tradeWay ==1">{{item.platformOrder}}</p>
<p v-if='item.commissionMoney' style="color:red">{{$t('salesModule.CommissionNum')}}{{item.commissionMoney}}</p> <p v-if='item.commissionMoney' style="color:red">
<p v-else-if="item.latestCommissionMoney" style="color:red">{{$t('salesModule.CommissionNum')}}{{item.latestCommissionMoney}}</p> {{$t('salesModule.CommissionNum')}}{{item.commissionMoney}}</p>
<p v-else-if="item.latestCommissionMoney" style="color:red">
{{$t('salesModule.CommissionNum')}}{{item.latestCommissionMoney}}</p>
<div> <div>
<div style="color:green" v-if="item.commissionMoney==''||item.commissionMoney=='-1'"> <div style="color:green" v-if="item.commissionMoney==''||item.commissionMoney=='-1'">
<p v-if="item.extraRewardMoney>0">{{$t('salesModule.EWJLJE')}}{{item.extraRewardMoney}}</p> <p v-if="item.extraRewardMoney>0">{{$t('salesModule.EWJLJE')}}{{item.extraRewardMoney}}</p>
...@@ -257,7 +289,8 @@ ...@@ -257,7 +289,8 @@
<td> <td>
<p class="over_ellipsis" style="width: 150px;" :title="item.contactName">{{item.contactName}}</p> <p class="over_ellipsis" style="width: 150px;" :title="item.contactName">{{item.contactName}}</p>
<p>{{item.contactMobile}}</p> <p>{{item.contactMobile}}</p>
<p v-if="item.industryCategory!==''" style="color:green">{{$t('salesModule.HYLB')}}{{item.industryCategory}}</p> <p v-if="item.industryCategory!==''" style="color:green">
{{$t('salesModule.HYLB')}}{{item.industryCategory}}</p>
</td> </td>
<td> <td>
<p class="fz12 over_ellipsis" style="width: 100%;">{{item.orderTypeName}}</p> <p class="fz12 over_ellipsis" style="width: 100%;">{{item.orderTypeName}}</p>
...@@ -270,7 +303,7 @@ ...@@ -270,7 +303,7 @@
</td> </td>
<td> <td>
{{item.guestNum}}/{{item.ySeatNum>0? item.ySeatNum+'Y ':''}}{{item.eSeatNum>0? item.eSeatNum+'E ':''}}{{item.fSeatNum>0? item.fSeatNum+'F ':''}} {{item.guestNum}}/{{item.ySeatNum>0? item.ySeatNum+'Y ':''}}{{item.eSeatNum>0? item.eSeatNum+'E ':''}}{{item.fSeatNum>0? item.fSeatNum+'F ':''}}
<br/> <br />
<span v-if="item.refuseVisaNum>0" style="color:red"> <span v-if="item.refuseVisaNum>0" style="color:red">
({{$t('salesModule.RefuseQ')}}{{item.refuseVisaNum}}{{$t('salesModule.PeoPle')}}) ({{$t('salesModule.RefuseQ')}}{{item.refuseVisaNum}}{{$t('salesModule.PeoPle')}})
</span> </span>
...@@ -318,7 +351,8 @@ ...@@ -318,7 +351,8 @@
</tr> </tr>
</table> </table>
</div> </div>
<span style="cursor: pointer;color: #e95252;text-decoration: underline;" slot="reference">{{moneyFormat(item.discountMoney)}}</span> <span style="cursor: pointer;color: #e95252;text-decoration: underline;"
slot="reference">{{moneyFormat(item.discountMoney)}}</span>
</el-popover> </el-popover>
</td> </td>
<td> <td>
...@@ -329,10 +363,10 @@ ...@@ -329,10 +363,10 @@
<th>{{$t('fnc.jine')}}</th> <th>{{$t('fnc.jine')}}</th>
<th>{{$t('admin.admin_type')}}</th> <th>{{$t('admin.admin_type')}}</th>
<th>{{$t('system.label_info')}}</th> <th>{{$t('system.label_info')}}</th>
<th>{{$t('salesModule.Time')}}<span @click="goUrlHappy(item)" style="cursor: pointer;" colspan="4" align="center">{{$t('salesModule.LookMore')}}</span></th> <th>{{$t('salesModule.Time')}}<span @click="goUrlHappy(item)" style="cursor: pointer;" colspan="4"
align="center">{{$t('salesModule.LookMore')}}</span></th>
</tr> </tr>
<tr v-for="(item2,index2) in redBagList" <tr v-for="(item2,index2) in redBagList" :key="index2">
:key="index2">
<td>{{item2.Money}}</td> <td>{{item2.Money}}</td>
<td> <td>
{{item2.Type==1?"收入":"折扣"}} {{item2.Type==1?"收入":"折扣"}}
...@@ -348,7 +382,8 @@ ...@@ -348,7 +382,8 @@
</tr> </tr>
</table> </table>
</div> </div>
<span @click="getRedBag(item)" style="cursor: pointer;color: #e95252;text-decoration: underline;" slot="reference">{{item.redEnvelopeMoney}}</span> <span @click="getRedBag(item)" style="cursor: pointer;color: #e95252;text-decoration: underline;"
slot="reference">{{item.redEnvelopeMoney}}</span>
</el-popover> </el-popover>
<span v-else style="color: #e95252;text-decoration: underline;">{{item.redEnvelopeMoney}}</span> <span v-else style="color: #e95252;text-decoration: underline;">{{item.redEnvelopeMoney}}</span>
</td> </td>
...@@ -362,20 +397,25 @@ ...@@ -362,20 +397,25 @@
<td v-if="item.isChargeLossOrders==1" class="fz12" style="color: #e95252">{{$t('fnc.shousun')}}</td> <td v-if="item.isChargeLossOrders==1" class="fz12" style="color: #e95252">{{$t('fnc.shousun')}}</td>
<td v-else class="fz12" :style="item.orderState===3?'color: #e95252;':''">{{item.statsstr}}</td> <td v-else class="fz12" :style="item.orderState===3?'color: #e95252;':''">{{item.statsstr}}</td>
<td v-if="isEditOrderCreate==1"> <td v-if="isEditOrderCreate==1">
<button class="normalBtn" style="margin-left:0;width:95px;padding:0" @click="getSalerInfo(item)">{{$t('salesModule.UpdateYWY')}}</button> <button class="normalBtn" style="margin-left:0;width:95px;padding:0"
@click="getSalerInfo(item)">{{$t('salesModule.UpdateYWY')}}</button>
</td> </td>
</tr> </tr>
<tr style="height:20px"> <tr style="height:20px">
<td :colspan="isEditOrderCreate==1?17:16" class="RL_Order" style="height:20px"> <td :colspan="isEditOrderCreate==1?17:16" class="RL_Order" style="height:20px">
<span style="font-size: 14px;color: #333333">{{$t('salesModule.MD')}}:</span> <span style="font-size: 14px;color: #333333">{{$t('salesModule.MD')}}:</span>
<span v-for="(childItem) in item.guestList" style="font-size: 14px;color: blue">{{childItem.userName}}&nbsp;&nbsp;</span> <span v-for="(childItem) in item.guestList"
style="font-size: 14px;color: blue">{{childItem.userName}}&nbsp;&nbsp;</span>
<p v-if="item.cancelGuestList && item.cancelGuestList.length>0"> <p v-if="item.cancelGuestList && item.cancelGuestList.length>0">
<span class="" >{{$t('salesModule.CancelOrder')}}:</span> <span class="">{{$t('salesModule.CancelOrder')}}:</span>
<span class="RL-redType RL-remarkCon"> <span class="RL-redType RL-remarkCon">
<span style="color: red;" v-for="(childItem) in item.cancelGuestList">{{childItem.userName}} &nbsp;&nbsp;</span> <span style="color: red;" v-for="(childItem) in item.cancelGuestList">{{childItem.userName}}
&nbsp;&nbsp;</span>
</span> </span>
</p> </p>
<span style="display: block;font-size: 14px;color: #333333">{{$t('salesModule.RoomInfo')}}<span v-if="item.oneSex>0" style="color: #e95252">{{item.oneSex==1?'单男':'单女'}}</span>{{item.orderGuestHouseStr}}</span> <span style="display: block;font-size: 14px;color: #333333">{{$t('salesModule.RoomInfo')}}<span
v-if="item.oneSex>0"
style="color: #e95252">{{item.oneSex==1?'单男':'单女'}}</span>{{item.orderGuestHouseStr}}</span>
</td> </td>
</tr> </tr>
<tr> <tr>
...@@ -383,9 +423,11 @@ ...@@ -383,9 +423,11 @@
<div> <div>
<div><span>{{$t('pub.pubRemark')}}</span> <div><span>{{$t('pub.pubRemark')}}</span>
<span v-if="item.tsIdList.length>0">{{$t('salesModule.ComplaintNum')}} <span v-if="item.tsIdList.length>0">{{$t('salesModule.ComplaintNum')}}
<a class="underline" v-for="ts in item.tsIdList" href="javascript:void(0);" @click="goUrlTS('ComplaintsDetail',ts,item.orderId,'投诉详情')">{{ts}} </a> ; <a class="underline" v-for="ts in item.tsIdList" href="javascript:void(0);"
@click="goUrlTS('ComplaintsDetail',ts,item.orderId,'投诉详情')">{{ts}} </a> ;
</span> </span>
<p><span v-if='item.clientSource==1&&item.brandName!=""'>{{item.brandName}}{{$t('fnc.dingdan')}} {{item.platformOrder}};</span>{{item.remarks}}</p> <p><span v-if='item.clientSource==1&&item.brandName!=""'>{{item.brandName}}{{$t('fnc.dingdan')}}
{{item.platformOrder}};</span>{{item.remarks}}</p>
</div> </div>
<div> <div>
<span>{{item.remarksName}}&ensp;{{item.rematksTime}}</span> <span>{{item.remarksName}}&ensp;{{item.rematksTime}}</span>
...@@ -398,8 +440,9 @@ ...@@ -398,8 +440,9 @@
</p> </p>
<span v-if="item.remarksList.length === 0">{{$t('system.content_noData')}}</span> <span v-if="item.remarksList.length === 0">{{$t('system.content_noData')}}</span>
</div> </div>
<el-button slot="reference" icon="iconfont icon-gengduo" style="padding:0px;border:none;background-color:transparent;" <el-button slot="reference" icon="iconfont icon-gengduo"
class="groupTourOrder_remarks_btn"></el-button> style="padding:0px;border:none;background-color:transparent;" class="groupTourOrder_remarks_btn">
</el-button>
</el-popover> </el-popover>
</div> </div>
</div> </div>
...@@ -416,7 +459,7 @@ ...@@ -416,7 +459,7 @@
<div> <div>
特价申请函: 特价申请函:
<template v-if="item.orderspecialofferId === 0"> <template v-if="item.orderspecialofferId === 0">
<span class="font-color-blur" >未申请</span> <span class="font-color-blur">未申请</span>
</template> </template>
<template v-else> <template v-else>
<span class="font-color-red" v-if="item.orderspecialofferState === -1">拒绝</span> <span class="font-color-red" v-if="item.orderspecialofferState === -1">拒绝</span>
...@@ -460,20 +503,26 @@ ...@@ -460,20 +503,26 @@
<div>{{$t('salesModule.Invoice')}}:</div> <div>{{$t('salesModule.Invoice')}}:</div>
<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>
...@@ -501,14 +550,15 @@ ...@@ -501,14 +550,15 @@
} }
return obj; return obj;
}, },
redBagList:[], redBagList: [],
happy:false, happy: false,
defaultImg: 'this.src="' + require("../../assets/img/litheader.png") + '"', defaultImg: 'this.src="' + require("../../assets/img/litheader.png") + '"',
currentPage: 1, currentPage: 1,
total: 0, total: 0,
loading: false, loading: false,
msg: { msg: {
LineId: "-1", LineId: "-1",
LineteamId: 0, //系列
RB_Department_Id: null, RB_Department_Id: null,
CreateBy: "-1", CreateBy: "-1",
OrderState: "-1", OrderState: "-1",
...@@ -522,9 +572,9 @@ ...@@ -522,9 +572,9 @@
SellFormEmp: 0, SellFormEmp: 0,
GroupType: '-1', GroupType: '-1',
TCNUM: '', TCNUM: '',
BranchId:'-1', BranchId: '-1',
IsOneDay: '-1', IsOneDay: '-1',
IsCollectMoney:0, IsCollectMoney: 0,
IsUseCoupon: '0', IsUseCoupon: '0',
IsUseRedEnvelopeMoney: '0' IsUseRedEnvelopeMoney: '0'
}, },
...@@ -576,20 +626,36 @@ ...@@ -576,20 +626,36 @@
B2BNum: 0 B2BNum: 0
}, },
ctlxList: [], ctlxList: [],
showChangeSales:false, showChangeSales: false,
//订单编号及业务员信息 //订单编号及业务员信息
subInfo:{ subInfo: {
CreateBy:'', CreateBy: '',
OrderId:0 OrderId: 0
}, },
userId:0, userId: 0,
//修改订单业务员1-有权限 //修改订单业务员1-有权限
isEditOrderCreate:0, isEditOrderCreate: 0,
}; };
}, },
methods: { methods: {
goUrlHappy(item){ //获取系列列表
this.happy=false; getLineTeamList(lineId) {
this.LineTeamList = []
this.apipost(
'team_post_GetList', {
lineID: lineId,
isTOOP: 1
},
res => {
if (res.data.resultCode == 1) {
this.msg.LineteamId = 0;
this.LineTeamList = res.data.data
}
}
)
},
goUrlHappy(item) {
this.happy = false;
this.$router.push({ this.$router.push({
name: "HappyPassbook", name: "HappyPassbook",
query: { query: {
...@@ -598,27 +664,25 @@ ...@@ -598,27 +664,25 @@
} }
}); });
}, },
getRedBag(item){ getRedBag(item) {
let msg={ let msg = {
CustomerId:item.customerId, CustomerId: item.customerId,
pageIndex: 1, pageIndex: 1,
pageSize: 4, pageSize: 4,
}; };
if(item.customerId){ if (item.customerId) {
this.apipost('customer_post_GetC_BigRedEnvelopeInfoList',msg, res => { this.apipost('customer_post_GetC_BigRedEnvelopeInfoList', msg, res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.redBagList = res.data.data.pageData; this.redBagList = res.data.data.pageData;
} else {}
}, err => {})
} else { } else {
} this.redBagList = [];
}, err => {
})
}else{
this.redBagList =[];
} }
}, },
//跳转 //跳转
goUrlTS (path, id, orderId, title) { goUrlTS(path, id, orderId, title) {
this.$router.push({ this.$router.push({
name: path, name: path,
query: { query: {
...@@ -642,7 +706,11 @@ ...@@ -642,7 +706,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)
}
}); });
}, },
// 结束日期不能大于开始日期 // 结束日期不能大于开始日期
...@@ -748,7 +816,7 @@ ...@@ -748,7 +816,7 @@
}, },
linkageDepartment() { //联动部门 linkageDepartment() { //联动部门
this.msg.RB_Department_Id = null; this.msg.RB_Department_Id = null;
if(this.msg.BranchId!=0){ if (this.msg.BranchId != 0) {
this.getDepartmentMsg.RB_Branch_Id = this.msg.BranchId; this.getDepartmentMsg.RB_Branch_Id = this.msg.BranchId;
} }
this.getDepartment(); this.getDepartment();
...@@ -804,19 +872,23 @@ ...@@ -804,19 +872,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",
}
}); });
}, },
// 获取修改业务员权限 // 获取修改业务员权限
...@@ -868,12 +940,6 @@ ...@@ -868,12 +940,6 @@
</script> </script>
<style> <style>
/* .personNolayer table td{
background-color: #ededed;
height: 34px;
text-indent: 15px;
}
*/
.personNolayer p { .personNolayer p {
height: 28px; height: 28px;
line-height: 28px; line-height: 28px;
...@@ -916,11 +982,12 @@ ...@@ -916,11 +982,12 @@
padding: 9px 15px; padding: 9px 15px;
} }
.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;
...@@ -936,14 +1003,16 @@ ...@@ -936,14 +1003,16 @@
padding: 9px 15px; padding: 9px 15px;
} }
.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;
...@@ -1013,12 +1082,15 @@ ...@@ -1013,12 +1082,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;
......
...@@ -735,30 +735,34 @@ ...@@ -735,30 +735,34 @@
margin: 5px; margin: 5px;
text-align: center; text-align: center;
} }
.GO_Contract{
color:blue; .GO_Contract {
color: blue;
display: inline-block; display: inline-block;
cursor: pointer; cursor: pointer;
margin-right:20px; margin-right: 20px;
} }
.needfenshu{
.needfenshu {
margin-top: 10px; margin-top: 10px;
display: flex; display: flex;
align-items: center; align-items: center;
} }
.SQguestList{
.SQguestList {
display: flex; display: flex;
flex-wrap: wrap; flex-wrap: wrap;
} }
.SQguestList label{
.SQguestList label {
display: inline-block; display: inline-block;
min-width: 100px; min-width: 100px;
display: flex; display: flex;
align-items: center; align-items: center;
margin-top: 8px; margin-top: 8px;
} }
</style>
</style>
<template> <template>
<div class="flexOne groupts" style="min-width: 1200px;"> <div class="flexOne groupts" style="min-width: 1200px;">
<!-- 修改信息 --> <!-- 修改信息 -->
...@@ -780,28 +784,31 @@ ...@@ -780,28 +784,31 @@
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item :label="$t('fnc.ctleixing')" prop="GroupType"> <el-form-item :label="$t('fnc.ctleixing')" prop="GroupType">
<el-select v-model='addMsg.GroupType' filterable :placeholder="$t('pub.pleaseSel')" @change="gettypechange(addMsg.GroupType)"> <el-select v-model='addMsg.GroupType' filterable :placeholder="$t('pub.pleaseSel')"
@change="gettypechange(addMsg.GroupType)">
<el-option v-for="item in ctlxList" :label='item.Name' :value='item.Id' :key='item.Id' <el-option v-for="item in ctlxList" :label='item.Name' :value='item.Id' :key='item.Id'
v-if="item.Id!=5"> v-if="item.Id!=5">
</el-option> </el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item v-if="addMsg.GroupType == '3'" :label="$t('salesModule.IsUseRoom')" prop="GroupTypeNeedHouse"> <el-form-item v-if="addMsg.GroupType == '3'" :label="$t('salesModule.IsUseRoom')" prop="GroupTypeNeedHouse">
<el-switch @change="$forceUpdate()" v-model="addMsg.GroupTypeNeedHouse" active-value="0" inactive-value="1"></el-switch> <el-switch @change="$forceUpdate()" v-model="addMsg.GroupTypeNeedHouse" active-value="0"
inactive-value="1"></el-switch>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="4"> <el-col :span="4">
<el-form-item :label="$t('hotel.suplier_contact')" prop="ContactName" v-show='addMsg.CustomerType==3||addMsg.CustomerType==4'> <el-form-item :label="$t('hotel.suplier_contact')" prop="ContactName"
v-show='addMsg.CustomerType==3||addMsg.CustomerType==4'>
<el-input v-model='addMsg.ContactName'></el-input> <el-input v-model='addMsg.ContactName'></el-input>
</el-form-item> </el-form-item>
<el-form-item :label="$t('restaurant.res_ContactNumber')" prop="ContactMobile" v-show='addMsg.CustomerType==3||addMsg.CustomerType==4'> <el-form-item :label="$t('restaurant.res_ContactNumber')" prop="ContactMobile"
v-show='addMsg.CustomerType==3||addMsg.CustomerType==4'>
<el-input v-model='addMsg.ContactMobile'></el-input> <el-input v-model='addMsg.ContactMobile'></el-input>
</el-form-item> </el-form-item>
<el-form-item :label="$t('salesModule.CustomerStore')" prop="CustomerId" <el-form-item :label="$t('salesModule.CustomerStore')" prop="CustomerId"
v-show="addMsg.CustomerType==1||addMsg.CustomerType==2||addMsg.CustomerType==''"> v-show="addMsg.CustomerType==1||addMsg.CustomerType==2||addMsg.CustomerType==''">
<el-select v-model='addMsg.CustomerId' filterable :placeholder="$t('pub.pleaseSel')" @change='getSspt' <el-select v-model='addMsg.CustomerId' filterable :placeholder="$t('pub.pleaseSel')" @change='getSspt'
v-if="addMsg.OrderForm !== 4" v-if="addMsg.OrderForm !== 4" :disabled="true">
:disabled="true">
<el-option v-for="item in khmdList" :label='item.customerName' :value='item.customerId' <el-option v-for="item in khmdList" :label='item.customerName' :value='item.customerId'
:key='item.customerId'> :key='item.customerId'>
</el-option> </el-option>
...@@ -818,7 +825,8 @@ ...@@ -818,7 +825,8 @@
</el-option> </el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item :label="$t('salesModule.IsLianYn')" prop="IsIntermodal" v-show="addMsg.DepartureCityId!=SetOutCityId"> <el-form-item :label="$t('salesModule.IsLianYn')" prop="IsIntermodal"
v-show="addMsg.DepartureCityId!=SetOutCityId">
<el-switch v-model="addMsg.IsIntermodal" active-value="1" inactive-value="2" <el-switch v-model="addMsg.IsIntermodal" active-value="1" inactive-value="2"
@change='getUnionTravelPrice(addObj,1)'></el-switch> @change='getUnionTravelPrice(addObj,1)'></el-switch>
</el-form-item> </el-form-item>
...@@ -836,7 +844,8 @@ ...@@ -836,7 +844,8 @@
</el-option> </el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item :label="$t('salesModule.IsLianYn')" prop="IsReturnIntermodal" v-show="addMsg.ReturnArriveCityId!=reOutCityId"> <el-form-item :label="$t('salesModule.IsLianYn')" prop="IsReturnIntermodal"
v-show="addMsg.ReturnArriveCityId!=reOutCityId">
<el-switch v-model="addMsg.IsReturnIntermodal" active-value="1" inactive-value="2" <el-switch v-model="addMsg.IsReturnIntermodal" active-value="1" inactive-value="2"
@change='getUnionTravelPrice(addObj,2)'></el-switch> @change='getUnionTravelPrice(addObj,2)'></el-switch>
</el-form-item> </el-form-item>
...@@ -851,22 +860,24 @@ ...@@ -851,22 +860,24 @@
<el-form-item :label="$t('salesModule.TeamPrice')" prop="TC_Price"> <el-form-item :label="$t('salesModule.TeamPrice')" prop="TC_Price">
<el-input v-model='addMsg.TC_Price' :disabled="true"></el-input> <el-input v-model='addMsg.TC_Price' :disabled="true"></el-input>
</el-form-item> </el-form-item>
<el-form-item :label="$t('salesModule.StartLY')" v-show='addMsg.IsIntermodal==1&&addMsg.DepartureCityId!=SetOutCityId'> <el-form-item :label="$t('salesModule.StartLY')"
v-show='addMsg.IsIntermodal==1&&addMsg.DepartureCityId!=SetOutCityId'>
<el-input v-model='stratPrice' v-show='stratPriceShow' :disabled="true"></el-input> <el-input v-model='stratPrice' v-show='stratPriceShow' :disabled="true"></el-input>
<span class="colorE95252" v-show='!stratPriceShow'>{{$t('pub.NoPrice')}}</span> <span class="colorE95252" v-show='!stratPriceShow'>{{$t('pub.NoPrice')}}</span>
</el-form-item> </el-form-item>
<el-form-item :label="$t('salesModule.BackLY')" v-show='addMsg.IsReturnIntermodal==1&&addMsg.ReturnArriveCityId!=reOutCityId'> <el-form-item :label="$t('salesModule.BackLY')"
v-show='addMsg.IsReturnIntermodal==1&&addMsg.ReturnArriveCityId!=reOutCityId'>
<el-input v-model='returnPrice' v-show='returnPriceShow' :disabled="true"></el-input> <el-input v-model='returnPrice' v-show='returnPriceShow' :disabled="true"></el-input>
<span class="colorE95252" v-show='!returnPriceShow'>{{$t('pub.NoPrice')}}</span> <span class="colorE95252" v-show='!returnPriceShow'>{{$t('pub.NoPrice')}}</span>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="4"> <el-col :span="4">
<el-form-item :label="$t('fnc.cjdanjia')" prop="Unit_Price" v-if="HightUnitPrice === '2'"> <el-form-item :label="$t('fnc.cjdanjia')" prop="Unit_Price" v-if="HightUnitPrice === '2'">
<el-select v-model='addMsg.Unit_Price' filterable :placeholder="$t('pub.pleaseSel')" @change="getTotalPrice()"> <el-select v-model='addMsg.Unit_Price' filterable :placeholder="$t('pub.pleaseSel')"
@change="getTotalPrice()">
<el-option v-for="(item,index) in Unit_PriceList" :label='item.LessMoney' :value='item.ID' :key='index'> <el-option v-for="(item,index) in Unit_PriceList" :label='item.LessMoney' :value='item.ID' :key='index'>
</el-option> </el-option>
</el-select> </el-select>
<!-- <el-input v-model='addMsg.Unit_Price' :disabled="true" @keyup.native="checkPrice(addMsg,'Unit_Price');getTotalPrice()"></el-input> -->
</el-form-item> </el-form-item>
<el-form-item :label="$t('fnc.cjdanjia')" prop="Unit_Price" v-else> <el-form-item :label="$t('fnc.cjdanjia')" prop="Unit_Price" v-else>
<el-input v-model='addMsg.Unit_Price' @change="getTotalPrice(3)"></el-input> <el-input v-model='addMsg.Unit_Price' @change="getTotalPrice(3)"></el-input>
...@@ -876,11 +887,9 @@ ...@@ -876,11 +887,9 @@
</el-form-item> </el-form-item>
<el-form-item v-show="addMsg.GroupType != 4"> <el-form-item v-show="addMsg.GroupType != 4">
<p v-if="LessMoney==0" style="line-height: 18px; color: #E95252;">{{$t('salesModule.Notice1')}}</p> <p v-if="LessMoney==0" style="line-height: 18px; color: #E95252;">{{$t('salesModule.Notice1')}}</p>
<p v-else="LessMoney>0" style="line-height: 18px; color: #E95252;">{{$t('salesModule.Notice2')}}{{LessMoney}}{{$t('salesModule.Notice3')}}</p> <p v-else="LessMoney>0" style="line-height: 18px; color: #E95252;">
{{$t('salesModule.Notice2')}}{{LessMoney}}{{$t('salesModule.Notice3')}}</p>
</el-form-item> </el-form-item>
<!--<el-form-item>
<p style="line-height: 18px; color: #E95252;">注:如果超出本团的最低让价,差价将由你来承担</p>
</el-form-item>-->
</el-col> </el-col>
</el-row> </el-row>
<div style="width: 100%; border-top:1px dashed #ccc;margin-bottom:25px;"></div> <div style="width: 100%; border-top:1px dashed #ccc;margin-bottom:25px;"></div>
...@@ -958,14 +967,16 @@ ...@@ -958,14 +967,16 @@
</el-col> </el-col>
<el-col :span="4"> <el-col :span="4">
<el-form-item :label="$t('salesModule.SingleFM')"> <el-form-item :label="$t('salesModule.SingleFM')">
<el-radio v-model="addMsg.OneSex" @click.native.prevent="setDanren(1)" :label="1">{{$t('pub.man')}}</el-radio> <el-radio v-model="addMsg.OneSex" @click.native.prevent="setDanren(1)" :label="1">{{$t('pub.man')}}
<el-radio v-model="addMsg.OneSex" @click.native.prevent="setDanren(2)" :label="2">{{$t('pub.woman')}}</el-radio> </el-radio>
<el-radio v-model="addMsg.OneSex" @click.native.prevent="setDanren(2)" :label="2">{{$t('pub.woman')}}
</el-radio>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>
<el-row :gutter="20"> <el-row :gutter="20">
<el-col :span="4"> <el-col :span="4">
<el-form-item :label="$t('salesModule.JQRS')" prop="RefuseVisaNum" > <el-form-item :label="$t('salesModule.JQRS')" prop="RefuseVisaNum">
<el-input v-model='addMsg.RefuseVisaNum' @keyup.native="checkInteger(addMsg,'RefuseVisaNum')" <el-input v-model='addMsg.RefuseVisaNum' @keyup.native="checkInteger(addMsg,'RefuseVisaNum')"
@input='getTotalPrice()'></el-input> @input='getTotalPrice()'></el-input>
</el-form-item> </el-form-item>
...@@ -1092,7 +1103,8 @@ ...@@ -1092,7 +1103,8 @@
<el-row :gutter="20"> <el-row :gutter="20">
<el-col :span="4"> <el-col :span="4">
<el-form-item :label="$t('salesModule.CustomFrom')" prop="ClientSource"> <el-form-item :label="$t('salesModule.CustomFrom')" prop="ClientSource">
<el-select v-model='addMsg.ClientSource' :disabled="addMsg.OrderForm!==4 ? true : false" filterable :placeholder="$t('pub.pleaseSel')"> <el-select v-model='addMsg.ClientSource' :disabled="addMsg.OrderForm!==4 ? true : false" filterable
:placeholder="$t('pub.pleaseSel')">
<el-option v-for="item in ddlyList" :label='item.Name' :value='item.Id' :key='item.Id'> <el-option v-for="item in ddlyList" :label='item.Name' :value='item.Id' :key='item.Id'>
</el-option> </el-option>
</el-select> </el-select>
...@@ -1108,7 +1120,8 @@ ...@@ -1108,7 +1120,8 @@
</el-col> </el-col>
<el-col :span="4"> <el-col :span="4">
<el-form-item :label="$t('tips.jiaoyifangshi')" prop="TradeWay" v-show='addMsg.ClientSource==1'> <el-form-item :label="$t('tips.jiaoyifangshi')" prop="TradeWay" v-show='addMsg.ClientSource==1'>
<el-select v-model='addMsg.TradeWay' :disabled="addMsg.OrderForm !== 4 ? true : false" filterable :placeholder="$t('pub.pleaseSel')"> <el-select v-model='addMsg.TradeWay' :disabled="addMsg.OrderForm !== 4 ? true : false" filterable
:placeholder="$t('pub.pleaseSel')">
<el-option v-for="item in jyfsList" :label='item.Name' :value='item.Id' :key='item.Id'> <el-option v-for="item in jyfsList" :label='item.Name' :value='item.Id' :key='item.Id'>
</el-option> </el-option>
</el-select> </el-select>
...@@ -1278,7 +1291,8 @@ ...@@ -1278,7 +1291,8 @@
<!-- <em style="margin-left: 100px;font-size: 12px !important;color: #606266;" >优惠金额</em> <!-- <em style="margin-left: 100px;font-size: 12px !important;color: #606266;" >优惠金额</em>
<el-input v-model='SOMsg.ApplyPrice' type='text' maxlength='20' class='w150' ></el-input> --> <el-input v-model='SOMsg.ApplyPrice' type='text' maxlength='20' class='w150' ></el-input> -->
<em style="margin-left: 100px;font-size: 12px !important;color: #606266;">{{$t('salesModule.AdultPeople')}}</em> <em
style="margin-left: 100px;font-size: 12px !important;color: #606266;">{{$t('salesModule.AdultPeople')}}</em>
<el-select :placeholder="$t('pub.pleaseSel')" v-model="SOMsg.UpdateBy"> <el-select :placeholder="$t('pub.pleaseSel')" v-model="SOMsg.UpdateBy">
<el-option v-for="(item,index) in SuperiorPeople" :label='(item.EmName)' :value='(item.EmployeeId)' <el-option v-for="(item,index) in SuperiorPeople" :label='(item.EmName)' :value='(item.EmployeeId)'
:key="index"></el-option> :key="index"></el-option>
...@@ -1293,9 +1307,6 @@ ...@@ -1293,9 +1307,6 @@
</el-form> </el-form>
</div> </div>
<div class="groupTourOrderSearch"> <div class="groupTourOrderSearch">
<ul> <ul>
<li><span><em>{{$t('advmanager.v_line')}}</em> <li><span><em>{{$t('advmanager.v_line')}}</em>
...@@ -1324,7 +1335,8 @@ ...@@ -1324,7 +1335,8 @@
<li> <li>
<span> <span>
<em>{{$t('hotel.order_Number')}}</em> <em>{{$t('hotel.order_Number')}}</em>
<el-input v-model='msg.tempOrderId' class='w150' @keyup.native="checkInteger(msg,'tempOrderId')" maxlength="8"></el-input> <el-input v-model='msg.tempOrderId' class='w150' @keyup.native="checkInteger(msg,'tempOrderId')"
maxlength="8"></el-input>
</span> </span>
</li> </li>
<li><span><em>{{$t('scen.sc_ftTime')}}</em> <li><span><em>{{$t('scen.sc_ftTime')}}</em>
...@@ -1394,7 +1406,8 @@ ...@@ -1394,7 +1406,8 @@
</td> </td>
<td width="70">{{$t('salesModule.BMLX')}}</td> <td width="70">{{$t('salesModule.BMLX')}}</td>
<td> <td>
<el-select v-model='msg.GroupTypeArray' filterable multiple class="multiple_input" :placeholder="$t('pub.pleaseSel')"> <el-select v-model='msg.GroupTypeArray' filterable multiple class="multiple_input"
:placeholder="$t('pub.pleaseSel')">
<el-option v-for="item in ctlxList" :label='item.Name' :value='item.Id' :key='item.Id'> <el-option v-for="item in ctlxList" :label='item.Name' :value='item.Id' :key='item.Id'>
</el-option> </el-option>
</el-select> </el-select>
...@@ -1413,16 +1426,18 @@ ...@@ -1413,16 +1426,18 @@
</tr> </tr>
<tr> <tr>
<td colspan="4"> <td colspan="4">
<input type="button" class="normalBtn" :value="$t('pub.searchBtn')" @click="getList();resetPageIndex()" <input type="button" class="normalBtn" :value="$t('pub.searchBtn')"
style="width: 476px!important;" /> @click="getList();resetPageIndex()" style="width: 476px!important;" />
</td> </td>
</tr> </tr>
</table> </table>
<span slot="reference" style="cursor: pointer;">{{$t('visa.v_gjchaxun')}}<i class="el-icon-caret-bottom"></i></span> <span slot="reference" style="cursor: pointer;">{{$t('visa.v_gjchaxun')}}<i
class="el-icon-caret-bottom"></i></span>
</el-popover> </el-popover>
</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>
...@@ -1492,10 +1507,14 @@ ...@@ -1492,10 +1507,14 @@
<span>{{$t('fnc.cwdjshuoming')}}</span> <span>{{$t('fnc.cwdjshuoming')}}</span>
</div> </div>
<p> <p>
<span class="groupTourOrderByTuan_ico"><i style="background-color:#0000ff"></i><span>{{$t('fnc.yidadan')}}</span></span> <span class="groupTourOrderByTuan_ico"><i
<span class="groupTourOrderByTuan_ico"><i style="background-color:#00FF00"></i><span>{{$t('fnc.ptcnyshenhe')}}</span></span> style="background-color:#0000ff"></i><span>{{$t('fnc.yidadan')}}</span></span>
<span class="groupTourOrderByTuan_ico"><i style="background-color:#FF0000"></i><span>{{$t('fnc.yhcnyshenhe')}}</span></span> <span class="groupTourOrderByTuan_ico"><i
<span class="groupTourOrderByTuan_ico"><i style="background-color:#000000"></i><span>{{$t('fnc.ytongguo')}}</span></span> style="background-color:#00FF00"></i><span>{{$t('fnc.ptcnyshenhe')}}</span></span>
<span class="groupTourOrderByTuan_ico"><i
style="background-color:#FF0000"></i><span>{{$t('fnc.yhcnyshenhe')}}</span></span>
<span class="groupTourOrderByTuan_ico"><i
style="background-color:#000000"></i><span>{{$t('fnc.ytongguo')}}</span></span>
</p> </p>
</div> </div>
</el-col> </el-col>
...@@ -1544,17 +1563,17 @@ ...@@ -1544,17 +1563,17 @@
<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;"> <p class="fbold over_ellipsis" style="width: 100%;cursor:pointer;">
<span :title="item.orderId"
<span :title="item.orderId" @click="goUrlX('团报名清单','groupTourOrderByTuan',item.tcid,item.tcnum)">{{item.orderId}}</span> @click="goUrlX('团报名清单','groupTourOrderByTuan',item.tcid,item.tcnum)">{{item.orderId}}</span>
<span style="font-weight: 100;text-decoration:underline;cursor:pointer;color: #e95252;" v-if="item.scoreNum >= 0" @click='goInvetig("investigationList", item.tcid, item.orderId)'>(评分{{item.scoreNum}})</span> <span style="font-weight: 100;text-decoration:underline;cursor:pointer;color: #e95252;"
v-if="item.scoreNum >= 0"
<el-tooltip class="item" effect="dark" content="通过小程序确认单报名" placement="top" v-show="item.orderForm==4"> <i class="iconfont icon-xiaochengxu" style="font-size:22px;color:red;"></i></el-tooltip> @click='goInvetig("investigationList", item.tcid, item.orderId)'>(评分{{item.scoreNum}})</span>
<el-tooltip class="item" effect="dark" content="通过B2B确认单报名" placement="top" <el-tooltip class="item" effect="dark" content="通过小程序确认单报名" placement="top" v-show="item.orderForm==4">
v-show="item.isFormB2B ==1"> <i class="iconfont icon-tiaozheng" <i class="iconfont icon-xiaochengxu" style="font-size:22px;color:red;"></i></el-tooltip>
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 class="fz12 over_ellipsis" style="width: 100%;text-decoration:underline;cursor:pointer;" <p class="fz12 over_ellipsis" style="width: 100%;text-decoration:underline;cursor:pointer;"
:title="item.alName" @click="goUrlX('产品查询','productQuery',item.tcid,item.tcnum)">{{item.tcnum}}</p> :title="item.alName" @click="goUrlX('产品查询','productQuery',item.tcid,item.tcnum)">{{item.tcnum}}</p>
...@@ -1562,8 +1581,10 @@ ...@@ -1562,8 +1581,10 @@
<p style="min-width: 180px;">{{$t('hotel.hotel_StartTeam')}}{{item.startDate}}</p> <p style="min-width: 180px;">{{$t('hotel.hotel_StartTeam')}}{{item.startDate}}</p>
<p>{{$t('restaurant.res_oderTime')}}{{item.createDate}}</p> <p>{{$t('restaurant.res_oderTime')}}{{item.createDate}}</p>
<p v-if="item.tradeWay ==1">{{item.platformOrder}}</p> <p v-if="item.tradeWay ==1">{{item.platformOrder}}</p>
<p v-if='item.commissionMoney' style="color:red">{{$t('salesModule.Commission')}}{{item.commissionMoney}}</p> <p v-if='item.commissionMoney' style="color:red">{{$t('salesModule.Commission')}}{{item.commissionMoney}}
<p v-else-if="item.latestCommissionMoney" style="color:red">{{$t('salesModule.Commission')}}{{item.latestCommissionMoney}}</p> </p>
<p v-else-if="item.latestCommissionMoney" style="color:red">
{{$t('salesModule.Commission')}}{{item.latestCommissionMoney}}</p>
<div> <div>
<div style="color:green" v-if="item.commissionMoney==''||item.commissionMoney=='-1'"> <div style="color:green" v-if="item.commissionMoney==''||item.commissionMoney=='-1'">
<p v-if="item.extraRewardMoney>0">{{$t('salesModule.EWJLJE')}}{{item.extraRewardMoney}}</p> <p v-if="item.extraRewardMoney>0">{{$t('salesModule.EWJLJE')}}{{item.extraRewardMoney}}</p>
...@@ -1581,7 +1602,8 @@ ...@@ -1581,7 +1602,8 @@
<td> <td>
<p class="fz12 over_ellipsis" style="width: 120px;" :title="item.contactName">{{item.contactName}}</p> <p class="fz12 over_ellipsis" style="width: 120px;" :title="item.contactName">{{item.contactName}}</p>
<p class="fz12">{{item.contactMobile}}</p> <p class="fz12">{{item.contactMobile}}</p>
<p class="fz12" v-if="item.industryCategory!==''" style="color:green">{{$t('salesModule.HYLB')}}{{item.industryCategory}}</p> <p class="fz12" v-if="item.industryCategory!==''" style="color:green">
{{$t('salesModule.HYLB')}}{{item.industryCategory}}</p>
</td> </td>
<td> <td>
<p class="fz12 over_ellipsis" style="width: 100%;">{{item.orderTypeName}}</p> <p class="fz12 over_ellipsis" style="width: 100%;">{{item.orderTypeName}}</p>
...@@ -1593,46 +1615,16 @@ ...@@ -1593,46 +1615,16 @@
<p style="max-width: 160px;display: block;" class="over_ellipsis" :title="item.ltName">{{item.ltName}}</p> <p style="max-width: 160px;display: block;" class="over_ellipsis" :title="item.ltName">{{item.ltName}}</p>
</td> </td>
<td> <td>
<!-- <el-popover style='padding: 0;' width="470" trigger="click"> -->
<!-- <div class="personNolayer">
<p>
<span>成人:{{item.manNum}}</span>
<span>儿童:{{item.chirdNum}}</span>
<span>老人:{{item.oldPeopleNum}}</span>
<span>婴儿:{{item.babyNum}}</span>
<span>单地接:{{item.airticketNum}}</span>
</p>
<table border="0" cellspacing="1" cellpadding="1">
<tr>
<th>姓名</th>
<th>护照</th>
<th>性别</th>
<th>年龄</th>
<th width="110">联系电话</th>
</tr>
<tr v-if='memberList.length>0' v-for="(item2,index2) in memberList" :key="index2">
<td>{{item2.userName}}</td>
<td>{{item2.passportNo}}</td>
<td>{{item2.sexStr}}</td>
<td>{{item2.age}}</td>
<td>{{item2.mobilePhone}}</td>
</tr>
<tr v-if='memberList.length==0'>
<td colspan="5" align="center">暂无数据</td>
</tr>
</table>
</div> -->
<span v-if='item.guestNumStatus==1' style="color:#1AA86B;" class="personNo" slot="reference" <span v-if='item.guestNumStatus==1' style="color:#1AA86B;" class="personNo" slot="reference"
@click="getMembersDetail(item)">{{item.guestNum}}/{{item.ySeatNum>0? item.ySeatNum+'Y ':''}}{{item.eSeatNum>0? item.eSeatNum+'E ':''}}{{item.fSeatNum>0? item.fSeatNum+'F ':''}}</span> @click="getMembersDetail(item)">{{item.guestNum}}/{{item.ySeatNum>0? item.ySeatNum+'Y ':''}}{{item.eSeatNum>0? item.eSeatNum+'E ':''}}{{item.fSeatNum>0? item.fSeatNum+'F ':''}}</span>
<span v-if='item.guestNumStatus==2' style="color:#E95252;" class="personNo" slot="reference" <span v-if='item.guestNumStatus==2' style="color:#E95252;" class="personNo" slot="reference"
@click="getMembersDetail(item)">{{item.guestNum}}/{{item.ySeatNum>0? item.ySeatNum+'Y ':''}}{{item.eSeatNum>0? item.eSeatNum+'E ':''}}{{item.fSeatNum>0? item.fSeatNum+'F ':''}}</span> @click="getMembersDetail(item)">{{item.guestNum}}/{{item.ySeatNum>0? item.ySeatNum+'Y ':''}}{{item.eSeatNum>0? item.eSeatNum+'E ':''}}{{item.fSeatNum>0? item.fSeatNum+'F ':''}}</span>
<span v-if='item.guestNumStatus==3' style="color:#666;" class="personNo" slot="reference" <span v-if='item.guestNumStatus==3' style="color:#666;" class="personNo" slot="reference"
@click="getMembersDetail(item)">{{item.guestNum}}/{{item.ySeatNum>0? item.ySeatNum+'Y ':''}}{{item.eSeatNum>0? item.eSeatNum+'E ':''}}{{item.fSeatNum>0? item.fSeatNum+'F ':''}}</span> @click="getMembersDetail(item)">{{item.guestNum}}/{{item.ySeatNum>0? item.ySeatNum+'Y ':''}}{{item.eSeatNum>0? item.eSeatNum+'E ':''}}{{item.fSeatNum>0? item.fSeatNum+'F ':''}}</span>
<br/> <br />
<span v-if="item.refuseVisaNum>0" style="color:red"> <span v-if="item.refuseVisaNum>0" style="color:red">
({{$t('salesModule.RefuseQ')}} {{item.refuseVisaNum}}{{$t('sm.person')}}) ({{$t('salesModule.RefuseQ')}} {{item.refuseVisaNum}}{{$t('sm.person')}})
</span> </span>
<!-- </el-popover> -->
</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>
...@@ -1699,7 +1691,8 @@ ...@@ -1699,7 +1691,8 @@
</tr> </tr>
</table> </table>
</div> </div>
<span style="cursor: pointer;color: #e95252;text-decoration: underline;" slot="reference">{{item.discountMoney}}</span> <span style="cursor: pointer;color: #e95252;text-decoration: underline;"
slot="reference">{{item.discountMoney}}</span>
</el-popover> </el-popover>
</td> </td>
<td> <td>
...@@ -1710,10 +1703,11 @@ ...@@ -1710,10 +1703,11 @@
<th>{{$t('fnc.jine')}}</th> <th>{{$t('fnc.jine')}}</th>
<th>{{$t('advmanager.v_type')}}</th> <th>{{$t('advmanager.v_type')}}</th>
<th>{{$t('system.label_info')}}</th> <th>{{$t('system.label_info')}}</th>
<th>{{$t('salesModule.Time')}}<span @click="goUrlHappy(item)" style="cursor: pointer;" colspan="4" align="center">{{$t('salesModule.Time')}}{{$t('salesModule.LookMore')}}</span></th> <th>{{$t('salesModule.Time')}}<span @click="goUrlHappy(item)" style="cursor: pointer;"
colspan="4" align="center">{{$t('salesModule.Time')}}{{$t('salesModule.LookMore')}}</span>
</th>
</tr> </tr>
<tr v-for="(item2,index2) in redBagList" <tr v-for="(item2,index2) in redBagList" :key="index2">
:key="index2">
<td>{{item2.Money}}</td> <td>{{item2.Money}}</td>
<td> <td>
{{item2.Type==1?"收入":"折扣"}} {{item2.Type==1?"收入":"折扣"}}
...@@ -1726,7 +1720,8 @@ ...@@ -1726,7 +1720,8 @@
</tr> </tr>
</table> </table>
</div> </div>
<span @click="getRedBag(item)" style="cursor: pointer;color: #e95252;text-decoration: underline;" slot="reference">{{item.redEnvelopeMoney}}</span> <span @click="getRedBag(item)" style="cursor: pointer;color: #e95252;text-decoration: underline;"
slot="reference">{{item.redEnvelopeMoney}}</span>
</el-popover> </el-popover>
<span v-else style="color: #e95252;text-decoration: underline;">{{item.redEnvelopeMoney}}</span> <span v-else style="color: #e95252;text-decoration: underline;">{{item.redEnvelopeMoney}}</span>
...@@ -1790,37 +1785,46 @@ ...@@ -1790,37 +1785,46 @@
<el-tooltip effect="dark" :content="$t('pub.more')" placement="top-start" style="float:left"> <el-tooltip effect="dark" :content="$t('pub.more')" placement="top-start" style="float:left">
<el-popover width='100' trigger="hover"> <el-popover width='100' trigger="hover">
<div class="groupTourOrder_more"> <div class="groupTourOrder_more">
<div @click="goUrlT('confirmationOrder',item.orderId)">{{$t('salesModule.QRH')}}{{item.operationState === 2 ? '(拒绝)' : item.operationState === 1 ? '(通过)' : item.operationState === 0 ? '(待审核)' : ''}}</div> <div @click="goUrlT('confirmationOrder',item.orderId)">
{{$t('salesModule.QRH')}}{{item.operationState === 2 ? '(拒绝)' : item.operationState === 1 ? '(通过)' : item.operationState === 0 ? '(待审核)' : ''}}
</div>
<div v-if="isEditOrderCreate==1" @click="getSalerInfo(item)">{{$t('salesModule.UpdateYWY')}}</div> <div v-if="isEditOrderCreate==1" @click="getSalerInfo(item)">{{$t('salesModule.UpdateYWY')}}</div>
<div v-if="item.isGuestOk=='1'&&item.outNotice==1" @click="toTrip(item)">{{$t('Operation.Op_teamNotice')}}<span <div v-if="item.isGuestOk=='1'&&item.outNotice==1" @click="toTrip(item)">
v-if="item.outNotice==1">(OK)</span><span v-else>({{$t('visa.v_zanding')}})</span></div> {{$t('Operation.Op_teamNotice')}}<span v-if="item.outNotice==1">(OK)</span><span
<div v-if="item.orderState!='4'" @click="goUrlP('旅客名单','passengerSaleList',item)">{{$t('salesModule.LKMD')}}</div> v-else>({{$t('visa.v_zanding')}})</span></div>
<div v-if="item.orderState!='4'" @click="goUrlP('旅客名单','passengerSaleList',item)">
{{$t('salesModule.LKMD')}}</div>
<div v-if="item.isOrder=='1'&&(item.isHaveFinance=='1'||item.orderState=='1')" <div v-if="item.isOrder=='1'&&(item.isHaveFinance=='1'||item.orderState=='1')"
@click='getHouse(item)'>{{$t('salesModule.UpdateRoom')}} @click='getHouse(item)'>{{$t('salesModule.UpdateRoom')}}
</div> </div>
<div v-if="item.isOrder=='1'&&item.orderState!='4' && TransferMission ==true" @click="transfer(item)">{{$t('salesModule.OrderGroup')}}</div> <div v-if="item.isOrder=='1'&&item.orderState!='4' && TransferMission ==true"
<div v-if="item.orderState=='1'||item.orderState=='2'" @click="transfer(item)">{{$t('salesModule.OrderGroup')}}</div>
@click='setChargeLoss(item)'> <div v-if="item.orderState=='1'||item.orderState=='2'" @click='setChargeLoss(item)'>
<span v-if="item.isChargeLossOrders==1">{{$t('salesModule.LossSheet')}}</span> <span v-if="item.isChargeLossOrders==1">{{$t('salesModule.LossSheet')}}</span>
<span v-else>{{$t('salesModule.LossReceipt')}}</span> <span v-else>{{$t('salesModule.LossReceipt')}}</span>
</div> </div>
<!-- item.confirmFileList.length>0 && ((item.receivableMoney - item.invoiceApplyTotal) > 0) --> <!-- item.confirmFileList.length>0 && ((item.receivableMoney - item.invoiceApplyTotal) > 0) -->
<div v-if='(item.confirmFileList.length>0||item.contractNum.length>0) && ((item.receivableMoney - item.invoiceApplyTotal) > 0) && (qjGroupId==userInfo.RB_Group_id || F_InvoiceManagement)' <div
@click='goUrlAdd("invoicesManagerAdd", item.orderId, item.tcid, item.customerId, 1)'>{{$t('salesModule.ApplyInvoice')}}</div> v-if='(item.confirmFileList.length>0||item.contractNum.length>0) && ((item.receivableMoney - item.invoiceApplyTotal) > 0) && (qjGroupId==userInfo.RB_Group_id || F_InvoiceManagement)'
@click='goUrlAdd("invoicesManagerAdd", item.orderId, item.tcid, item.customerId, 1)'>
{{$t('salesModule.ApplyInvoice')}}</div>
<div <div
@click='Discount(item.tcid),SOMsg.OrderId = item.orderId,SOMsg.OrderUnitPrice = item.unit_Price'> @click='Discount(item.tcid),SOMsg.OrderId = item.orderId,SOMsg.OrderUnitPrice = item.unit_Price'>
{{$t('pub.ApplyYH')}}</div> {{$t('pub.ApplyYH')}}</div>
<div v-if="qjGroupId==userInfo.RB_Group_id || F_Finance_Create" <div v-if="qjGroupId==userInfo.RB_Group_id || F_Finance_Create" @click='ShenQingPhoto(item)'>
@click='ShenQingPhoto(item)'>
{{$t('salesModule.ApplyPhoto')}}</div> {{$t('salesModule.ApplyPhoto')}}</div>
<div v-if="item.isOrder=='1'&&(item.orderState=='1'||item.orderState=='2'||item.orderState=='3') && item.isCanClear==0" <div
v-if="item.isOrder=='1'&&(item.orderState=='1'||item.orderState=='2'||item.orderState=='3') && item.isCanClear==0"
@click='deleteItem(item)'>{{$t('pub.cancelBtn')}} @click='deleteItem(item)'>{{$t('pub.cancelBtn')}}
</div> </div>
<div @click='SpecialAPP(item.tcid, item.orderId, item.orderspecialofferId)'>特价申请函</div> <div @click='SpecialAPP(item.tcid, item.orderId, item.orderspecialofferId)'>特价申请函</div>
<div v-if="item.isOrder=='1'&&(item.orderState=='1'||item.orderState=='2'||item.orderState=='3') && item.isCanClear==1" title="如需取消订单清联系OP" style="color:red;"> <div
v-if="item.isOrder=='1'&&(item.orderState=='1'||item.orderState=='2'||item.orderState=='3') && item.isCanClear==1"
title="如需取消订单清联系OP" style="color:red;">
{{$t('salesModule.OrderSured')}} {{$t('salesModule.OrderSured')}}
</div> </div>
<div v-if="item.scoreNum >= 0" @click='goInvetig("investigationList", item.tcid, item.orderId)'>{{$t('salesModule.LookTourse')}}</div> <div v-if="item.scoreNum >= 0" @click='goInvetig("investigationList", item.tcid, item.orderId)'>
{{$t('salesModule.LookTourse')}}</div>
</div> </div>
<el-button slot="reference" type="primary" <el-button slot="reference" type="primary"
style='background:#297BEF; border-color:#297BEF;border-top-left-radius: 0;border-bottom-left-radius: 0;' style='background:#297BEF; border-color:#297BEF;border-top-left-radius: 0;border-bottom-left-radius: 0;'
...@@ -1828,36 +1832,47 @@ ...@@ -1828,36 +1832,47 @@
</el-popover> </el-popover>
</el-tooltip> </el-tooltip>
</el-button-group> </el-button-group>
<payurlItem v-if="item.commissionSharePeople !== userId && item.airConfirm!=2" :item="item" :showID="showID" :photoF="item.photoNum>0" <payurlItem v-if="item.commissionSharePeople !== userId && item.airConfirm!=2" :item="item"
v-show="item.orderState!='4'&&item.orderState!='3' && (qjGroupId==userInfo.RB_Group_id || F_Finance_Create)" v-on:childByValue="childByValue"></payurlItem> :showID="showID" :photoF="item.photoNum>0"
v-show="item.orderState!='4'&&item.orderState!='3' && (qjGroupId==userInfo.RB_Group_id || F_Finance_Create)"
v-on:childByValue="childByValue"></payurlItem>
</td> </td>
</tr> </tr>
<tr style="height:20px"> <tr style="height:20px">
<td colspan="17" class="RL_Order" style="height:20px"> <td colspan="17" class="RL_Order" style="height:20px">
<span class="RL-remarkTitle" v-if="item.guestList.length>0">{{$t('salesModule.MD')}}:</span> <span class="RL-remarkTitle" v-if="item.guestList.length>0">{{$t('salesModule.MD')}}:</span>
<span class="RL-redType RL-remarkCon" v-if="item.guestList.length>0"> <span class="RL-redType RL-remarkCon" v-if="item.guestList.length>0">
<span v-for="(childItem) in item.guestList" style="color: blue">{{childItem.userName}} <span v-if="childItem.isApplyPhoto == 1" style="color:red">({{$t('salesModule.Zhao')}})</span> &nbsp;&nbsp;</span> <span v-for="(childItem) in item.guestList" style="color: blue">{{childItem.userName}} <span
<span v-if="item.photoNum>0">({{$t('salesModule.NoPhoto')}} {{item.photoNum}}{{$t('salesModule.Fen')}})</span> v-if="childItem.isApplyPhoto == 1" style="color:red">({{$t('salesModule.Zhao')}})</span>
&nbsp;&nbsp;</span>
<span v-if="item.photoNum>0">({{$t('salesModule.NoPhoto')}}
{{item.photoNum}}{{$t('salesModule.Fen')}})</span>
</span> </span>
<p v-if="item.cancelGuestList.length>0"> <p v-if="item.cancelGuestList.length>0">
<span class="" >{{$t('salesModule.CancelOrder')}}:</span> <span class="">{{$t('salesModule.CancelOrder')}}:</span>
<span class="RL-redType RL-remarkCon"> <span class="RL-redType RL-remarkCon">
<span style="color: red;" v-for="(childItem) in item.cancelGuestList">{{childItem.userName}} &nbsp;&nbsp;</span> <span style="color: red;" v-for="(childItem) in item.cancelGuestList">{{childItem.userName}}
&nbsp;&nbsp;</span>
</span> </span>
</p> </p>
<span style="display: block">{{$t('salesModule.RoomInfo')}}<span v-if="item.oneSex>0" style="color: #e95252">({{item.oneSex==1?'单男':'单女'}})</span>:{{item.orderGuestHouseStr}}</span> <span style="display: block">{{$t('salesModule.RoomInfo')}}<span v-if="item.oneSex>0"
style="color: #e95252">({{item.oneSex==1?'单男':'单女'}})</span>:{{item.orderGuestHouseStr}}</span>
<div> <div>
<span v-if="item.opTipMoney==''&&item.tipMoney!=''" style="color:red">({{$t('fnc.xiaofei')}}:{{item.tipMoney}})</span> <span v-if="item.opTipMoney==''&&item.tipMoney!=''"
style="color:red">({{$t('fnc.xiaofei')}}:{{item.tipMoney}})</span>
<span v-if="item.opTipMoney!=''" style="color:red"> <span v-if="item.opTipMoney!=''" style="color:red">
({{$t('fnc.xiaofei')}}:{{item.opTipMoney}}) ({{$t('fnc.xiaofei')}}:{{item.opTipMoney}})
<span>{{$t('salesModule.Docments')}}:</span> <span>{{$t('salesModule.Docments')}}:</span>
<span @click="gourlTip('FinancialDocumentsDetail',id)" style="text-decoration:underline;color:blue;cursor:pointer" v-for="(id,i) in item.tipFrId" :key="i">{{id}}</span> <span @click="gourlTip('FinancialDocumentsDetail',id)"
style="text-decoration:underline;color:blue;cursor:pointer" v-for="(id,i) in item.tipFrId"
:key="i">{{id}}</span>
</span> </span>
</div> </div>
<div v-if="(item.contractNum.length==0&&item.confirmFileList.length==0)&&(qjGroupId==userInfo.RB_Group_id||F_ContractManagement)"> <div
v-if="(item.contractNum.length==0&&item.confirmFileList.length==0)&&(qjGroupId==userInfo.RB_Group_id||F_ContractManagement)">
<span class="GO_Contract" @click="goContract(item,{})">{{$t('salesModule.GetContract')}}</span> <span class="GO_Contract" @click="goContract(item,{})">{{$t('salesModule.GetContract')}}</span>
</div> </div>
<div v-else> <div v-else>
...@@ -1911,7 +1926,7 @@ ...@@ -1911,7 +1926,7 @@
<div> <div>
特价申请函: 特价申请函:
<template v-if="item.orderspecialofferId === 0"> <template v-if="item.orderspecialofferId === 0">
<span class="font-color-blur" >未申请</span> <span class="font-color-blur">未申请</span>
</template> </template>
<template v-else> <template v-else>
<span class="font-color-red" v-if="item.orderspecialofferState === -1">拒绝</span> <span class="font-color-red" v-if="item.orderspecialofferState === -1">拒绝</span>
...@@ -1937,7 +1952,8 @@ ...@@ -1937,7 +1952,8 @@
<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>
<!-- @click="goUrl('财务单据','FinancialDocumentsDetail',item2.frID,'')" --> <!-- @click="goUrl('财务单据','FinancialDocumentsDetail',item2.frID,'')" -->
</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)">
...@@ -1949,7 +1965,8 @@ ...@@ -1949,7 +1965,8 @@
<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.refundFinanceList.length===0" style="cursor: default;">{{$t('system.content_noData')}}</span> <span v-if="item.refundFinanceList.length===0"
style="cursor: default;">{{$t('system.content_noData')}}</span>
</div> </div>
</div> </div>
<div> <div>
...@@ -1966,7 +1983,8 @@ ...@@ -1966,7 +1983,8 @@
<span v-else-if="item2.invoiceApplyState === 2" class="groupTourOrder_tickets_black" <span v-else-if="item2.invoiceApplyState === 2" class="groupTourOrder_tickets_black"
@click="goIisDetail(item2.id)">{{item2.id}}</span> @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>
...@@ -1984,10 +2002,7 @@ ...@@ -1984,10 +2002,7 @@
<el-form :model="SpecialAppMsg" label-width="80px"> <el-form :model="SpecialAppMsg" label-width="80px">
<el-form-item label="审核人"> <el-form-item label="审核人">
<el-select filterable v-model="SpecialAppMsg.UpdateBy" :placeholder="$t('pub.pleaseSel')"> <el-select filterable v-model="SpecialAppMsg.UpdateBy" :placeholder="$t('pub.pleaseSel')">
<el-option <el-option v-for="item in employeeList" :label="item.EmName" :value="item.EmployeeId"
v-for="item in employeeList"
:label="item.EmName"
:value="item.EmployeeId"
:key="item.EmployeeId"> :key="item.EmployeeId">
</el-option> </el-option>
</el-select> </el-select>
...@@ -1997,7 +2012,8 @@ ...@@ -1997,7 +2012,8 @@
</el-form-item> </el-form-item>
</el-form> </el-form>
<div slot="footer" class="dialog-footer"> <div slot="footer" class="dialog-footer">
<button class="hollowFixedBtn" @click="SpecialAppShow=false,SpecialAppMsg.UpdateBy = '',SpecialAppMsg.ApplyReason = ''">{{$t('pub.cancelBtn')}}</button> <button class="hollowFixedBtn"
@click="SpecialAppShow=false,SpecialAppMsg.UpdateBy = '',SpecialAppMsg.ApplyReason = ''">{{$t('pub.cancelBtn')}}</button>
<button class="normalBtn" type="primary" @click="SpecialAppPost">{{$t('pub.sureBtn')}}</button> <button class="normalBtn" type="primary" @click="SpecialAppPost">{{$t('pub.sureBtn')}}</button>
</div> </div>
</el-dialog> </el-dialog>
...@@ -2043,10 +2059,12 @@ ...@@ -2043,10 +2059,12 @@
<label><input type="checkbox" v-model="SQcheckdAll">{{$t('system.table_chekAll')}}</label> <label><input type="checkbox" v-model="SQcheckdAll">{{$t('system.table_chekAll')}}</label>
</div> </div>
<div class="SQguestList"> <div class="SQguestList">
<label v-for="item in SQguestList"><input type="checkbox" v-model="item.check">{{item.userName}}({{item.sexStr}})</label> <label v-for="item in SQguestList"><input type="checkbox"
v-model="item.check">{{item.userName}}({{item.sexStr}})</label>
</div> </div>
<div class="needfenshu"> <div class="needfenshu">
<label>{{$t('salesModule.NeedFen')}}:</label><el-input type="number" v-model="SQPhotoNum" class="w200"></el-input> <label>{{$t('salesModule.NeedFen')}}:</label>
<el-input type="number" v-model="SQPhotoNum" class="w200"></el-input>
</div> </div>
<p style="color: red">{{$t('salesModule.ZhuMeiren')}}</p> <p style="color: red">{{$t('salesModule.ZhuMeiren')}}</p>
<div slot="footer" class="dialog-footer"> <div slot="footer" class="dialog-footer">
...@@ -2075,9 +2093,9 @@ ...@@ -2075,9 +2093,9 @@
ID: 0, ID: 0,
}, },
//是否有修改业务员权限,1-有 //是否有修改业务员权限,1-有
isEditOrderCreate:0, isEditOrderCreate: 0,
happy:false, happy: false,
redBagList:[], redBagList: [],
// 修改应收总额 // 修改应收总额
Ysze: false, Ysze: false,
addMsg_form: {}, addMsg_form: {},
...@@ -2185,7 +2203,7 @@ ...@@ -2185,7 +2203,7 @@
BackCityTime: '', BackCityTime: '',
CommissionSharePeople: '-1', CommissionSharePeople: '-1',
CommissionShareMoney: '0', CommissionShareMoney: '0',
OneSex:0 OneSex: 0
}, },
employeeMsg: { employeeMsg: {
BranchId: '-1', BranchId: '-1',
...@@ -2259,7 +2277,7 @@ ...@@ -2259,7 +2277,7 @@
ContactName: '', ContactName: '',
CustomerId: '-1', CustomerId: '-1',
GroupType: '-1', GroupType: '-1',
GroupTypeArray:[], GroupTypeArray: [],
OrderSource: '-1', OrderSource: '-1',
CStartDate: '', CStartDate: '',
CEndDate: '', CEndDate: '',
...@@ -2350,24 +2368,24 @@ ...@@ -2350,24 +2368,24 @@
OrderUnitPrice: 0 OrderUnitPrice: 0
}, },
SuperiorPeople: [], SuperiorPeople: [],
TransferMission:'',//订单转团权限 TransferMission: '', //订单转团权限
Unit_Price:0, Unit_Price: 0,
goLVurl:{ //跳转到旅客页面的参数 goLVurl: { //跳转到旅客页面的参数
orderId:'', orderId: '',
tcid:'', tcid: '',
tcnum:'', tcnum: '',
isOrder:'', isOrder: '',
}, },
ShenQingPhotoShow: false, ShenQingPhotoShow: false,
SQguestList: [], SQguestList: [],
SQcheckdAll: true, SQcheckdAll: true,
SQPhotoNum: '', SQPhotoNum: '',
SQOrderId: '', SQOrderId: '',
F_InvoiceManagement:false,//发票权限 F_InvoiceManagement: false, //发票权限
qjGroupId:-1, qjGroupId: -1,
F_Finance_Create:false,//制单权限 F_Finance_Create: false, //制单权限
F_ContractManagement:false, //合同权限 F_ContractManagement: false, //合同权限
userInfo:{}, userInfo: {},
} }
}, },
components: { components: {
...@@ -2389,7 +2407,8 @@ ...@@ -2389,7 +2407,8 @@
} }
return x1 + x2 return x1 + x2
} }
},watch:{ },
watch: {
SQcheckdAll(val) { SQcheckdAll(val) {
this.checkdAll(val) this.checkdAll(val)
} }
...@@ -2419,11 +2438,11 @@ ...@@ -2419,11 +2438,11 @@
}); });
}, },
SpecialAppPost(){ SpecialAppPost() {
if (this.SpecialAppMsg.ApplyReason === '') { if (this.SpecialAppMsg.ApplyReason === '') {
return this.$message.error('请填写申请说明') return this.$message.error('请填写申请说明')
} }
if (this.SpecialAppMsg.UpdateBy === ''){ if (this.SpecialAppMsg.UpdateBy === '') {
return this.$message.error('请选择审核人') return this.$message.error('请选择审核人')
} }
this.apipost('sellorder_get_AddOrderSpecialOffer', this.SpecialAppMsg, res => { this.apipost('sellorder_get_AddOrderSpecialOffer', this.SpecialAppMsg, res => {
...@@ -2432,25 +2451,25 @@ ...@@ -2432,25 +2451,25 @@
this.getList() this.getList()
this.SpecialAppShow = false this.SpecialAppShow = false
} }
},null) }, null)
}, },
SpecialAPP(tcid, orderId, ID){ SpecialAPP(tcid, orderId, ID) {
this.SpecialAppMsg.OrderId = orderId this.SpecialAppMsg.OrderId = orderId
this.SpecialAppShow = true this.SpecialAppShow = true
this.SpecialAppMsg.ID = ID this.SpecialAppMsg.ID = ID
}, },
SQPhoto(){ SQPhoto() {
let checkID = [] let checkID = []
this.SQguestList.map(x=>{ this.SQguestList.map(x => {
if (x.check) { if (x.check) {
checkID.push(x.guestId) checkID.push(x.guestId)
} }
}) })
if(checkID.length < 1) { if (checkID.length < 1) {
this.$message.error('请选择旅客!') this.$message.error('请选择旅客!')
return return
} }
if(!this.SQPhotoNum) { if (!this.SQPhotoNum) {
this.$message.error('请输入份数!') this.$message.error('请输入份数!')
return return
} }
...@@ -2459,20 +2478,20 @@ ...@@ -2459,20 +2478,20 @@
PhotoNum: this.SQPhotoNum, PhotoNum: this.SQPhotoNum,
OrderId: this.SQOrderId, OrderId: this.SQOrderId,
} }
this.apipost('sellorder_get_SetOrderGuestPhoto',msg, res => { this.apipost('sellorder_get_SetOrderGuestPhoto', msg, res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.getList() this.getList()
this.ShenQingPhotoShow = false this.ShenQingPhotoShow = false
} }
},null) }, null)
}, },
checkdAll(val){ checkdAll(val) {
if (val) { if (val) {
this.SQguestList.map(x=>{ this.SQguestList.map(x => {
x.check = true x.check = true
}) })
} else { } else {
this.SQguestList.map(x=>{ this.SQguestList.map(x => {
x.check = false x.check = false
}) })
} }
...@@ -2480,12 +2499,12 @@ ...@@ -2480,12 +2499,12 @@
this.SQguestList = this.SQguestList this.SQguestList = this.SQguestList
this.$forceUpdate() this.$forceUpdate()
}, },
ShenQingPhoto(item){ ShenQingPhoto(item) {
if (item.guestList.length < 1) { if (item.guestList.length < 1) {
this.$message.error('暂无旅客,请添加旅客后再尝试申请!') this.$message.error('暂无旅客,请添加旅客后再尝试申请!')
return return
} }
item.guestList.map(x=>{ item.guestList.map(x => {
x.check = true x.check = true
}) })
this.SQguestList = item.guestList this.SQguestList = item.guestList
...@@ -2495,10 +2514,10 @@ ...@@ -2495,10 +2514,10 @@
closeChangeMachie(done) { // 弹=窗口关闭 closeChangeMachie(done) { // 弹=窗口关闭
done(); done();
}, },
setDanren(e){ setDanren(e) {
e === this.addMsg.OneSex ? this.addMsg.OneSex = 0 : this.addMsg.OneSex = e e === this.addMsg.OneSex ? this.addMsg.OneSex = 0 : this.addMsg.OneSex = e
}, },
gourlTip(path,id){ gourlTip(path, id) {
this.$router.push({ this.$router.push({
name: path, name: path,
query: { query: {
...@@ -2508,20 +2527,20 @@ ...@@ -2508,20 +2527,20 @@
}); });
}, },
//跳转至领取合同 //跳转至领取合同
goContract(item,sItem){ goContract(item, sItem) {
let routeData = this.$router.resolve({ let routeData = this.$router.resolve({
name: 'TravelContractNew', name: 'TravelContractNew',
query: { query: {
TCID: item.tcid, TCID: item.tcid,
guestId:sItem.guestId, guestId: sItem.guestId,
orderID:item.orderId, orderID: item.orderId,
blank: 'y' blank: 'y'
} }
}) })
window.open(routeData.href, '_blank') window.open(routeData.href, '_blank')
}, },
goUrlHappy(item){ goUrlHappy(item) {
this.happy=false; this.happy = false;
this.$router.push({ this.$router.push({
name: "HappyPassbook", name: "HappyPassbook",
query: { query: {
...@@ -2530,23 +2549,21 @@ ...@@ -2530,23 +2549,21 @@
} }
}); });
}, },
getRedBag(item){ getRedBag(item) {
let msg={ let msg = {
CustomerId:item.customerId, CustomerId: item.customerId,
pageIndex: 1, pageIndex: 1,
pageSize: 4, pageSize: 4,
}; };
if(item.customerId){ if (item.customerId) {
this.apipost('customer_post_GetC_BigRedEnvelopeInfoList',msg, res => { this.apipost('customer_post_GetC_BigRedEnvelopeInfoList', msg, res => {
this.happy=true; this.happy = true;
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.redBagList = res.data.data.pageData; this.redBagList = res.data.data.pageData;
} else {}
}, err => {})
} else { } else {
} this.redBagList = [];
}, err => {
})
}else{
this.redBagList =[];
} }
}, },
...@@ -2703,7 +2720,7 @@ ...@@ -2703,7 +2720,7 @@
if (this.addMsg.GroupType == 4) { if (this.addMsg.GroupType == 4) {
ChirdNum = 0 ChirdNum = 0
} }
let count = (Number(this.addMsg.AirticketNum) + Number(this.addMsg.ManNum) +ChirdNum + let count = (Number(this.addMsg.AirticketNum) + Number(this.addMsg.ManNum) + ChirdNum +
Number(this.addMsg.BabyNum) + Number(this.addMsg.OldPeopleNum)) Number(this.addMsg.BabyNum) + Number(this.addMsg.OldPeopleNum))
if (count < this.addMsg.VisaNum) { if (count < this.addMsg.VisaNum) {
this.addMsg.VisaNum = count this.addMsg.VisaNum = count
...@@ -2747,7 +2764,7 @@ ...@@ -2747,7 +2764,7 @@
}, err => {}) }, err => {})
}, },
deleteItem(obj) { deleteItem(obj) {
if(obj.isCanClear==1){ if (obj.isCanClear == 1) {
this.Error('OP已确认订单,如需取消请联系当团OP!'); this.Error('OP已确认订单,如需取消请联系当团OP!');
return; return;
} }
...@@ -2904,34 +2921,6 @@ ...@@ -2904,34 +2921,6 @@
}) })
window.open(routeData.href, '_blank') window.open(routeData.href, '_blank')
}, },
goUrlR() {
let obj = this.tripObj
let routeData = this.$router.resolve({
name: obj.path,
query: {
id: obj.configId,
orderId: obj.orderId,
cityId: obj.startCityId,
tcid: obj.tcid,
vshowA: this.travelControlTripLayer.vshowA,
vshowB: this.travelControlTripLayer.vshowB,
vshowC: this.travelControlTripLayer.vshowC,
vshowD: this.travelControlTripLayer.vshowD,
vshowE: this.travelControlTripLayer.vshowE,
vshowF: this.travelControlTripLayer.vshowF,
vshowG: this.travelControlTripLayer.vshowG,
vshowH: this.travelControlTripLayer.vshowH,
vshowI: this.travelControlTripLayer.vshowI,
vshowJ: this.travelControlTripLayer.vshowJ,
vshowK: this.travelControlTripLayer.vshowK,
vshowL: this.travelControlTripLayer.vshowL,
vshowM: this.travelControlTripLayer.vshowM,
vshowN: this.travelControlTripLayer.vshowN,
vshowLLR: this.travelControlTripLayer.vshowLLR,
}
})
window.open(routeData.href, '_blank')
},
goUrlP(name, path, item) { goUrlP(name, path, item) {
this.$router.push({ this.$router.push({
name: path, name: path,
...@@ -3126,11 +3115,11 @@ ...@@ -3126,11 +3115,11 @@
this.addMsg.Unit_Price = x.Unit_Price this.addMsg.Unit_Price = x.Unit_Price
this.addMsg.GroupTypeNeedHouse = String(x.GroupTypeNeedHouse) this.addMsg.GroupTypeNeedHouse = String(x.GroupTypeNeedHouse)
this.stratPrice = res.data.data.modelPrice.GoAddPrice this.stratPrice = res.data.data.modelPrice.GoAddPrice
if(this.addMsg.GroupType == 4){ if (this.addMsg.GroupType == 4) {
this.HightUnitPrice = '1' this.HightUnitPrice = '1'
this.Unit_Price = x.Unit_Price this.Unit_Price = x.Unit_Price
}else { } else {
this.HightUnitPrice = '2' this.HightUnitPrice = '2'
this.Unit_Price = this.addObj.SingleDMCPrice this.Unit_Price = this.addObj.SingleDMCPrice
} }
...@@ -3167,7 +3156,8 @@ ...@@ -3167,7 +3156,8 @@
}, },
err => {} err => {}
) )
let maxPeopleNum = (Number(this.addMsg.ManNum) + Number(this.addMsg.ChirdNoNeedBedNum) + Number(this.addMsg.ChirdNeedBedNum) + Number(this.addMsg.OldPeopleNum) + Number(this.addMsg.AirticketNum) ) let maxPeopleNum = (Number(this.addMsg.ManNum) + Number(this.addMsg.ChirdNoNeedBedNum) + Number(this
.addMsg.ChirdNeedBedNum) + Number(this.addMsg.OldPeopleNum) + Number(this.addMsg.AirticketNum))
this.Unit_PriceList = []; this.Unit_PriceList = [];
this.apipost('sellorder_post_GetLessPrice', { this.apipost('sellorder_post_GetLessPrice', {
"TCID": obj.tcid, "TCID": obj.tcid,
...@@ -3308,7 +3298,8 @@ ...@@ -3308,7 +3298,8 @@
}, },
getTypePrice2() { getTypePrice2() {
let maxPeopleNum = (Number(this.addMsg.ManNum) + Number(this.addMsg.ChirdNoNeedBedNum) + Number(this.addMsg.ChirdNeedBedNum) + Number(this.addMsg.OldPeopleNum) + Number(this.addMsg.AirticketNum) ) let maxPeopleNum = (Number(this.addMsg.ManNum) + Number(this.addMsg.ChirdNoNeedBedNum) + Number(this.addMsg
.ChirdNeedBedNum) + Number(this.addMsg.OldPeopleNum) + Number(this.addMsg.AirticketNum))
this.Unit_PriceList = []; this.Unit_PriceList = [];
this.apipost('sellorder_post_GetLessPrice', { this.apipost('sellorder_post_GetLessPrice', {
...@@ -3502,12 +3493,13 @@ ...@@ -3502,12 +3493,13 @@
(Number(this.stratPrice) + Number(this.returnPrice)) (Number(this.stratPrice) + Number(this.returnPrice))
let dandijie let dandijie
if(this.addMsg.GroupType == 4){ if (this.addMsg.GroupType == 4) {
dandijie = this.addObj.SingleDMCPrice * Number(this.addMsg.AirticketNum) - this.addObj.ChildNoNeedPrice * (Number(this.addMsg.ChirdNoNeedBedNum)) dandijie = this.addObj.SingleDMCPrice * Number(this.addMsg.AirticketNum) - this.addObj.ChildNoNeedPrice * (
Number(this.addMsg.ChirdNoNeedBedNum))
ertong = 0 ertong = 0
ertongbed = 0 ertongbed = 0
zafeiqianzhen = 0 zafeiqianzhen = 0
}else { } else {
dandijie = this.addObj.SingleDMCPrice * Number(this.addMsg.AirticketNum) dandijie = this.addObj.SingleDMCPrice * Number(this.addMsg.AirticketNum)
} }
...@@ -3565,12 +3557,13 @@ ...@@ -3565,12 +3557,13 @@
Number(this.addMsg.OldPeopleNum)) * Number(this.addMsg.OldPeopleNum)) *
(Number(this.stratPrice) + Number(this.returnPrice)) (Number(this.stratPrice) + Number(this.returnPrice))
let dandijie let dandijie
if(this.addMsg.GroupType == 4){ if (this.addMsg.GroupType == 4) {
dandijie = this.addObj.SingleDMCPrice * Number(this.addMsg.AirticketNum) - this.addObj.ChildNoNeedPrice * (Number(this.addMsg.ChirdNoNeedBedNum)) dandijie = this.addObj.SingleDMCPrice * Number(this.addMsg.AirticketNum) - this.addObj.ChildNoNeedPrice * (
Number(this.addMsg.ChirdNoNeedBedNum))
ertong = 0 ertong = 0
ertongbed = 0 ertongbed = 0
zafeiqianzhen = 0 zafeiqianzhen = 0
}else { } else {
dandijie = this.addObj.SingleDMCPrice * Number(this.addMsg.AirticketNum) dandijie = this.addObj.SingleDMCPrice * Number(this.addMsg.AirticketNum)
} }
this.addMsg.PreferPrice = this.addMsg.PreferPrice =
...@@ -3857,8 +3850,18 @@ ...@@ -3857,8 +3850,18 @@
this.clearMsg() this.clearMsg()
this.getList() this.getList()
this.isShowLayer = false this.isShowLayer = false
if(res.data.data == 1){ if (res.data.data == 1) {
this.$router.push({ name: 'passengerSaleList', query: { id: this.goLVurl.orderId,tcid: this.goLVurl.tcid, tcnum: this.goLVurl.tcnum,isOrder: this.goLVurl.isOrder, blank: 'y', tab: '旅客名单'} }); this.$router.push({
name: 'passengerSaleList',
query: {
id: this.goLVurl.orderId,
tcid: this.goLVurl.tcid,
tcnum: this.goLVurl.tcnum,
isOrder: this.goLVurl.isOrder,
blank: 'y',
tab: '旅客名单'
}
});
} }
} else { } else {
...@@ -4061,7 +4064,9 @@ ...@@ -4061,7 +4064,9 @@
this.getCount() this.getCount()
}, },
getLineList() { getLineList() {
this.apipost('line_post_GetAllList_V2', {LineDirection: 0}, res => { this.apipost('line_post_GetAllList_V2', {
LineDirection: 0
}, res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.LineList = res.data.data this.LineList = res.data.data
} else { } else {
...@@ -4197,9 +4202,9 @@ ...@@ -4197,9 +4202,9 @@
) )
}, },
gettypechange(type){ gettypechange(type) {
//切换参团类型时 把值初始化 //切换参团类型时 把值初始化
if(type == 4){ if (type == 4) {
this.addMsg.Unit_Price = this.Unit_Price; this.addMsg.Unit_Price = this.Unit_Price;
// this.addMsg.Unit_Price = this.addObj.SingleDMCPrice; // this.addMsg.Unit_Price = this.addObj.SingleDMCPrice;
this.HightUnitPrice = '1'; this.HightUnitPrice = '1';
...@@ -4216,7 +4221,7 @@ ...@@ -4216,7 +4221,7 @@
this.addMsg.VisaNum = 0; this.addMsg.VisaNum = 0;
this.addMsg.PredictRoomNum = 0; this.addMsg.PredictRoomNum = 0;
this.addMsg.YSeatNum = 0; this.addMsg.YSeatNum = 0;
}else { } else {
this.HightUnitPrice = '2'; this.HightUnitPrice = '2';
this.addMsg.AirticketNum = 0; this.addMsg.AirticketNum = 0;
this.addMsg.ManNum = 0; this.addMsg.ManNum = 0;
...@@ -4232,28 +4237,27 @@ ...@@ -4232,28 +4237,27 @@
this.addMsg.PredictRoomNum = 0; this.addMsg.PredictRoomNum = 0;
this.addMsg.YSeatNum = 0; this.addMsg.YSeatNum = 0;
}; };
if (this.addMsg.CustomerType == 1) { if (this.addMsg.CustomerType == 1) {
if(this.addMsg.GroupType==4){ if (this.addMsg.GroupType == 4) {
this.addMsg.TC_Price = this.addObj.SingleDMCPrice; this.addMsg.TC_Price = this.addObj.SingleDMCPrice;
}else { } else {
this.addMsg.TC_Price = this.addObj.B2BMemberPrice; this.addMsg.TC_Price = this.addObj.B2BMemberPrice;
this.addMsg.Unit_Price = this.addObj.B2BMemberPrice; this.addMsg.Unit_Price = this.addObj.B2BMemberPrice;
} }
} }
if (this.addMsg.CustomerType == 2) { if (this.addMsg.CustomerType == 2) {
if(this.addMsg.GroupType==4){ if (this.addMsg.GroupType == 4) {
this.addMsg.TC_Price = this.addObj.SingleDMCPrice; this.addMsg.TC_Price = this.addObj.SingleDMCPrice;
}else { } else {
this.addMsg.TC_Price = this.addObj.B2BPrice this.addMsg.TC_Price = this.addObj.B2BPrice
this.addMsg.Unit_Price = this.addObj.B2BPrice; this.addMsg.Unit_Price = this.addObj.B2BPrice;
} }
} }
if (this.addMsg.CustomerType == 3) { if (this.addMsg.CustomerType == 3) {
if(this.addMsg.GroupType==4){ if (this.addMsg.GroupType == 4) {
this.addMsg.TC_Price = this.addObj.SingleDMCPrice; this.addMsg.TC_Price = this.addObj.SingleDMCPrice;
}else { } else {
this.addMsg.TC_Price = this.addObj.B2CMemberPrice this.addMsg.TC_Price = this.addObj.B2CMemberPrice
this.addMsg.Unit_Price = this.addObj.B2CMemberPrice; this.addMsg.Unit_Price = this.addObj.B2CMemberPrice;
} }
...@@ -4262,19 +4266,17 @@ ...@@ -4262,19 +4266,17 @@
} }
if (this.addMsg.CustomerType == 4) { if (this.addMsg.CustomerType == 4) {
if(this.addMsg.GroupType==4){ if (this.addMsg.GroupType == 4) {
this.addMsg.TC_Price = this.addObj.SingleDMCPrice; this.addMsg.TC_Price = this.addObj.SingleDMCPrice;
}else { } else {
this.addMsg.TC_Price = this.addObj.B2CPrice this.addMsg.TC_Price = this.addObj.B2CPrice
this.addMsg.Unit_Price = this.addObj.B2CPrice; this.addMsg.Unit_Price = this.addObj.B2CPrice;
} }
this.addMsg.CommissionShareMoney = '0' this.addMsg.CommissionShareMoney = '0'
} }
this.addMsg.GroupTypeNeedHouse = '0' this.addMsg.GroupTypeNeedHouse = '0'
this.addMsg.CustomerId = '0' this.addMsg.CustomerId = '0'
this.Unit_PriceList=[]; this.Unit_PriceList = [];
}, },
// 获取修改业务员权限 // 获取修改业务员权限
GetEditOrderCreateByAuth() { GetEditOrderCreateByAuth() {
...@@ -4287,19 +4289,18 @@ ...@@ -4287,19 +4289,18 @@
}, },
}, },
mounted() { mounted() {
this.qjGroupId=this.QjGroupId(); this.qjGroupId = this.QjGroupId();
this.GetEditOrderCreateByAuth(); this.GetEditOrderCreateByAuth();
let userInfo=this.getLocalStorage(); let userInfo = this.getLocalStorage();
this.userInfo=this.getLocalStorage(); this.userInfo = this.getLocalStorage();
let userMenuCode = ',' + userInfo.ActionMenuCode + ','; let userMenuCode = ',' + userInfo.ActionMenuCode + ',';
this.TransferMission = userMenuCode.indexOf(',Sale_TurnGroup,') != -1 ? true : false; this.TransferMission = userMenuCode.indexOf(',Sale_TurnGroup,') != -1 ? true : false;
this.userId = this.getLocalStorage().EmployeeId this.userId = this.getLocalStorage().EmployeeId
if (this.$route.query.id) { if (this.$route.query.id) {
this.msg.tempOrderId = this.$route.query.id this.msg.tempOrderId = this.$route.query.id
}else{ } else {
this.msg.QStartDate = new Date().Format('yyyy-MM-dd') this.msg.QStartDate = new Date().Format('yyyy-MM-dd')
} }
this.getEmployee() this.getEmployee()
this.getList() this.getList()
this.getLineList() this.getLineList()
...@@ -4312,8 +4313,6 @@ ...@@ -4312,8 +4313,6 @@
this.getFylx() this.getFylx()
this.GetSupperOrderEditAuth(); this.GetSupperOrderEditAuth();
}, },
} }
</script> </script>
<style>
</style>
<template>
<div class="flexOne newContract">
<div class="ElectronicAudit">
<div class="query-box">
<ul>
<li>
<input type="button" class="hollowFixedBtn" value="新增" @click="goToDetail()"/>
</li>
</ul>
</div>
<div class="commonContent" v-loading="loading">
<table class="singeRowTable" border="0" cellspacing="0" cellpadding="0">
<tr>
<th>乙方名称</th>
<th>签订日期</th>
<th>营业执照</th>
<th>合同开始日期</th>
<th>合同结束日期</th>
<th>微途签章图片</th>
<th>微途签订日期</th>
<th>客户签章图片</th>
<th>客户签订日期</th>
<th>创建人</th>
<th>创建日期</th>
<th>操作</th>
</tr>
<tr v-for="(item,index) in dataList" :key="index">
<td>{{item.CustomerName}}</td>
<td>
<template v-if="item.SignDate!=null">
{{getDate(item.SignDate)}}
</template>
</td>
<td>{{item.BusinessLicense}}</td>
<td>
<template v-if="item.ContractStartDate!=null">
{{getDate(item.ContractStartDate)}}
</template>
</td>
<td>
<template v-if="item.ContractEndDate!=null">
{{getDate(item.ContractEndDate)}}
</template>
</td>
<td>
<img :src="item.ViittoSignImg" style="width:100px;"/>
</td>
<td>
<template v-if="item.ViittoSignDate!=null">
{{getDate(item.ViittoSignDate)}}
</template>
</td>
<td>
<img :src="item.CustomerSignImg" style="width:100px;"/>
</td>
<td>
<template v-if="item.CustomerSignDate!=null">
{{getDate(item.CustomerSignDate)}}
</template>
</td>
<td>
{{item.CreateByName}}
</td>
<td>
<template v-if="item.CreateDateStr!=null">
{{getDate(item.CreateDateStr)}}
</template>
</td>
<td>
<el-tooltip class="item" effect="dark" content="修改" placement="top-start">
<el-button type="primary" icon="iconfont icon-Edit" @click="goContract(item)" circle></el-button>
</el-tooltip>
<el-tooltip class="item" effect="dark" content="删除" placement="top-start">
<el-button type="danger" icon="iconfont icon-img_delete_small" circle @click="isdelete(item.Id)">
</el-button>
</el-tooltip>
<el-tooltip class="item" effect="dark" content="下载" placement="top-start">
<el-button type="success" icon="iconfont icon-img_download" circle @click="ToDownWord(item)">
</el-button>
</el-tooltip>
</td>
</tr>
</table>
<div class="noData" v-show="dataList.length<1">
<i class="iconfont icon-kong" style="font-size:100px;"></i>
<p>{{$t("active.ld_noData")}}</p>
</div>
<el-pagination background @current-change="handleChange" :current-page.sync="currentPage"
layout="total,prev, pager, next, jumper" :page-size="msg.pageSize" :total="total">
</el-pagination>
</div>
</div>
</div>
</template>
<script>
import moment from 'moment'
export default {
data() {
return {
msg: {
pageIndex:1,
pageSize:15
},
loading:false,
dataList: [],
currentPage:1,
total:0
};
},
methods: {
getDate(date) {
return moment(date).format("YYYY-MM-DD");
},
getList() {
this.loading = true;
//获取列表数据
this.apipost(
"viitto_get_GetContractService",
this.msg,
res => {
this.loading = false;
if (res.data.resultCode == 1) {
this.dataList = res.data.data.pageData;
this.total = res.data.data.count;
} else {
this.Error(res.data.message);
}
},
err => {}
);
},
handleChange(val){
this.msg.pageIndex = val;
this.getList();
},
//删除
isdelete(Id) {
var that = this;
this.Confirm("是否删除?", function () {
var msg = {
Id: Id
};
that.apipost(
"viitto_post_RemoveViittoContractService",
msg,
res => {
if (res.data.resultCode == 1) {
that.getList();
}
},
null
);
});
},
//新增合同跳转
goToDetail() {
this.$router.push({
name: 'magiContract',
query: {
blank: "y",
}
});
},
//跳转至合同
goContract(item){
this.$router.push({
name: 'magiContract',
query: {
blank: "y",
Id:item.Id
}
});
},
//生成word
ToDownWord:function(item){
this.loading = true;
let msg = {
Id:item.Id,
//用户Id
UId:this.getLocalStorage().EmployeeId,
};
let urlObj = this.domainManager();
this.$http({
headers: {
'Content-Type': 'application/json'
},
method: 'post',
url: urlObj.DomainUrl + '/api/file/GetViittoContract',
data: {
"msg": msg
}
}).then(res => {
if (res.data.resultCode === 1) {
let sign = item.CustomerName+"_合同.doc";
const a = document.createElement('a');
a.setAttribute('download', '');
a.setAttribute('href', urlObj.DomainUrl + '/api/file/DownloadFileForPdf?fileName=' + sign +
'.doc&&fPath=' + res.data.data);
a.click();
} else {
this.Error('WORD获取失败');
}
this.loading = false;
}).catch(err => {
})
},
},
mounted() {
this.getList();
}
};
</script>
<style>
.magiContact{
width:1000px;
height:auto!important;
background-color: #efefef;
margin:0 auto;
color:#555;
}
.magiTitle{
width:100%;
text-align: center;
font-size:30px;
margin:70px 0 120px 0;
}
.magiSignContent{
width:580px;
height:300px;
margin:0 auto;
font-size:20px;
}
.magiSignPlace{
display: flex;
flex-direction: row;
margin-bottom:40px;
}
.magijiafang{
width:80px;
text-align-last: justify
}
.magibtnLine{
border-bottom:1px solid #666666 !important;
color:#666666;
margin-top:-9px;
}
.magiSignPlace input{
border:none!important;
background-color:transparent;
padding:0 2px !important;
font-size:20px;
}
.magiSignPlace .el-input{
border-radius: 0;
height:34px;
border: none !important;
background-color: transparent !important;
padding: 0 2px !important;
text-align: center!important;
}
.w465{
width:465px!important;
}
.w133{
width:133px!important;
}
.magiNYR{
display: flex;
justify-content: space-between;
}
.magiBtmContent{
width:800px;
margin:0 auto;
font-size:20px;
}
.jiayisf{
width:100%;
display: flex;
justify-content: space-between;
}
.w195{
width:195px!important;
}
.w212{
width:212px!important;
}
.magiRule{
margin-top:30px;
text-indent: 40px;
line-height: 40px;
}
.magiComTitle{
font-size:25px;
margin:30px 0;
}
.magiComSecond{
font-size:22px;
margin:20px 0;
}
.magiDingyi{
margin-left:20px;
line-height: 40px;
}
.magiDingyi>div{
margin-bottom:20px;
}
.magiDingyi input {
border: none!important;
background-color: transparent;
padding: 0 2px !important;
}
.magiLastNYR{
display: flex;
flex-direction: row;
}
.w60{
width:60px!important;
}
.magiLastNYR input{
border: none!important;
background-color: transparent;
padding: 0 2px !important;
text-align: center;
font-size:20px;
}
.saveMagiBtn{
color: #fff;
padding: 0 20px;
height: 30px;
background: #E95252;
border: 1px solid #E95252;
cursor: pointer;
border-radius: 15px;
margin-left: 10px;
}
.saveMagDiv{
margin:30px 0;
text-align: center;
}
.magiContact .zindex{
z-index: 9999!important;
opacity: 1!important;
}
.magiContact .signature{
width:600px;
background: #fff;
padding:15px;
border-radius: 20px;
cursor: pointer;
}
.magiContact .Sign{
position: fixed;
width:100%;
height:100%;
top:0;
left:0;
background: rgba(0,0,0,.4);
z-index: -500;
display: flex;
align-items: center;
justify-content: center;
opacity: 0;
}
.magiContact .Sign .signatureBox {
width: 100%;
height: 300px;
box-sizing: border-box;
overflow: hidden;
background: #fff;
z-index: 100;
display: flex;
flex-direction: column;
margin-top:20px;
padding:0 20px;
box-sizing: border-box;
}
.magiContact .Sign .canvasBox {
box-sizing: border-box;
flex: 1;
}
.magiContact .Sign canvas {
border: 1px solid #7d7d7d;
}
.magiContact .Sign .btnBox {
padding: 10px;
text-align: center;
}
.magiContact .Sign .btnBox button:first-of-type {
background: transparent;
border-radius: 4px;
height: 40px;
width: 80px;
font-size: 14px;
}
.magiContact .Sign .btnBox button:last-of-type {
background: #71b900;
color: #fff;
border-radius: 4px;
height: 40px;
width: 80px;
font-size: 14px;
}
.MagiSign{
width:100px;
}
</style>
<template>
<div class="magiContact">
<div class="magiTitle">麦子ERP使用协议书</div>
<div class="magiSignContent">
<div class="magiSignPlace">
<div class="magijiafang">甲方</div>
<div class="magibtnLine">
<el-input type="text" class="w465" value="成都微途科技有限公司"></el-input>
</div>
</div>
<div class="magiSignPlace">
<div class="magijiafang">乙方</div>
<div class="magibtnLine">
<el-input type="text" class="w465" v-model="msg.CustomerName"></el-input>
</div>
</div>
<div class="magiSignPlace">
<div class="magijiafang">签订日期</div>
<div class="magiNYR">
<div class="magibtnLine">
<el-input type="text" class="w133" v-model="SignYear"></el-input>
</div>
<div class="magibtnLine">
<el-input type="text" class="w133" v-model="SignMonth"></el-input>
</div>
<div class="magibtnLine">
<el-input type="text" class="w133" v-model="SignDate"></el-input>
</div>
</div>
</div>
</div>
<div class="magiBtmContent">
<div class="jiayisf">
<div>
甲方:成都微途科技有限公司
</div>
<div>
营业执照:915101060776915321
</div>
</div>
<div class="jiayisf" style="margin-top:30px;">
<div class="magiSignPlace">
<div>乙方:</div>
<div class="magibtnLine">
<el-input type="text" class="w195" v-model="msg.CustomerName"></el-input>
</div>
</div>
<div class="magiSignPlace">
<div>营业执照:</div>
<div class="magibtnLine">
<el-input type="text" class="w212" v-model="msg.BusinessLicense"></el-input>
</div>
</div>
</div>
<div class="magiRule">
根据《中华人民共和国合同法》以及其它相关法律、法规的规定,本着平等互利的原则, 甲、乙双方就合作开展_麦子ERP系统_软件的免费应用,特订立本合同,并共同遵守下列条款:
</div>
<div class="magiComTitle">一、定义</div>
<div class="magiDingyi">
<div>除非本合同的条款或者内容中另有规定,下列名词具有如下意义:</div>
<div>1、软件产品:指甲方提供的《麦子ERP系统》的SaaS版本</div>
<div>2、知识产权:指依据中国有关法律和国际条约规定权利人所享有的专利权、版权(著作权)、商标权、商业信誉和商业秘密权。</div>
<div>3、技术支持:应软件用户的要求,为用户解决软件应用过程中产生的各种技术问题。</div>
<div>4、售后服务:指为乙方及乙方用户提供软件维护、升级等其它服务。</div>
<div>5、补充协议及附件:指主合同的补救条款或从合同等,与主合同具有同样的效力。</div>
</div>
<div class="magiComTitle" style="margin-top:50px;">二、合同期限</div>
<div class="magiDingyi">
<div>本合同规定“麦子ERP系统”软件基础版免费使用期限为:</div>
<div class="magiLastNYR">
<div class="magibtnLine" style="margin-top:0;">
<el-input type="text" class="w60" v-model="SYear"></el-input>
</div>
<div class="magibtnLine" style="margin-top:0;">
<el-input type="text" class="w60" v-model="SMonth"></el-input>
</div>
<div class="magibtnLine" style="margin-top:0;">
<el-input type="text" class="w60" v-model="SDate"></el-input>
</div>
<div style="margin-left:20px;"></div>
<div class="magibtnLine" style="margin-top:0;">
<el-input type="text" class="w60" v-model="EYear"></el-input>
</div>
<div class="magibtnLine" style="margin-top:0;">
<el-input type="text" class="w60" v-model="EMonth"></el-input>
</div>
<div class="magibtnLine" style="margin-top:0;">
<el-input type="text" class="w60" v-model="EDate"></el-input>
</div>
</div>
</div>
<div class="magiComTitle">三、费用及结算模式</div>
<div class="magiRule">
经甲乙双方协商一致,乙方使用软件产品的基础功能为免费使用,若乙方需要使用其他增值功能,需要和甲方另行签订协议。
</div>
<div class="magiComTitle" style="margin-bottom:0;">四、双方的权利和责任</div>
<div class="magiComSecond" style="margin-top:0;">(一)甲方的权利和责任</div>
<div class="magiDingyi">
<div>1、甲方向乙方提供软件产品和运行环境。</div>
<div>2、甲方保障系统的稳定运行和BUG的及时修复。</div>
<div>3、甲方可以向乙方提供单独付费的定制化开发或服务内容。</div>
<div>4、甲方有权要求乙方保证系统的知识产权。乙方不得将系统转借非乙方企业成员使用</div>
<div>5、甲方可以为乙方提供全方位技术支持。由此产生的甲方工作人员的交通住宿费用由乙方承担。</div>
<div>6、 甲方需保障乙方的数据安全,不可泄露任何乙方数据为给非乙方工作人员。</div>
</div>
<div class="magiComSecond">(二)乙方的权利和责任</div>
<div class="magiDingyi">
<div>1、乙方使用本系统,必须遵守国家互联网信息管理相关法律、法规、条例。乙方对其经营行为和信息发布时因违反上述规定而引起的任何政治、经济、法律责任承担全部责任。</div>
<div>2、乙方须对系统使用账号严格保存,禁止非乙方公司员工拥有该系统账户,员工离职后,及时禁用其账户,如因乙方泄露账号密码,造成的数据安全问题,甲方概不负责。</div>
<div>3、乙方可以在周一至周五(9:30-18:00)联系甲方技术支持代表解决系统问题。若乙方升级至定制化用户可以调整为周一至周日(9:30-21:30)</div>
</div>
<div class="magiComTitle">五、合同的解除与终止</div>
<div class="magiRule">
双方协商一致可以解除本合同。另外,本合同在下列情形下也可以解除,但提出解除的一方应提前一个月以书面形式通知对方:
</div>
<div style="line-height:40px;">
<div>
1、因合同一方经营状况出现重大困难,濒临破产进入法定整顿期间或被清算,另一方可以解除本协议。
</div>
<div>
2、因合同一方未履行合同义务或违约,另一方经书面告知给予一定期限仍不履行或不予采取补救措施,致使另一方合同预期利益无法实现或无继续履行必要,另一方有权解除本合同。
</div>
<div>
3、本合同期限届满,双方未续签的,合同解除或合同到期自然终止,双方仍应履行未完毕之合同义务,安排售出产品的售后服务事项。同等条件下,乙方有优先续约权利。
</div>
</div>
<div class="magiComTitle">六、违约责任</div>
<div class="magiDingyi">
<div>1、乙方若违反协议约定,侵犯甲方知识产权,需承担不低于贰拾万元整的经济损失。</div>
<div>2、若一方违约给另一方造成损失的,除赔偿损失外,另需承担其它违约责任。</div>
<div>3、因一方履约不当给第三方造成损失的,应自行承担赔偿责任。</div>
</div>
<div class="magiComTitle">七、争议解决</div>
<div class="magiDingyi">
<div>甲、乙双方之间因履行本合同或因本合同任何条款的解释与适用而发生任何争议,甲、乙双方应通过友好协商解决。如协商不能解决,任何一方有权向有管辖权的人民法院起诉。</div>
</div>
<div class="magiComTitle">八、其它</div>
<div class="magiDingyi">
<div>1、凡涉及本代理合同补充、变更、解除等事宜,双方均可进行协商并签署补充协议作为合同附件。合同附件与本合同具有同等法律效力。</div>
<div>2、本合同一式贰份,双方各执壹份,签字盖章后生效,具有同等法律效力。</div>
</div>
<div style="margin:60px 0;">本公司尚有"选配功能"."增值功能"."附加服务"三项优质产品,欢迎选购</div>
<div class="jiayisf">
<div>
甲方授权代表(签章):
</div>
<div style="display:flex">
乙方授权代表(签章):<img class="MagiSign" :src="msg.CustomerSignImg" v-if="msg.CustomerSignImg!=''"/>
<a style="text-decoration:none;" v-else href="javascript:void(0);" @click="SetPic()">签名</a>
</div>
</div>
<div class="jiayisf" style="margin:30px 0">
<div class="magiLastNYR">
<div class="magibtnLine">
<el-input type="text" class="w60" v-model="JYear"></el-input>
</div>
<div class="magibtnLine">
<el-input type="text" class="w60" v-model="JMonth"></el-input>
</div>
<div class="magibtnLine">
<el-input type="text" class="w60" v-model="JDate"></el-input>
</div>
</div>
<div class="magiLastNYR">
<div class="magibtnLine">
<el-input type="text" class="w60" v-model="YYear"></el-input>
</div>
<div class="magibtnLine">
<el-input type="text" class="w60" v-model="YMonth"></el-input>
</div>
<div class="magibtnLine">
<el-input type="text" class="w60" v-model="YDate"></el-input>
</div>
</div>
</div>
<div class="saveMagDiv">
<input type="button" class="saveMagiBtn" value="保存" @click="SaveInfo()"/>
</div>
</div>
<!-- 签名 -->
<div class="Sign" :class="signState?'zindex':''">
<div class="signature">
<p class="f14" style="padding:10px 10px 10px 0">签名
<span @click="CloseSign" style="float:right" class="el-icon-close"></span>
</p>
<div class="signatureBox">
<div class="canvasBox" ref="canvasHW">
<canvas ref="canvasF" @mousedown="mouseDown" @mousemove="mouseMove" @mouseup="mouseUp"></canvas>
<div class="button" style="text-align:center;margin-top:20px">
<el-button size="small" @click="overwrite">重写</el-button>
<el-button size="small" type="danger" @click="commit">提交</el-button>
</div>
</div>
</div>
</div>
</div>
</div>
</template>
<script>
import moment from 'moment'
export default {
data() {
return {
msg:{
Id:0,
CustomerName:'', //乙方名称
SignDate:'', //签订日期
BusinessLicense:'', //营业执照
ContractStartDate:'', // 合同开始日期
ContractEndDate:'', //合同结束日期
ViittoSignImg:'', //微途签章图片
ViittoSignDate:'', //微途签订日期
CustomerSignImg:'', //客户签章图片
CustomerSignDate:'', //客户签订日期
},
SignYear:'', //签约日期年
SignMonth:'', //签约日期月
SignDate:'', //签约日期日
SYear:'', //使用开始年
SMonth:'', //使用开始月
SDate:'', //使用开始日
EYear:'', //使用结束年
EMonth:'', //使用结束月
EDate:'', //使用结束日
JYear:'', //甲方签约年
JMonth:'', //甲方签约月
JDate:'', //甲方签约日
YYear:'', //乙方签约年
YMonth:'',//乙方签约月
YDate:'', //乙方签约日
signState:false,
startX: 0,
startY: 0,
moveY: 0,
moveX: 0,
endY: 0,
endX: 0,
w: null,
h: null,
isDown: false,
}
},
mounted() {
let canvas = this.$refs.canvasF
canvas.height = this.$refs.canvasHW.offsetHeight - 100
canvas.width = this.$refs.canvasHW.offsetWidth - 10
this.canvasTxt = canvas.getContext('2d')
this.stageInfo = canvas.getBoundingClientRect()
if (this.$route.query.Id) {
this.msg.Id = this.$route.query.Id;
this.getContract();
}
},
methods: {
//初始化信息
getContract(){
let msg = {
Id:this.$route.query.Id
}
this.apipost("viitto_get_GetEntityService",msg,res => {
console.log(res,'来了');
if (res.data.resultCode == 1) {
//this.Success('保存成功');
let myData = res.data.data;
this.msg.CustomerName = myData.CustomerName;
if(myData.SignDate!=null){
this.SignYear = moment(myData.SignDate).format("YYYY-MM-DD").split("-")[0];
this.SignMonth = moment(myData.SignDate).format("YYYY-MM-DD").split("-")[1];
this.SignDate = moment(myData.SignDate).format("YYYY-MM-DD").split("-")[2];
}
this.msg.BusinessLicense = myData.BusinessLicense;
if(myData.ContractStartDate!=null){
this.SYear = moment(myData.ContractStartDate).format("YYYY-MM-DD").split("-")[0];
this.SMonth = moment(myData.ContractStartDate).format("YYYY-MM-DD").split("-")[1];
this.SDate = moment(myData.ContractStartDate).format("YYYY-MM-DD").split("-")[2];
}
if(myData.ContractEndDate!=null){
this.EYear = moment(myData.ContractEndDate).format("YYYY-MM-DD").split("-")[0];
this.EMonth = moment(myData.ContractEndDate).format("YYYY-MM-DD").split("-")[1];
this.EDate = moment(myData.ContractEndDate).format("YYYY-MM-DD").split("-")[2];
}
if(myData.ViittoSignDate!=null){
this.JYear = moment(myData.ViittoSignDate).format("YYYY-MM-DD").split("-")[0];
this.JMonth = moment(myData.ViittoSignDate).format("YYYY-MM-DD").split("-")[1];
this.JDate = moment(myData.ViittoSignDate).format("YYYY-MM-DD").split("-")[2];
}
if(myData.CustomerSignDate!=null){
this.YYear = moment(myData.CustomerSignDate).format("YYYY-MM-DD").split("-")[0];
this.YMonth = moment(myData.CustomerSignDate).format("YYYY-MM-DD").split("-")[1];
this.YDate = moment(myData.CustomerSignDate).format("YYYY-MM-DD").split("-")[2];
}
this.msg.ViittoSignImg = myData.ViittoSignImg;
this.msg.CustomerSignImg = myData.CustomerSignImg;
} else {
this.Error(res.data.message);
}
},
err => {}
);
},
//保存
SaveInfo(){
this.msg.SignDate = this.SignYear+"-"+this.SignMonth+"-"+this.SignDate;
this.msg.ContractStartDate = this.SYear+"-"+this.SMonth+"-"+this.SDate;
this.msg.ContractEndDate = this.EYear+"-"+this.EMonth+"-"+this.EDate;
this.msg.ViittoSignDate = this.JYear+"-"+this.JMonth+"-"+this.JDate;
this.msg.CustomerSignDate = this.YYear+"-"+this.YMonth+"-"+this.YDate;
this.apipost("viitto_post_SetViittoContractService",this.msg,res => {
if (res.data.resultCode == 1) {
this.Success('保存成功');
} else {
this.Error(res.data.message);
}
},
err => {}
);
},
SetPic(){
this.overwrite();
this.signState=true
},
CloseSign(){
this.signState=false;
},
// 签名
//重写
overwrite() {
this.canvasTxt.clearRect(0, 0, this.$refs.canvasF.width, this.$refs.canvasF.height)
this.points = []
},
//提交签名
commit() {
let that=this;
let imgUrl =this.$refs.canvasF.toDataURL();
let newArr = [];
var fileName = `${that.uuid(10,10)}.png`;
var path = `/RevenueFile/`;
newArr.push(this.dataURLtoFile(imgUrl,fileName))
this.UploadSelfFileT(path, newArr, x => {
this.msg.CustomerSignImg=that.domainManager().ViittoFileUrl+x.data.FilePath;
}, 1);
this.signState=false;
},
mouseDown(ev) {
ev = ev || event
ev.preventDefault()
if (1) {
let obj = {
x: ev.offsetX,
y: ev.offsetY
}
this.startX = obj.x
this.startY = obj.y
this.canvasTxt.beginPath()
this.canvasTxt.moveTo(this.startX, this.startY)
this.canvasTxt.lineTo(obj.x, obj.y)
this.canvasTxt.stroke()
this.canvasTxt.closePath()
this.points.push(obj)
this.isDown = true
}
},
mouseMove(ev) {
ev = ev || event
ev.preventDefault()
if (this.isDown) {
let obj = {
x: ev.offsetX,
y: ev.offsetY
}
this.moveY = obj.y
this.moveX = obj.x
this.canvasTxt.beginPath()
this.canvasTxt.moveTo(this.startX, this.startY)
this.canvasTxt.lineTo(obj.x, obj.y)
this.canvasTxt.stroke()
this.canvasTxt.closePath()
this.startY = obj.y
this.startX = obj.x
this.points.push(obj)
}
},
mouseUp(ev) {
ev = ev || event
ev.preventDefault()
if (1) {
let obj = {
x: ev.offsetX,
y: ev.offsetY
}
this.canvasTxt.beginPath()
this.canvasTxt.moveTo(this.startX, this.startY)
this.canvasTxt.lineTo(obj.x, obj.y)
this.canvasTxt.stroke()
this.canvasTxt.closePath()
this.points.push(obj)
this.points.push({x: -1, y: -1})
this.isDown = false
}
},
uuid(len, radix) {
var chars = '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz'.split('');
var uuid = [],
i;
radix = radix || chars.length;
if (len) {
// Compact form
for (i = 0; i < len; i++) uuid[i] = chars[0 | Math.random() * radix];
} else {
var r;
uuid[8] = uuid[13] = uuid[18] = uuid[23] = '-';
uuid[14] = '4';
for (i = 0; i < 36; i++) {
if (!uuid[i]) {
r = 0 | Math.random() * 16;
uuid[i] = chars[(i == 19) ? (r & 0x3) | 0x8 : r];
}
}
}
return uuid.join('');
},
dataURLtoFile(dataurl, filename) {//将base64转换为文件
var arr = dataurl.split(','), mime = arr[0].match(/:(.*?);/)[1],
bstr = atob(arr[1]), n = bstr.length, u8arr = new Uint8Array(n);
while(n--){
u8arr[n] = bstr.charCodeAt(n);
}
return new File([u8arr], filename, {type:mime});
},
},
}
</script>
\ No newline at end of file
...@@ -368,6 +368,14 @@ export default { ...@@ -368,6 +368,14 @@ export default {
title: '电子合同审核' title: '电子合同审核'
}, },
}, },
{
path: '/ViittoContract', // 行政-微途电子合同
name: 'ViittoContract',
component: resolve => require(['@/components/administrative/ViittoContract'], resolve),
meta: {
title: '微途电子合同'
}
},
{ {
path: '/ContractManage', //合同管理 path: '/ContractManage', //合同管理
name: 'ContractManage', name: 'ContractManage',
...@@ -4611,6 +4619,14 @@ export default { ...@@ -4611,6 +4619,14 @@ export default {
title: '电子合同' title: '电子合同'
} }
}, },
{
path: '/magiContract', //麦子Erp使用合同
name: 'magiContract',
component: resolve => require(['@/components/magiContract'], resolve),
meta: {
title: '麦子Erp使用合同'
}
},
{ {
path: '/ScenicStrategyview', //景点攻略预览 path: '/ScenicStrategyview', //景点攻略预览
name: 'ScenicStrategyview', name: 'ScenicStrategyview',
......
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