Commit e1707fdf authored by youjie's avatar youjie

no message

parent a88a0e5a
...@@ -431,7 +431,7 @@ ...@@ -431,7 +431,7 @@
<!-- 正常内容 --> <!-- 正常内容 -->
<div class="resource-content clearfix"> <div class="resource-content clearfix">
<el-form :model="addMsg" :rules="rules" class="h-full" ref="addMsg" label-width="120px" <el-form :model="addMsg" :rules="rules" class="h-full" ref="addMsg" label-width="120px"
:disabled="addMsg.OrderId>0&&(activeTab=='basic'||activeTab=='contact')"> :disabled="addMsg.OperationType&&addMsg.OperationType>0">
<div class="hotel-form-container h-full"> <div class="hotel-form-container h-full">
<el-tabs v-model="activeTab" type="border-card" class="hotel-tabs"> <el-tabs v-model="activeTab" type="border-card" class="hotel-tabs">
<el-tab-pane label="基础资料" name="basic"> <el-tab-pane label="基础资料" name="basic">
...@@ -523,52 +523,52 @@ ...@@ -523,52 +523,52 @@
</el-col> </el-col>
<el-col :span="6"> <el-col :span="6">
<el-form-item label="供应商联系人" prop="Contact"> <el-form-item label="供应商联系人" prop="Contact">
<el-input type="text" v-model="addMsg.Contact"></el-input> <el-input type="text" v-model="addMsg.Contact" clearable></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="6"> <el-col :span="6">
<el-form-item label="供应商联系电话" prop="Tel"> <el-form-item label="供应商联系电话" prop="Tel">
<el-input type="tel" v-model="addMsg.Tel"></el-input> <el-input type="tel" v-model="addMsg.Tel" clearable></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="6"> <el-col :span="6">
<el-form-item label="供应商(公司名称)"> <el-form-item label="供应商(公司名称)">
<el-input type="text" v-model="addMsg.CompanyName"></el-input> <el-input type="text" v-model="addMsg.CompanyName" clearable></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="6"> <el-col :span="6">
<el-form-item label="供应商(公司电话)"> <el-form-item label="供应商(公司电话)">
<el-input type="tel" v-model="addMsg.CompanyPhone"></el-input> <el-input type="tel" v-model="addMsg.CompanyPhone" clearable></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="6"> <el-col :span="6">
<el-form-item label="营业执照号"> <el-form-item label="营业执照号">
<el-input type="text" v-model="addMsg.DutyParagraph"></el-input> <el-input type="text" v-model="addMsg.DutyParagraph" clearable></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="6"> <el-col :span="6">
<el-form-item label="开户行"> <el-form-item label="开户行">
<el-input type="text" v-model="addMsg.OpeningBank"></el-input> <el-input type="text" v-model="addMsg.OpeningBank" clearable></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="6"> <el-col :span="6">
<el-form-item label="开户账号"> <el-form-item label="开户账号">
<el-input type="text" v-model="addMsg.BankNo"></el-input> <el-input type="text" v-model="addMsg.BankNo" clearable></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="6"> <el-col :span="6">
<el-form-item label="成本" prop="Meet"> <el-form-item label="成本" prop="Meet">
<el-input type="number" v-model="addMsg.Meet"></el-input> <el-input type="number" v-model="addMsg.Meet" clearable></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="6"> <el-col :span="6">
<el-form-item label="应收总金额" prop="PreferPrice"> <el-form-item label="应收总金额" prop="PreferPrice">
<el-input type="number" v-model="addMsg.PreferPrice"></el-input> <el-input type="number" v-model="addMsg.PreferPrice" clearable></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="6"> <el-col :span="6">
<el-form-item label="成人人数" prop="ManNum"> <el-form-item label="成人人数" prop="ManNum">
<el-input type="number" v-model="addMsg.ManNum"></el-input> <el-input type="number" v-model="addMsg.ManNum" clearable></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<!-- <el-col :span="6"> <!-- <el-col :span="6">
...@@ -598,27 +598,27 @@ ...@@ -598,27 +598,27 @@
</el-col> </el-col>
<el-col :span="6"> <el-col :span="6">
<el-form-item label="单房数量" prop="SingleRoomNum"> <el-form-item label="单房数量" prop="SingleRoomNum">
<el-input type="number" v-model="addMsg.SingleRoomNum"></el-input> <el-input type="number" v-model="addMsg.SingleRoomNum" clearable></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="6"> <el-col :span="6">
<el-form-item label="大床房"> <el-form-item label="大床房">
<el-input type="number" v-model="addMsg.BigRoomNum"></el-input> <el-input type="number" v-model="addMsg.BigRoomNum" clearable></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="6"> <el-col :span="6">
<el-form-item label="三人房"> <el-form-item label="三人房">
<el-input type="number" v-model="addMsg.TripleRoomNum"></el-input> <el-input type="number" v-model="addMsg.TripleRoomNum" clearable></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="6"> <el-col :span="6">
<el-form-item :label="$t('salesModule.VisaNum')"> <el-form-item :label="$t('salesModule.VisaNum')">
<el-input type="number" v-model="addMsg.VisaNum"></el-input> <el-input type="number" v-model="addMsg.VisaNum" clearable></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="6"> <el-col :span="6">
<el-form-item :label="$t('salesModule.SaleNum')"> <el-form-item :label="$t('salesModule.SaleNum')">
<el-input type="number" v-model="addMsg.SafeNum"></el-input> <el-input type="number" v-model="addMsg.SafeNum" clearable></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="6"> <el-col :span="6">
...@@ -660,12 +660,12 @@ ...@@ -660,12 +660,12 @@
</div> </div>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="9">
<el-form-item label="订单备注"> <el-form-item label="订单备注">
<el-input type="textarea" v-model="addMsg.Remarks" placeholder="订单备注"></el-input> <el-input type="textarea" v-model="addMsg.Remarks" placeholder="订单备注"></el-input>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="9">
<el-form-item label="联运备注"> <el-form-item label="联运备注">
<el-input type="textarea" v-model="addMsg.UnionRemark" placeholder="联运备注"></el-input> <el-input type="textarea" v-model="addMsg.UnionRemark" placeholder="联运备注"></el-input>
</el-form-item> </el-form-item>
...@@ -779,7 +779,8 @@ ...@@ -779,7 +779,8 @@
</el-dialog> </el-dialog>
<div class="btn-list"> <div class="btn-list">
<div class="btn-actions"> <div class="btn-actions">
<button v-if="!addMsg.OrderId" class="save-Btn" @click="submitForm('addMsg')" :disabled="isSaving"> <!-- v-if="!addMsg.OrderId||addMsg.OperationType" -->
<button class="save-Btn" @click="submitForm('addMsg')" :disabled="isSaving">
<i v-if="isSaving" class="el-icon-loading" style="margin-right: 4px;"></i> <i v-if="isSaving" class="el-icon-loading" style="margin-right: 4px;"></i>
{{ isSaving ? '' : $t('pub.saveBtn') }} {{ isSaving ? '' : $t('pub.saveBtn') }}
</button> </button>
...@@ -872,9 +873,7 @@ ...@@ -872,9 +873,7 @@
BabyNum: 0, BabyNum: 0,
OldPeopleNum: 0, OldPeopleNum: 0,
SingleRoomNum: 0, SingleRoomNum: 0,
PreferPrice: null,// 应收总金额 PreferPrice: null,// 应收总金额
LessPrice: 0, LessPrice: 0,
LessAvgPrice: 0, LessAvgPrice: 0,
YSeatNum: 0, YSeatNum: 0,
...@@ -1058,6 +1057,12 @@ ...@@ -1058,6 +1057,12 @@
message: this.$t('objFill.v101.myOrdersAllType.qiingtxetbzcrs'), message: this.$t('objFill.v101.myOrdersAllType.qiingtxetbzcrs'),
trigger: "blur", trigger: "blur",
}, ], }, ],
SingleRoomNum: [{
required: true,
message: '请输入单房数量',
trigger: "blur",
}, ],
}, },
CSloading: false, CSloading: false,
RoomTypeList: [],//房型 RoomTypeList: [],//房型
...@@ -1320,18 +1325,27 @@ ...@@ -1320,18 +1325,27 @@
validate(){ validate(){
let msg = '' let msg = ''
// ||!this.addMsg.Name||this.addMsg.Name=='' // ||!this.addMsg.Name||this.addMsg.Name==''
if(msg==''&&(!this.addMsg.Title||this.addMsg.Title=='' // ||this.addMsg.ChirdNum==''
||!this.addMsg.DayNum||this.addMsg.DayNum=='' // ||this.addMsg.ChirdNoNeedBedNum==''
||!this.addMsg.StartDate||this.addMsg.StartDate=='' // ||this.addMsg.ChirdNeedBedNum==''
||!this.addMsg.Contact||this.addMsg.Contact=='' // ||this.addMsg.ContactName==''
||!this.addMsg.Tel||this.addMsg.Tel=='' if(msg==''&&(this.addMsg.Title==''
||!this.addMsg.Meet||this.addMsg.Meet=='' ||this.addMsg.DayNum==''
||!this.addMsg.PreferPrice||this.addMsg.PreferPrice=='' ||this.addMsg.StartDate==''
||this.addMsg.Contact==''
||this.addMsg.Tel==''
||this.addMsg.Meet==''
||this.addMsg.PreferPrice==''
||this.addMsg.ManNum=='' ||this.addMsg.ManNum==''
||this.addMsg.ChirdNum=='' )){
||this.addMsg.ChirdNoNeedBedNum=='' console.log(this.addMsg.Title,'=='
||this.addMsg.ChirdNeedBedNum=='' ,this.addMsg.DayNum,'=='
||this.addMsg.ContactName=='')){ ,this.addMsg.StartDate,'=='
,this.addMsg.Contact,'=='
,this.addMsg.Tel,'=='
,this.addMsg.Meet,'=='
,this.addMsg.PreferPrice,'=='
,this.addMsg.ManNum,'==');
msg = '基础资料请填入必填项' msg = '基础资料请填入必填项'
this.activeTab = 'basic' this.activeTab = 'basic'
}else if(msg==''&&this.addMsg.ManNum==0){ }else if(msg==''&&this.addMsg.ManNum==0){
...@@ -1352,6 +1366,7 @@ ...@@ -1352,6 +1366,7 @@
}, },
submitForm(addMsg) { submitForm(addMsg) {
//提交创建、修改表单 //提交创建、修改表单
this.GuestNum()
let msg = this.validate() let msg = this.validate()
if(msg!='') return this.Error(msg) if(msg!='') return this.Error(msg)
let that = this; let that = this;
...@@ -1364,6 +1379,18 @@ ...@@ -1364,6 +1379,18 @@
} }
}); });
}, },
GuestNum(){
let ChirdNum = Number(this.addMsg.ChirdNum);
// if (this.addMsg.GroupType == 4) {
// ChirdNum = 0;
// }
this.addMsg.GuestNum =
Number(this.addMsg.ManNum) +
ChirdNum +
Number(this.addMsg.OldPeopleNum) +
Number(this.addMsg.BabyNum) +
Number(this.addMsg.AirticketNum);
},
//选中的数组 //选中的数组
checkImgList() { checkImgList() {
if (this.imglistArry != null) { if (this.imglistArry != null) {
...@@ -1469,47 +1496,63 @@ ...@@ -1469,47 +1496,63 @@
deep: true, deep: true,
immediate: true, immediate: true,
handler(newVal) { handler(newVal) {
if (newVal && newVal.OrderId !== this.addMsg.OrderId) { if (newVal && newVal.orderId !== this.addMsg.OrderId) {
let t = newVal.DetailList[0] let s = newVal.supplierModel
let s = newVal.SupplierModel
this.RoomTypeList.push({
Id: t.TicketId,
TicketName: t.TicketName,
})
this.SupplierList.push({ this.SupplierList.push({
ID: s.SupplierId, ID: s.supplierId,
Name: s.SupplierName, Name: s.supplierName,
}) })
console.log(this.deepFirstLetterToLower(newVal.guestList),'=====')
setTimeout(() => { setTimeout(() => {
let obj = JSON.parse(JSON.stringify(this.addMsg))
this.addMsg = { this.addMsg = {
OrderId: newVal.OrderId,// 订单号 ...obj,
PreferPrice: newVal.PreferPrice,// 应收总金额 OrderId: newVal.orderId,// 订单号
Meet: newVal.Meet,// 成本 Meet: newVal.meet,// 成本
Remarks: newVal.Remarks,// 订单备注 Remarks: newVal.remarks,// 订单备注
Title: newVal.Title,// Mobile: newVal.mobile,// 联系手机号
StartDate: newVal.StartDate,// 出游时间 DisplaySupplierId: s.supplierId,
Name: newVal.Name,// 预订人 SupplierId: s.supplierId,// 供应商id
EName: newVal.EName,// 预订人(英文名) SupplierName: s.supplierName,// 供应商
Sex: newVal.Sex,// 性别,1-男2女 Tel: s.tel,// 供应商联系电话
Mobile: newVal.Mobile,// 联系手机号 Contact: s.contact,// 供应商联系人
DisplaySupplierId: s.SupplierId, CompanyName: s.companyName,// 供应商(公司名称)
SupplierId: s.SupplierId,// 供应商id DutyParagraph: s.dutyParagraph,// 营业执照号
SupplierName: s.SupplierName,// 供应商 CompanyPhone: s.companyPhone,// 电话
Tel: newVal.Tel,// 供应商联系电话 OpeningBank: s.openingBank,// 开户行
Contact: newVal.Contact,// 供应商联系人 BankNo: s.bankNo,// 开户账号
CompanyName: s.CompanyName,// 供应商(公司名称) AppointOPList: newVal.appointOPList,// op 格式:([1,2,3])
DutyParagraph: s.DutyParagraph,// 营业执照号 GuestList: this.deepFirstLetterToLower(newVal.guestList),// 旅客名单
CompanyPhone: s.CompanyPhone,// 电话 FinalPriceTips: newVal.finalPriceTips,// 尾款提醒设置
OpeningBank: s.OpeningBank,// 开户行
BankNo: s.BankNo,// 开户账号
AppointOPList: newVal.AppointOPList,// op 格式:([1,2,3]) Title: newVal.title,//
GuestList: newVal.OrderGuestList,// 旅客名单 GuestNum: newVal.guestNum,
FinalPriceTips: newVal.FinalPriceTips,// 尾款提醒设置 StartDate: newVal.startDate,// 出游时间
PriceTeamType: newVal.priceTeamType,// 团类型
DayNum: newVal.DayNum,// 行程天数
PriceTeamType: newVal.PriceTeamType,// 团类型 ContactName: newVal.contactName,// 预订人
WordPath: newVal.WordPath,//附件 ContactMobile: newVal.contactMobile,// 预订人(英文名)
PreferPrice: newVal.preferPrice,// 应收总金额
DayNum: newVal.dayNum,// 行程天数
ManNum: newVal.manNum, // 成人数量
ChirdNum: newVal.chirdNum, // 小孩数量
ChirdNoNeedBedNum: newVal.chirdNoNeedBedNum,
ChirdNeedBedNum: newVal.chirdNeedBedNum,
BabyNum: newVal.babyNum,
OldPeopleNum: newVal.oldPeopleNum,
SingleRoomNum: newVal.singleRoomNum,
BigRoomNum: newVal.bigRoomNum,
TripleRoomNum: newVal.tripleRoomNum,
VisaNum: newVal.visaNum,
SafeNum: newVal.safeNum,
OneSexNum: newVal.oneSexNum,
PredictRoomNum: newVal.predictRoomNum,
YSeatNum: newVal.ySeatNum,
ESeatNum: newVal.eSeatNum,
FSeatNum: newVal.fSeatNum,
WordPath: newVal.wordPath,//附件
}; };
},1000) },1000)
} }
......
<template>
<div>
<table class="groupTourOrderSearchTable" border="0" cellspacing="0" cellpadding="0">
<tr>
<th width="210">{{ $t("fnc.danhao") }}&{{ $t("visa.v_tuanhao") }}</th>
<th width="120">{{ $t("fnc.khxinxi") }}</th>
<th width="70">{{ $t("salesModule.Type") }}</th>
<th width="150">
团标题
</th>
<th width="60">{{ $t("Airticket.Air_Number") }}</th>
<th width="80">成本</th>
<th width="80">{{ $t("fnc.yszonge") }}</th>
<th width="80">{{ $t("fnc.shishou") }}</th>
<!-- <th width="80">{{$t('op.RTXF')}}</th> -->
<th width="70">{{ $t("fnc.tuikuan") }}</th>
<th width="70">{{ $t("fnc.ptshuijin") }}</th>
<th width="80">{{ $t("Operation.Op_platZaitu") }}</th>
<th width="80">{{$t('objFill.xianshouzt')}}</th>
<th width="80">{{ $t("Operation.Op_daishou") }}</th>
<th width="80">{{ $t("admin.admin_status") }}</th>
<th width="120">{{ $t("salesModule.QRH") }}</th>
<th width="220">{{ $t("system.table_operation") }}</th>
</tr>
<tr>
<td v-if="dataList&&dataList.length == 0" colspan="19" align="center">
{{ $t("system.content_noData") }}
</td>
</tr>
<tbody v-for="(item, index) in dataList" :key="index">
<tr>
<td rowspan="3" style="position: relative;">
<span class="TC_neibu"
style="float: inherit;margin-left: 5px;margin-right: 5px;position: absolute;top: 10px;left:3px"
v-if="item.standardCurrencyName"
:class="{'TCneibu':item.standardCurrencyName=='人民币','TCb2b':item.standardCurrencyName=='日元',
'TCb2c':item.standardCurrencyName=='新台币','AppPlat':item.standardCurrencyName=='',
'otherPlat':item.standardCurrencyName=='',}">{{item.standardCurrencyName}}{{$t('objFill.jiesuan')}}</span>
<p v-if="item.isChargeLossOrders == 1" style="color: red">
{{ $t("fnc.sun") }}
</p>
<p class="fbold over_ellipsis" style="width: 100%; cursor: pointer">
<span :title="item.orderId" @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)
">({{$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.ByB2b')" placement="top"
v-show="item.isFormB2B == 1">
<i class="iconfont icon-tiaozheng" style="font-size: 22px; color: #297bef"></i></el-tooltip>
</p>
<p class="fz12 over_ellipsis" style="width: 100%; text-decoration: underline; cursor: pointer"
:title="item.alName" @click="gotoProduct(item)">
{{ item.tcnum }}
</p>
<p class="fz12 over_ellipsis" style="width: 100%">
{{ item.commissionSPeopleName }}
</p>
<p v-if="item.lureEmpName">{{$t('objFill.yinliuren')}}{{ item.lureEmpName }}</p>
<p style="min-width: 180px">
{{ $t("hotel.hotel_StartTeam") }}{{ item.startDate }}
</p>
<p>{{ $t("restaurant.res_oderTime") }}{{ item.createDate }}</p>
<p v-if="item.teamType==1||item.teamType==2">
{{item.status==1?$t('objFill.weijietuan'):(item.status==2?$t('objFill.yijietuan'):(item.status==5?$t('objFill.daijietuansh'):""))}}{{item.status==2?item.outGroupAuditDate:""}}
</p>
<p v-if="item.tradeWay == 1">{{ item.platformOrder }}</p>
<p v-if="item.commissionMoney" style="color: red;cursor: pointer;">
<span style="float: left;">{{ $t("salesModule.Commission") }}</span>
<commissionDialog :type="pagesTitle" :objNew="item"></commissionDialog>{{item.commissionCurrency}}
</p>
<p v-else-if="item.latestCommissionMoney" style="color: red">
{{ $t("salesModule.Commission") }}{{
item.latestCommissionMoney
}}
</p>
<div>
<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.extraDeductMoney > 0">
{{ $t("salesModule.EWKCJE") }}{{ item.extraDeductMoney }}
</p>
</div>
<div style="color: red" v-else>
<p v-if="item.extraRewardMoney > 0">
{{ $t("salesModule.EWJLJE") }}{{ item.extraRewardMoney }}
</p>
<p v-if="item.extraDeductMoney > 0">
{{ $t("salesModule.EWKCJE") }}{{ item.extraDeductMoney }}
</p>
</div>
<div style="color: red">
<p v-if="item.unionExtraMoney != 0">
{{ $t("salesModule.LYEWFY") }}{{ item.unionExtraMoney }}
</p>
</div>
</div>
<div v-if="item.orderTypeName === '单团'" style="color: red; cursor: pointer"
@click="seeBJD(item.quotationUrl)">
{{$t('objFill.ckbjd')}}
</div>
<div v-if="item.autoCouponId>-1">{{$t('active.ad_yhq')}}
<span v-if="item.autoCouponId==0" style="color: red">{{$t('objFill.daifafang')}}</span>
<span v-if="item.autoCouponId==1" style="color: green">{{$t('objFill.yifafang')}}</span>
<span v-if="item.autoCouponId==2" style="color: red">{{$t('adm.adm_Withdrawn')}}</span>
</div>
</td>
<td>
<p class="fz12" v-if="item.customerType==3||item.customerType==4">
{{item.clientSourceName}}
</p>
<p class="fz12 over_ellipsis" style="width: 120px" :title="item.contactName">
{{ item.contactName }}
</p>
<p class="fz12">{{ item.contactMobile }}</p>
<p class="fz12" v-if="item.industryCategory !== ''" style="color: green">
{{ $t("salesModule.HYLB") }}{{ item.industryCategory }}
</p>
</td>
<td>
<p class="fz12 over_ellipsis" style="width: 100%">
{{ item.orderTypeName }}
</p>
</td>
<td class="fz12">
<p style="max-width: 160px; display: block" class="over_ellipsis" :title="item.lineName">
<span>{{ item.title }}</span>
</p>
<p style="max-width: 160px; display: block" class="over_ellipsis" :title="item.ltName">
{{ item.ltName }}
</p>
</td>
<td>
<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>
<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>
<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>
<br />
<span v-if="item.refuseVisaNum > 0" style="color: red">
({{ $t("salesModule.RefuseQ") }} {{ item.refuseVisaNum
}}{{ $t("sm.person") }})
</span>
</td>
<td style="color: #ff9c00">{{ moneyFormatN(item.meet) }}</td>
<td>
<p style="color: #ff9c00">
<!-- {{ item.preferPrice }} -->
<PriceDetail :OrderId="item.orderId" :PreferPrice="item.preferPrice"></PriceDetail>
</p>
</td>
<td>
<el-popover style="padding: 0" width="370" trigger="click">
<div class="personNolayer">
<table border="0" cellspacing="1" cellpadding="1">
<tr>
<th>{{ $t("salesModule.DJNUM") }}</th>
<th>{{ $t("fnc.jine") }}</th>
<th>{{ $t("salesModule.Type") }}</th>
<th>{{ $t("hotel.hotel_status") }}</th>
</tr>
<tr v-if="orderList.length > 0" v-for="(item2, index2) in orderList" :key="index2">
<td>{{ item2.FrID }}</td>
<td>{{ item2.PayMoney }}</td>
<td>{{ item2.TypeName }}</td>
<td>{{ item2.StatusName }}</td>
</tr>
<tr v-if="orderList.length == 0">
<td colspan="4" align="center">
{{ $t("system.content_noData") }}
</td>
</tr>
</table>
</div>
<span v-if="item.dueInMoney == 0" style="cursor: pointer" @click="getOrderDetail(item)"
slot="reference">{{ moneyFormatN(item.income) }}</span>
<span v-if="item.dueInMoney != 0" style="cursor: pointer; color: #e95252" @click="getOrderDetail(item)"
slot="reference">{{ moneyFormatN(item.income) }}</span>
</el-popover>
</td>
<!-- <td style="color: #ff9c00">{{ item.preferTipAmount?item.preferTipAmount:'0.00' }}</td> -->
<!-- 优惠 -->
<td>{{ moneyFormatN(item.refund) }}</td>
<td>{{ moneyFormatN(item.platformTax) }}</td>
<td>{{ moneyFormatN(item.zaiTuMoney) }}</td>
<td>{{ moneyFormatN(item.cashReceiptsMoney) }}</td>
<td>
<span :class="{
color_red_order: item.dueInMoney !== item.preferPrice,
}">{{ moneyFormatN(item.dueInMoney) }} </span>
</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 width="120">
<!--{{item.confirmFileList}}-->
<!--<span>{{$t('salesModule.QRH')}}</span>-->
<span v-if="item.confirmFileList.length > 0" class="fz12 dowloadSpan"
@click="downLoadFile(item.confirmFileList)">
{{ $t("salesModule.QRHXZ") }}
</span>
<i v-if="
item.confirmFileList.length > 0 &&
item.commissionSharePeople !== userInfo.EmployeeId
" @click="deleteFile(item)" style="margin-left: 5px" class="el-icon-error color999"></i>
<template v-if="item.confirmFileList.length == 0">
<el-upload v-if="
item.confirmFileList.length == 0 &&
item.commissionSharePeople !== userInfo.EmployeeId
" :http-request="uploadFileBtn" :multiple="false" :show-file-list="false" action="">
<el-button size="small" type="danger" @click="getItem(item)">{{ $t("adm.adm_content") }}</el-button>
</el-upload>
</template>
<p style="color:red;font-size:12px;">{{$t('objFill.v101.Rest.shenqfpxyscqrh')}}</p>
</td>
<td class="groupTourOrderIcon" style="display: flex;align-items: center;">
<el-button-group v-if="item.commissionSharePeople !== userInfo.EmployeeId">
<el-tooltip class="item" effect="dark" :content="$t('pub.updateMsg')" placement="top-start">
<el-button v-if="
item.isOrder == '1' &&
item.isHaveFinance != '1' &&
item.orderState != '1' &&
item.orderState != '4'
" type="primary" style="background: #00c6ff; border-color: #00c6ff"
icon="iconfont icon-bianji-smal" @click="getDetail(item)"></el-button>
</el-tooltip>
<el-tooltip class="item" effect="dark" :content="$t('salesModule.UpRemarks')" placement="top-start">
<el-button type="primary" style="background: green; border-color: green"
icon="iconfont icon-bianji-smal" @click="getRemarks(item)"></el-button>
</el-tooltip>
<el-tooltip effect="dark" :content="$t('fnc.rizhi')" placement="top-start" style="float: left">
<el-popover width="230" trigger="click">
<div class="priceContentDiv">
<div class="AuditLog">{{ $t("fnc.rizhi") }}</div>
<div class="logContact" style="background: #f9f9f9; padding: 20px 10px 0">
<div v-if="logList.length > 0" v-for="(item, index) in logList" :key="index">
<div class="clearfix">
<div class="Auditcircle" style="left: 6px !important"></div>
<div class="operateName" style="color: #005caa">
{{ item.emName }}
</div>
<div class="operateDate fz12 color666">
{{ item.x }}
</div>
</div>
<div class="fz12 color333">{{ item.logInfo }}</div>
</div>
<div v-if="logList.length == 0">
{{ $t("system.content_noData") }}
</div>
</div>
</div>
<el-button slot="reference" @click="getLogDetail(item)" type="primary" style="
background: #47bf8c;
border-color: #47bf8c;
border-top-right-radius: 0;
border-bottom-right-radius: 0;
" icon="iconfont icon-rizhi1"></el-button>
</el-popover>
</el-tooltip>
<el-tooltip effect="dark" :content="$t('pub.more')" placement="top-start" style="float: left">
<el-popover width="100" trigger="hover">
<div class="groupTourOrder_more">
<div @click="goUrlT('confirmationOrder', item.orderId)">
{{ $t("salesModule.QRH")
}}{{
item.operationState === 2
?$t('objFill.shenhezt')[0]
: item.operationState === 1
?$t('objFill.shenhezt')[1]
: item.operationState === 0
?$t('objFill.shenhezt')[2]
: ""
}}
</div>
<div v-if="isEditOrderCreate == 1" @click="getSalerInfo(item)">
{{ $t("salesModule.UpdateYWY") }}
</div>
<template v-if="item.lineId==90">
<div v-if="item.outNotice == 1" @click="toTrip(item)">
{{ $t("Operation.Op_teamNotice")
}}<span v-if="item.outNotice == 1">(OK)</span><span v-else>({{ $t("visa.v_zanding") }})</span>
</div>
</template>
<template v-else>
<div v-if="item.outNotice == 1" @click="toTrip(item)">
{{ $t("Operation.Op_teamNotice")
}}<span v-if="item.outNotice == 1">(OK)</span><span v-else>({{ $t("visa.v_zanding") }})</span>
</div>
</template>
<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')
" @click="getHouse(item)">
{{ $t("salesModule.UpdateRoom") }}
</div>
<div v-if="
item.isOrder == '1' &&
item.orderState != '4' &&
TransferMission == true
" @click="transfer(item)">
{{ $t("salesModule.OrderGroup") }}
</div>
<div v-if="item.orderState == '1' || item.orderState == '2'" @click="setChargeLoss(item)">
<span v-if="item.isChargeLossOrders == 1">{{
$t("salesModule.LossSheet")
}}</span>
<span v-else>{{ $t("salesModule.LossReceipt") }}</span>
</div>
<div v-if="item.orderState == '1' || item.orderState == '2'|| item.orderState == '3'"
@click="getOrderGender(item)">
{{$t("pub.updateMsg")+$t("salesModule.SingleFM")}}
</div>
<!-- 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)
" @click="
goUrlAdd(
'invoicesManagerAdd',
item.orderId,
item.tcid,
item.customerId,
1
)
">
{{ $t("salesModule.ApplyInvoice") }}
</div>
<div @click="
Discount(item.tcid),
(SOMsg.OrderId = item.orderId),
(SOMsg.OrderUnitPrice = item.unit_Price)
">
{{ $t("pub.ApplyYH") }}
</div>
<div v-if="
qjGroupId == userInfo.RB_Group_id || F_Finance_Create
" @click="ShenQingPhoto(item)">
{{ $t("salesModule.ApplyPhoto") }}
</div>
<div v-if="
item.isOrder == '1' &&
(item.orderState == '1' ||
item.orderState == '2' ||
item.orderState == '3') &&
item.isCanClear == 0
" @click="deleteItem(item)">
{{ $t("pub.cancelBtn") }}
</div>
<div @click="
SpecialAPP(
item.tcid,
item.orderId,
item.orderspecialofferId
)
">
{{$t('objFill.tejiasheqinghan')}}
</div>
<div v-if="
item.isOrder == '1' &&
(item.orderState == '1' ||
item.orderState == '2' ||
item.orderState == '3') &&
item.isCanClear == 1
" :title="$t('objFill.ruxuqxddqlxop')" style="color: red">
{{ $t("salesModule.OrderSured") }}
</div>
<div v-if="item.scoreNum >= 0" @click="
goInvetig(
'investigationList',
item.tcid,
item.orderId
)
">
{{ $t("salesModule.LookTourse") }}
</div>
</div>
<el-button slot="reference" type="primary" style="
background: #297bef;
border-color: #297bef;
border-top-left-radius: 0;
border-bottom-left-radius: 0;
" icon="iconfont icon-more"></el-button>
</el-popover>
</el-tooltip>
</el-button-group>
<payurlItem style="margin-left: 5px" v-if="
item.commissionSharePeople !== userInfo.EmployeeId && item.airConfirm != 2
" :item="item" :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>
</tr>
<tr style="height: 20px">
<td colspan="18" class="RL_Order" style="height: 20px">
<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 v-for="childItem in item.guestList" style="color: blue">{{ childItem.userName }}
<span style="color:#f56c6c">{{childItem.visaType==1?'('+$t('visa.v_gvisa')+')':''}}</span>
<span style="color:#f56c6c">{{childItem.ticketOutTypeStr}} </span>
<span v-if="childItem.isApplyPhoto == 1" style="color: red">({{ $t("salesModule.Zhao") }})</span>
<span style="cursor:pointer;"
@click="goProtocol(item,childItem)">{{childItem.protocolId>0?$t('objFill.chakanbmxy'):$t('objFill.qiandbmxy')}}</span>
<span v-if="isShow===index||childItem.disclaimerId>0" style="cursor:pointer;"
@click="goDisclaimer(item,childItem)">{{childItem.disclaimerId>0?$t('objFill.chakanctmzclh'):$t('objFill.qiandinctmzclh')}}</span>
&nbsp;&nbsp;
</span>
<span v-if="item.photoNum > 0">({{ $t("salesModule.NoPhoto") }} {{ item.photoNum
}}{{ $t("salesModule.Fen") }})</span>
</span>
<p v-if="item.cancelGuestList.length > 0">
<span class="">{{ $t("salesModule.CancelOrder") }}:</span>
<span class="RL-redType RL-remarkCon">
<span style="color: red" v-for="childItem in item.cancelGuestList">{{ childItem.userName }}<span
style="color:#f56c6c">{{childItem.visaType==1?'('+$t('visa.v_gvisa')+')':''}}</span>
&nbsp;&nbsp;</span>
</span>
</p>
<span style="display: block">{{ $t("salesModule.RoomInfo")
}}<span v-if="item.oneSex > 0"
style="color: #e95252">({{ item.oneSex == 1 ?$t('objFill.dannan') : $t('objFill.dannv') }})</span><span
v-if="item.chirdNoNeedBedNum > 0"
style="color: #e95252">({{$t('Operation.Op_childNobed')}}{{ item.chirdNoNeedBedNum }}{{$t('hotel.hotel_people')}}
</span>:{{ item.orderGuestHouseStr }}</span>
<div>
<span v-if="item.opTipMoney == '' && item.tipMoney != ''"
style="color: red">({{ $t("fnc.xiaofei") }}:{{ item.tipMoney }})</span>
<span v-if="item.opTipMoney != ''" style="color: red">
({{ $t("fnc.xiaofei") }}:{{ item.opTipMoney }})
<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>
</div>
<div class="order-show GO_Contract" v-if="item.isShowDisclaimer==1" @click="showMore(item,index)">
<span>{{isShow===index ? $t('objFill.yingcanctmzclh') : $t('objFill.xianshictmzclh')}}
</span>
</div>
<div v-if="item.otherContractList&&(qjGroupId == userInfo.RB_Group_id || F_ContractManagement)">
<span class="GO_Contract"
@click="goSingleContract(item)">{{item.otherContractList.length==0? $t('objFill.danxianght') : $t('objFill.chankandxht')}}</span>
</div>
<div v-if="
item.contractNum.length == 0 &&
(qjGroupId == userInfo.RB_Group_id || F_ContractManagement)
">
<span class="GO_Contract" @click="goContract(item, {})">{{$t('objFill.chujinghet')}}</span>
</div>
<div v-else>
<template v-if="item.contractNum && item.contractNum.length > 0">
<span v-for="sItem in item.contractNum" class="GO_Contract" @click="goContract(item, sItem)">
{{ sItem.client_Name + "" + sItem.contractNum }}
<template v-if="sItem.auditContract==3">
<font style="color:red">{{$t('fnc.bohui')}}</font>
</template>
<template v-if="sItem.auditContract==2">
<font style="color:green">{{$t('objFill.shenhetongguo')}}</font>
</template>
</span>
</template>
</div>
<div v-if="item.orderBackScenicList!=null&&item.orderBackScenicList.length>0 "
style="width: 101%;border-top: 1px solid #cccccc;margin-top: 5px">
<span style="color:red;margin-top: 10px;display: inline-block">{{$t('ground.tuiJingdian')}}:</span>
<span v-for="childItem in item.orderBackScenicList">
<span style="color:green;">{{ childItem.couponsName }}</span>退票<span
style="color:red;">{{childItem.number}}</span>人:<span
style="color: blue">{{childItem.guestNameList}}</span>
&nbsp;&nbsp; &nbsp;&nbsp;
</span>
</div>
</td>
</tr>
<tr>
<td colspan="5">
<div class="groupTourOrder_remarks">
<div>
<div>
<span>{{ $t("pub.pubRemark") }}:</span>
<p>
<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>
;</span><span
v-if="item.clientSource == 1 && item.brandName != ''">{{ item.brandName }}{{ $t("fnc.dingdan") }}
{{ item.platformOrder }};</span>{{ item.remarks }}
</p>
</div>
<div>
<span>{{ item.remarksName }}&ensp;{{ item.rematksTime }}</span>
<el-popover width="600" placement="bottom-end" trigger="click">
<div class="groupTourOrder_remarks_popover">
<div>{{ $t("fnc.lsbeizhu") }}</div>
<p v-if="item.remarksList.length !== 0" v-for="(item2, index2) in item.remarksList"
:key="index2">
<span>{{ item2.remarks }}</span>
<span>{{ item2.createByName }}&ensp;<span
style="color: #666666">{{ item2.createDate }}</span></span>
</p>
<span v-if="item.remarksList.length === 0">{{
$t("system.content_noData")
}}</span>
</div>
<el-button slot="reference" icon="iconfont icon-gengduo" style="
padding: 0px;
border: none;
background-color: transparent;
" class="groupTourOrder_remarks_btn">
</el-button>
</el-popover>
</div>
</div>
</div>
<p v-if="item.unionRemark" style="color: red;font-size:10px;margin-top:5px;">
{{$t('objFill.liangyunbeizhu')}}:{{ item.unionRemark }}
</p>
<template v-if="item.orderGuestFlightList&&item.orderGuestFlightList.length>0">
<template v-for="(uItem,uIndex) in item.orderGuestFlightList">
<div :key="uIndex+20000">
{{uItem.guestNames}} {{$t('salesModule.FlighInfo')}}
<span v-if="uItem.isSure==1" style="color:rgb(71, 191, 140)">【OK】</span> <span
v-else>{{$t('visa.v_zanding')}}</span>
<!-- <a v-if="uItem.ticketUnionId&&uItem.ticketUnionId>0" @click="toTrip(item,uItem.ticketUnionId,uItem.GuestIds)"
style="cursor:pointer;text-decoration:underline;color:green;">
{{ $t("Operation.Op_teamNotice") }}({{ item.outNotice == 1 ? "OK" : $t('visa.v_zanding')}})
</a> -->
<a v-if="(item.orderGuestFlightList&&item.orderGuestFlightList.length>1&&item.outNotice == 1)||(uItem.ticketUnionId&&uItem.ticketUnionId>0)"
@click="toTrip(item,uItem.ticketUnionId,uItem.guestIds)"
style="cursor:pointer;text-decoration:underline;color:green;">
{{ $t("Operation.Op_teamNotice") }}({{ item.outNotice == 1 ? "OK" : $t('visa.v_zanding')}})
</a>
<br />
<template v-for="(sfItem,sfIndex) in uItem.guestFlightList">
<span style="color:blue;" :key="sfIndex+30000">
{{sfItem.flightDateStr}} {{sfItem.flight_number}}
{{sfItem.departure_time}}-{{sfItem.arrival_time}}
{{sfItem.departureName}} ({{sfItem.diata}})-{{sfItem.arrivalCityName}}({{sfItem.aiata}})
</span>
<br :key="sfIndex+40000" />
</template>
</div>
</template>
</template>
</td>
<td colspan="4" class="groupTourOrder_remarks" style="height: 40px">
<div>
<div>
<span>{{ $t("Operation.Op_remark") }}:</span>
<p>{{ item.oP_Remarks ? item.oP_Remarks : $t('fnc.no') }}</p>
</div>
</div>
</td>
<td colspan="4" class="groupTourOrder_SpecialAPP" stysle="height: 40px;">
<div v-if="item.lessPrice>0">
<span>{{ $t('objFill.saleless') }}:</span>
<span class="font-color-red">{{item.lessPrice}}</span>
</div>
<div>
{{$t('objFill.tejiasheqinghan')}}:
<template v-if="item.orderspecialofferId === 0">
<span class="font-color-blur">{{$t('objFill.weishenqing')}}</span>
</template>
<template v-else>
<span class="font-color-red" v-if="item.orderspecialofferState === -1">{{$t('visa.v_jujue')}}</span>
<span class="font-color-org"
v-if="item.orderspecialofferState === 0">{{$t('objFill.shengpizhong')}}</span>
<span class="font-color-green"
v-if="item.orderspecialofferState === 1">{{$t('visa.v_tongguo')}}</span>
</template>
</div>
<div class="font-color-red" v-if="item.orderspecialofferId !== 0">
{{$t('objFill.shengqingsm')}}:<span>{{ item.orderspecialofferApplyReason }}</span>
</div>
<div class="font-color-red" v-if="item.orderspecialofferId !== 0">
{{$t('objFill.shengpism')}}:<span>{{ item.orderspecialofferReason }}</span>
</div>
</td>
<td colspan="5" class="groupTourOrder_tickets" style="height: 40px">
<div>
<div>{{ $t("fnc.skdanju") }}:</div>
<div>
<span v-for="(item2, index2) in item.financeList" :key="index2"
@click="goUrlSFD('SalesFinancialDetail', '销售财务单据', item)">
<span v-if="item2.colorState === 1" class="groupTourOrder_tickets_blue">{{ item2.frID }}</span>
<span v-else-if="item2.colorState === 2"
class="groupTourOrder_tickets_green">{{ item2.frID }}</span>
<span v-else-if="item2.colorState === 3" class="groupTourOrder_tickets_red">{{ item2.frID }}</span>
<span v-else-if="item2.colorState === 4"
class="groupTourOrder_tickets_black">{{ item2.frID }}</span>
</span>
<span v-if="item.financeList.length === 0"
style="cursor: default">{{ $t("system.content_noData") }}</span>
</div>
</div>
<div>
<div>{{ $t("fnc.fkdanju") }}:</div>
<div>
<span v-for="(item2, index2) in item.refundFinanceList" :key="index2"
@click="goUrlSFD('SalesFinancialDetail', '销售财务单据', item)">
<span v-if="item2.colorState === 1" class="groupTourOrder_tickets_blue">{{ item2.frID }}</span>
<span v-else-if="item2.colorState === 2"
class="groupTourOrder_tickets_green">{{ item2.frID }}</span>
<span v-else-if="item2.colorState === 3" class="groupTourOrder_tickets_red">{{ item2.frID }}</span>
<span v-else-if="item2.colorState === 4"
class="groupTourOrder_tickets_black">{{ item2.frID }}</span>
</span>
<span v-if="item.refundFinanceList.length === 0"
style="cursor: default">{{ $t("system.content_noData") }}</span>
</div>
</div>
<div>
<div>{{ $t("salesModule.Invoice") }}:</div>
<div>
<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-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 v-if="item.invoiceApplyList.length === 0"
style="cursor: default">{{ $t("system.content_noData") }}</span>
</div>
</div>
</td>
</tr>
</tbody>
</table>
</div>
</template>
<script>
import { userMixin } from "../../common/mixins/userMixin.js";
import payURL from "../../commonPage/payURL.vue";
import payURL1 from "../../commonPage/payURL1.vue";
import tripDownLoadCommon from "../../commonPage/TripDownLoadCommon.vue";
import updateSalesMan from "../../commonPage/updateSalesMan.vue";
import commissionDialog from "../../FinancialModule/TradeCommission/commissionDialog"
import orderRemark from "../../orderCommon/order-remark.vue"; //订单备注
import PriceDetail from '../../orderCommon/PriceDetail.vue';
export default {
name: 'groupOrder',
mixins: [userMixin],
props: ['list','orderList','logList','redBagList','qjGroupId','isShow','showID','TransferMission','isEditOrderCreate'],
components: {
payurlItem: payURL,
payurlItem1: payURL1,
tripDownLoadCommon: tripDownLoadCommon,
updateSalesMan: updateSalesMan,
commissionDialog,
orderRemark: orderRemark,
PriceDetail,
},
data() {
return {
dataList: [],
showType: 1,
selectedSpotData: null,
}
},
computed: {
},
watch: {
list: {
immediate: true,
deep:true,
handler(newVal) {
this.dataList = newVal
}
},
},
mounted() {
},
beforeDestroy() {
},
methods: {
goIisDetail (id) {
this.$emit('goIisDetail', id)
},
goUrlTS(path, id, orderId, title){
this.$emit('goUrlTS', path, id, orderId, title)
},
goContract(item, sItem) {
this.goUrlTS('goContract', item, sItem)
},
goSingleContract(item) {
this.goUrlTS('goSingleContract', item)
},
gourlTip(path, id) {
this.$emit('gourlTip', path, id)
},
goProtocol(item, sItem) {
this.goUrlTS('goProtocol', item, sItem)
},
goDisclaimer(item, sItem) {
this.goUrlTS('goDisclaimer', item, sItem)
},
goInvetig(path, tcid, orderId){
this.$emit('goInvetig', path, tcid, orderId)
},
SpecialAPP(tcid, orderId, ID){
this.$emit('SpecialAPP', tcid, orderId, ID)
},
deleteItem(obj) {
this.$emit('deleteItem', obj)
},
ShenQingPhoto(item) {
this.$emit('ShenQingPhoto', item)
},
Discount(TCID) {
this.$emit('Discount', TCID)
},
goUrlAdd(path, OrderId, TCID, customerId) {
this.$emit('goUrlAdd', path, OrderId, TCID, customerId)
},
getOrderGender(item) {
this.$emit('getOrderGender', item)
},
transfer(item) {
this.$emit('transfer', item)
},
getHouse(obj) {
this.$emit('getHouse', obj)
},
goUrlP(name, path, item) {
this.$emit('goUrlP', name, path, item)
},
toTrip(obj, TicketUnionId, GuestIds) {
this.$emit('toTrip', obj, TicketUnionId, GuestIds)
},
getSalerInfo(item) {
this.$emit('getSalerInfo', item)
},
getLogDetail(obj) {
this.$emit('getLogDetail', obj)
},
getRemarks(obj) {
this.$emit('getRemarks', obj)
},
getDetail(obj) {
this.$emit('getDetail', obj)
},
getItem(obj) {
this.$emit('getItem', obj)
},
downLoadFile(obj) {
this.$emit('downLoadFile', obj)
},
getMembersDetail(obj) {
this.$emit('getMembersDetail', obj)
},
seeBJD(url) {
this.$emit('seeBJD', url)
},
gotoProduct(item) {
this.$emit('gotoProduct', item)
},
goUrlX(name, path, id, tcmun) {
this.$emit('goUrlX', name, path, id, tcmun)
},
getOrderDetail(obj) {
this.$emit('getOrderDetail', obj)
},
goUrlHappy(item) {
this.$emit('goUrlHappy', item)
},
getRedBag(item) {
this.$emit('getRedBag', item)
},
goUrlT(path, id) {
this.$emit('goUrlT', path, id)
},
setChargeLoss(obj) {
this.$emit('setChargeLoss', obj)
},
goUrlSFD(path, name, item) {
this.$emit('goUrlSFD', path, name, item)
},
uploadFileBtn(file) {
this.$emit('uploadFileBtn', file)
},
childByValue(data) {
this.$emit('childByValue', data)
}
}
}
</script>
\ No newline at end of file
...@@ -1773,8 +1773,23 @@ ...@@ -1773,8 +1773,23 @@
</el-row> </el-row>
</div> </div>
<!-- 表格 --> <!-- 表格 -->
<div style="width: 100%; height: auto; overflow-x: auto" class="ownScrollbarStyle"> <div style="width: 100%; height: auto; overflow-x: auto" class="ownScrollbarStyle" v-loading="loading">
<table class="groupTourOrderSearchTable" border="0" cellspacing="0" cellpadding="0" v-loading="loading"> <groupOrder v-if="userInfo.SimpleEasy==1" :list="list" :orderList="orderList"
:logList="logList" :redBagList="redBagList" :qjGroupId="qjGroupId" :isShow="isShow"
:showID="showID" :TransferMission="TransferMission" :isEditOrderCreate="isEditOrderCreate"
@goIisDetail="goIisDetail" @goUrlTS="goUrlTS" @goContract="goContract"
@goSingleContract="goSingleContract" @goProtocol="goProtocol" @goDisclaimer="goDisclaimer"
@goInvetig="goInvetig" @SpecialAPP="SpecialAPP" @deleteItem="deleteItem"
@ShenQingPhoto="ShenQingPhoto" @Discount="Discount" @goUrlAdd="goUrlAdd"
@getOrderGender="getOrderGender" @transfer="transfer" @getHouse="getHouse"
@toTrip="toTrip" @getSalerInfo="getSalerInfo" @getLogDetail="getLogDetail"
@getRemarks="getRemarks" @getDetail="getDetail" @downLoadFile="downLoadFile"
@getMembersDetail="getMembersDetail" @seeBJD="seeBJD" @gotoProduct="gotoProduct"
@goUrlX="goUrlX" @getOrderDetail="getOrderDetail" @goUrlHappy="goUrlHappy"
@getRedBag="getRedBag" @goUrlT="goUrlT" @setChargeLoss="setChargeLoss"
@goUrlSFD="goUrlSFD" @uploadFileBtn="uploadFileBtn" @childByValue="childByValue"
></groupOrder>
<table v-else class="groupTourOrderSearchTable" border="0" cellspacing="0" cellpadding="0">
<tr> <tr>
<th width="210">{{ $t("fnc.danhao") }}&{{ $t("visa.v_tuanhao") }}</th> <th width="210">{{ $t("fnc.danhao") }}&{{ $t("visa.v_tuanhao") }}</th>
<th width="120">{{ $t("fnc.khxinxi") }}</th> <th width="120">{{ $t("fnc.khxinxi") }}</th>
...@@ -2707,14 +2722,15 @@ ...@@ -2707,14 +2722,15 @@
import orderRemark from "../orderCommon/order-remark.vue"; //订单备注 import orderRemark from "../orderCommon/order-remark.vue"; //订单备注
import PriceDetail from '../orderCommon/PriceDetail.vue'; import PriceDetail from '../orderCommon/PriceDetail.vue';
import DateLimit from '../public/DateLimit.vue'; import DateLimit from '../public/DateLimit.vue';
import pinkDrawer from './components/pinkDrawer.vue'; import pinkDrawer from '../common/pinkDrawer.vue';
import addOrder from './components/addOrder.vue'; import addOrder from './components/addOrder.vue';
import addConfig from "./components/addConfig.js"; import addConfig from "./components/addConfig.js";
import groupOrder from "./components/groupOrder.vue";
export default { export default {
data() { data() {
return { return {
selectedSpotData: null, selectedSpotData: null,
showType: 1, showType: 1,//团信息
pickerBeginDateAfter: { pickerBeginDateAfter: {
disabledDate: time => { disabledDate: time => {
let startTime = new Date(this.msg.QStartDate); let startTime = new Date(this.msg.QStartDate);
...@@ -3063,6 +3079,7 @@ ...@@ -3063,6 +3079,7 @@
DateLimit, DateLimit,
pinkDrawer, pinkDrawer,
addOrder, addOrder,
groupOrder,
}, },
filters: { filters: {
priceFormat(value) { priceFormat(value) {
...@@ -3096,6 +3113,7 @@ ...@@ -3096,6 +3113,7 @@
handleSaveSuccess() { handleSaveSuccess() {
this.$refs.addOrders.handleDrawerClose(); this.$refs.addOrders.handleDrawerClose();
this.getList(); this.getList();
this.getCount()
this.$message.success('保存成功'); this.$message.success('保存成功');
}, },
gotoProduct(item) { gotoProduct(item) {
...@@ -3958,6 +3976,14 @@ ...@@ -3958,6 +3976,14 @@
} }
}, },
getDetail(obj) { getDetail(obj) {
if(this.userInfo.SimpleEasy==1){
this.OperationType = 1
this.showType = 1
obj.OperationType = 1
this.selectedSpotData = obj;
this.$refs.addOrders.openDrawer(obj);
return;
}
this.goLVurl.orderId = obj.orderId; this.goLVurl.orderId = obj.orderId;
this.goLVurl.tcid = obj.tcid; this.goLVurl.tcid = obj.tcid;
this.goLVurl.tcnum = obj.tcnum; this.goLVurl.tcnum = obj.tcnum;
...@@ -4065,7 +4091,6 @@ ...@@ -4065,7 +4091,6 @@
if (x.ClientSource == 1) { if (x.ClientSource == 1) {
this.isPingtai = true; this.isPingtai = true;
} }
this.isShowLayer = true; this.isShowLayer = true;
this.isShowHouse = false; this.isShowHouse = false;
this.isShowLayerRemarks = false; this.isShowLayerRemarks = false;
......
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