Commit 848ec65d authored by youjie's avatar youjie

no message

parent f2b30ee3
...@@ -99,7 +99,7 @@ ...@@ -99,7 +99,7 @@
@close="close"></TableOperation> @close="close"></TableOperation>
</el-dialog> </el-dialog>
<!-- 购物车 --> <!-- 购物车 -->
<ListCar v-if="rightCarOpen" @close="close" @success="success" @editor="editor"></ListCar> <ListCar v-if="rightCarOpen" :crmOrderObj="crmOrderObj" @close="close" @success="success" @editor="editor"></ListCar>
<!-- 酒店详情信息 --> <!-- 酒店详情信息 -->
<el-dialog custom-class="w800" title="酒店详情" :visible.sync="showHotelDetails" center @close="close"> <el-dialog custom-class="w800" title="酒店详情" :visible.sync="showHotelDetails" center @close="close">
<hotelDetails :hotelId="HotelDetailId"></hotelDetails> <hotelDetails :hotelId="HotelDetailId"></hotelDetails>
...@@ -178,7 +178,8 @@ ...@@ -178,7 +178,8 @@
dataList: [], dataList: [],
isShow: false, isShow: false,
loading: false, loading: false,
HOTEL_memorandum: false HOTEL_memorandum: false,
crmOrderObj: null
}; };
}, },
watch: { watch: {
...@@ -320,6 +321,10 @@ ...@@ -320,6 +321,10 @@
}, },
}, },
mounted() { mounted() {
// crm自动登陆传过来的参数
if(this.$route.query.crmOrderObj){
this.crmOrderObj = JSON.parse(this.$route.query.crmOrderObj)
}
this.HotelLength = localStorage.getItem("HotelLength")?localStorage.getItem("HotelLength"):0 this.HotelLength = localStorage.getItem("HotelLength")?localStorage.getItem("HotelLength"):0
let userinfo = this.getLocalStorage(); let userinfo = this.getLocalStorage();
......
...@@ -67,6 +67,10 @@ ...@@ -67,6 +67,10 @@
<div v-if="cars.length==0" style="text-align: center;padding: 20px 0;">暂无数据</div> <div v-if="cars.length==0" style="text-align: center;padding: 20px 0;">暂无数据</div>
</div> </div>
<div class="ListCar-bottom" v-if="cars.length>0"> <div class="ListCar-bottom" v-if="cars.length>0">
<div v-if="crmOrderObj" style="margin-bottom: 10px;">
<span style="color: red;">引流人:{{crmOrderObj.LureEmpNmae}} </span>
<span style="color: #2AAEF2;">/客人:{{crmOrderObj.CRMGuestName}}</span>
</div>
<el-form label-width="60px" :model="parameters" :rules="rules" ref="parameters"> <el-form label-width="60px" :model="parameters" :rules="rules" ref="parameters">
<el-row :gutter="20"> <el-row :gutter="20">
<el-col :span="12"> <el-col :span="12">
...@@ -123,6 +127,10 @@ ...@@ -123,6 +127,10 @@
<script> <script>
export default { export default {
props: { props: {
crmOrderObj: {
type: Object,
require: false
},
HotelRow: { HotelRow: {
type: Object, type: Object,
require: false require: false
...@@ -146,7 +154,9 @@ ...@@ -146,7 +154,9 @@
TCNum: '', //=团队时 传递 组团号 TCNum: '', //=团队时 传递 组团号
ContactName: '', //=散客时 传递 联系人 ContactName: '', //=散客时 传递 联系人
ContactNumber: '', //=散客时 传递 联系人电话 ContactNumber: '', //=散客时 传递 联系人电话
OrderId: 0 OrderId: 0,
LureEmpId: 0,
CRMGuestId: 0,
}, },
currentIndex: 0, currentIndex: 0,
currentI: 0, currentI: 0,
...@@ -184,6 +194,18 @@ ...@@ -184,6 +194,18 @@
}; };
}, },
watch: { watch: {
crmOrderObj: {
handler: function (val, oldVal) {
this.crmOrderObj = val
console.log(this.crmOrderObj)
if(this.crmOrderObj){
this.parameters.LureEmpId = val.LureEmpId//引流id
this.parameters.CRMGuestId = val.CRMGuestId //客人ID
}
},
deep: true,
immediate: true
},
cars: { cars: {
handler: function (val, oldVal) { handler: function (val, oldVal) {
this.HotelLength = this.cars.length this.HotelLength = this.cars.length
...@@ -396,7 +418,7 @@ ...@@ -396,7 +418,7 @@
} }
.ListCar-content{ .ListCar-content{
padding: 20px 15px; padding: 20px 15px;
height: calc(100% - 195px); height: calc(100% - 230px);
overflow: auto; overflow: auto;
} }
.ListCar-list{ .ListCar-list{
......
...@@ -549,6 +549,10 @@ ...@@ -549,6 +549,10 @@
<div class="productQuerybottomLayer ownScrollbarStyle" v-show="isShowLayer"> <div class="productQuerybottomLayer ownScrollbarStyle" v-show="isShowLayer">
<p> <p>
{{ $t("salesModule.SignImdi") }} {{ $t("salesModule.SignImdi") }}
<span v-if="crmOrderObj">
<span style="color: red;">引流人:{{crmOrderObj.LureEmpNmae}} </span>
<span style="color: #2AAEF2;">/客人:{{crmOrderObj.CRMGuestName}}</span>
</span>
<span class="fr"> <span class="fr">
<input type="button" class="hollowFixedBtn" :value="$t('pub.cancelBtn')" @click="cancelSubmit()" /> <input type="button" class="hollowFixedBtn" :value="$t('pub.cancelBtn')" @click="cancelSubmit()" />
<input type="button" class="normalBtn" :value="$t('salesModule.SignImdi')" @click="submitForm('addMsg')" /> <input type="button" class="normalBtn" :value="$t('salesModule.SignImdi')" @click="submitForm('addMsg')" />
...@@ -1833,6 +1837,8 @@ ...@@ -1833,6 +1837,8 @@
SonControlID: "-1", SonControlID: "-1",
IsShowMessagesMoney: "2", IsShowMessagesMoney: "2",
QuotationUrl: "", //单团附件 QuotationUrl: "", //单团附件
LureEmpId: 0,//引流id
CRMGuestId: 0, //客人ID
}, },
uploadLloading: false, uploadLloading: false,
employeeMsg: { employeeMsg: {
...@@ -1966,6 +1972,7 @@ ...@@ -1966,6 +1972,7 @@
S_Travel_Share: false, //分享权限 S_Travel_Share: false, //分享权限
userInfo: {}, userInfo: {},
TotalNumber: 0, TotalNumber: 0,
crmOrderObj: null
}; };
}, },
components: { components: {
...@@ -3627,6 +3634,12 @@ ...@@ -3627,6 +3634,12 @@
} }
}, },
mounted() { mounted() {
// crm自动登陆传过来的参数
if(this.$route.query.crmOrderObj){
this.crmOrderObj = JSON.parse(this.$route.query.crmOrderObj)
this.addMsg.LureEmpId = this.crmOrderObj.LureEmpId//引流id
this.addMsg.CRMGuestId = this.crmOrderObj.CRMGuestId //客人ID
}
let userInfo = this.getLocalStorage(); let userInfo = this.getLocalStorage();
this.userInfo = this.getLocalStorage(); this.userInfo = this.getLocalStorage();
this.GetSupperOrderEditAuth(); this.GetSupperOrderEditAuth();
......
...@@ -178,6 +178,10 @@ ...@@ -178,6 +178,10 @@
<div class="productQuerybottomLayer ownScrollbarStyle" v-show="isShowLayer"> <div class="productQuerybottomLayer ownScrollbarStyle" v-show="isShowLayer">
<p> <p>
{{$t('salesModule.SignImdi')}} {{$t('salesModule.SignImdi')}}
<span v-if="crmOrderObj">
<span style="color: red;">引流人:{{crmOrderObj.LureEmpNmae}} </span>
<span style="color: #2AAEF2;">/客人:{{crmOrderObj.CRMGuestName}}</span>
</span>
<span class="fr"> <span class="fr">
<input type="button" class="hollowFixedBtn" :value="$t('pub.cancelBtn')" @click="cancelSubmit()" /> <input type="button" class="hollowFixedBtn" :value="$t('pub.cancelBtn')" @click="cancelSubmit()" />
<input type="button" class="normalBtn" :value="$t('salesModule.SignImdi')" @click="submitForm('addMsg')" /> <input type="button" class="normalBtn" :value="$t('salesModule.SignImdi')" @click="submitForm('addMsg')" />
...@@ -1064,7 +1068,9 @@ ...@@ -1064,7 +1068,9 @@
SonControlID: '-1', SonControlID: '-1',
IsShowMessagesMoney: '2', IsShowMessagesMoney: '2',
GuestList: [], GuestList: [],
GatherAddress: '' GatherAddress: '',
LureEmpId: 0,//引流id
CRMGuestId: 0, //客人ID
}, },
GuestList: [ GuestList: [
{ {
...@@ -1280,6 +1286,7 @@ ...@@ -1280,6 +1286,7 @@
countryList: [],//国籍 countryList: [],//国籍
//当前登录用户信息 //当前登录用户信息
CurrentUserInfo: {}, CurrentUserInfo: {},
crmOrderObj: null,
} }
}, },
components: { components: {
...@@ -2451,6 +2458,13 @@ ...@@ -2451,6 +2458,13 @@
}, },
}, },
mounted() { mounted() {
// crm自动登陆传过来的参数
if(this.$route.query.crmOrderObj){
this.crmOrderObj = JSON.parse(this.$route.query.crmOrderObj)
this.addMsg.LureEmpId = this.crmOrderObj.LureEmpId//引流id
this.addMsg.CRMGuestId = this.crmOrderObj.CRMGuestId //客人ID
}
this.userId = this.getLocalStorage().EmployeeId this.userId = this.getLocalStorage().EmployeeId
this.msg.BranchId = this.getLocalStorage().RB_Branch_id.toString() this.msg.BranchId = this.getLocalStorage().RB_Branch_id.toString()
if (this.$route.query.id) { if (this.$route.query.id) {
......
...@@ -344,7 +344,11 @@ ...@@ -344,7 +344,11 @@
layout="total,prev, pager, next, jumper" :page-size="this.msg.pageSize" :total="total"> layout="total,prev, pager, next, jumper" :page-size="this.msg.pageSize" :total="total">
</el-pagination> </el-pagination>
<div class="_mc_edit _scrollbar" :class="addShow==true?'edHeight':''"> <div class="_mc_edit _scrollbar" :class="addShow==true?'edHeight':''">
<p class="_tit">{{$t('Operation.Op_signUp')}} <p class="_tit">{{$t('Operation.Op_signUp')}}
<span v-if="crmOrderObj">
<span style="color: red;">引流人:{{crmOrderObj.LureEmpNmae}} </span>
<span style="color: #2AAEF2;">/客人:{{crmOrderObj.CRMGuestName}}</span>
</span>
<span class="fr"> <span class="fr">
<button class="hollowFixedBtn" type="button" @click="cancelEdit()">{{$t('pub.cancelBtn')}}</button> <button class="hollowFixedBtn" type="button" @click="cancelEdit()">{{$t('pub.cancelBtn')}}</button>
<button type="button" class="normalBtn" @click="saveVisa()">{{$t('pub.saveBtn')}}</button> <button type="button" class="normalBtn" @click="saveVisa()">{{$t('pub.saveBtn')}}</button>
...@@ -495,7 +499,9 @@ ...@@ -495,7 +499,9 @@
LeaveCountryFlight: '', LeaveCountryFlight: '',
VisaPlanId: 0, VisaPlanId: 0,
DepartDate: '', DepartDate: '',
ClientType: '1' ClientType: '1',
LureEmpId: 0,//引流id
CRMGuestId: 0, //客人ID
}, },
rules: { rules: {
PeopleNum: [{ PeopleNum: [{
...@@ -531,6 +537,7 @@ ...@@ -531,6 +537,7 @@
total: 0, total: 0,
addShow: false, addShow: false,
currentPage: 1, currentPage: 1,
crmOrderObj: null
} }
}, },
methods: { methods: {
...@@ -705,6 +712,8 @@ ...@@ -705,6 +712,8 @@
}, err => {}) }, err => {})
}, },
saveVisa() { // 保存 saveVisa() { // 保存
console.log(this.addMsg,'===')
// return
this.$refs['addMsg'].validate((valid) => { this.$refs['addMsg'].validate((valid) => {
if (valid) { if (valid) {
this.apipost('dmc_get_visa_SetVisaOrder', this.addMsg, res => { this.apipost('dmc_get_visa_SetVisaOrder', this.addMsg, res => {
...@@ -723,7 +732,9 @@ ...@@ -723,7 +732,9 @@
EnterCountryFlight: '', EnterCountryFlight: '',
LeaveCountryFlight: '', LeaveCountryFlight: '',
VisaPlanId: 0, VisaPlanId: 0,
DepartDate: '' DepartDate: '',
LureEmpId: 0,
CRMGuestId: 0
} }
this.$message.success(res.data.message) this.$message.success(res.data.message)
this.addShow = false this.addShow = false
...@@ -758,6 +769,12 @@ ...@@ -758,6 +769,12 @@
}, },
}, },
mounted() { mounted() {
// crm自动登陆传过来的参数
if(this.$route.query.crmOrderObj){
this.crmOrderObj = JSON.parse(this.$route.query.crmOrderObj)
this.addMsg.LureEmpId = this.crmOrderObj.LureEmpId//引流id
this.addMsg.CRMGuestId = this.crmOrderObj.CRMGuestId //客人ID
}
this.userId = this.getLocalStorage().EmployeeId this.userId = this.getLocalStorage().EmployeeId
this.msg.RB_Branch_Id = this.getLocalStorage().RB_Branch_id.toString() this.msg.RB_Branch_Id = this.getLocalStorage().RB_Branch_id.toString()
this.getList() this.getList()
......
<style>
</style>
<template>
<div>
<TicketOrder :pagesTitle="pagesTitle" :dataObj="dataObj"></TicketOrder>
</div>
</template>
<script>
import TicketOrder from './components/TicketOrder.vue';
export default {
components: { TicketOrder },
data() {
return {
pagesTitle: '销售',
dataObj:{
OrderId: '',
}
};
},
watch: {
pagesTitle(val,oldval){
},
},
methods: {
},
created() {
},
mounted() {
if(this.$route.query.OrderId){
this.dataObj.OrderId = this.$route.query.OrderId
}
},
};
</script>
<style>
</style>
This diff is collapsed.
This diff is collapsed.
...@@ -305,6 +305,10 @@ ...@@ -305,6 +305,10 @@
<div class="list-left"> <div class="list-left">
<h6 @click="showCardHandler">{{detailsObj.Name}}</h6> <h6 @click="showCardHandler">{{detailsObj.Name}}</h6>
<p style="color: #9e9e9e;font-size: 13px;">请在出发前一天的23:00前完成预定</p> <p style="color: #9e9e9e;font-size: 13px;">请在出发前一天的23:00前完成预定</p>
<div v-if="crmOrderObj">
<span style="color: red;">引流人:{{crmOrderObj.LureEmpNmae}} </span>
<span style="color: #2AAEF2;">/客人:{{crmOrderObj.CRMGuestName}}</span>
</div>
<!-- <div> <!-- <div>
<span>地址: {{detailsObj.CityList2[0].CountryName }}{{detailsObj.CityList2[0].CityName}}</span> <span>地址: {{detailsObj.CityList2[0].CountryName }}{{detailsObj.CityList2[0].CityName}}</span>
<a @click="showCardHandler"><i class="el-icon-map-location"></i> 地图</a> <a @click="showCardHandler"><i class="el-icon-map-location"></i> 地图</a>
...@@ -438,8 +442,8 @@ ...@@ -438,8 +442,8 @@
placeholder="请输入上车地点"> placeholder="请输入上车地点">
</el-input> </el-input>
<span @click="clickMapAddress(1,1,msg.GetonAddress)" <!-- <span @click="clickMapAddress(1,1,msg.GetonAddress)"
class="el-icon-location" style="font-size: 16px;color: #E95252;position: absolute;right: 10px;top: 15px;"></span> class="el-icon-location" style="font-size: 16px;color: #E95252;position: absolute;right: 10px;top: 15px;"></span> -->
</el-form-item> </el-form-item>
</li> </li>
<li v-if="msg.OrderType!=2"> <li v-if="msg.OrderType!=2">
...@@ -637,6 +641,8 @@ ...@@ -637,6 +641,8 @@
Mobile:'',//电话 Mobile:'',//电话
ProductId: '', ProductId: '',
CarId: '',//产品类型ID CarId: '',//产品类型ID
LureEmpId: 0,
CRMGuestId: 0,
}, },
types: [], types: [],
isCheck: false, isCheck: false,
...@@ -712,7 +718,8 @@ ...@@ -712,7 +718,8 @@
} }
], ],
}, },
detailsRow: null detailsRow: null,
crmOrderObj: null
}; };
}, },
methods: { methods: {
...@@ -980,7 +987,12 @@ ...@@ -980,7 +987,12 @@
}, },
mounted() { mounted() {
// crm自动登陆传过来的参数
if(this.$route.query.crmOrderObj){
this.crmOrderObj = JSON.parse(this.$route.query.crmOrderObj)
this.msg.LureEmpId = this.crmOrderObj.LureEmpId//引流id
this.msg.CRMGuestId = this.crmOrderObj.CRMGuestId //客人ID
}
}, },
created() { created() {
this.msg.OrderId = this.$route.query.OrderId this.msg.OrderId = this.$route.query.OrderId
......
...@@ -284,6 +284,10 @@ ...@@ -284,6 +284,10 @@
<div class="listone-list"> <div class="listone-list">
<div class="list-left"> <div class="list-left">
<p style="color: #9e9e9e;font-size: 13px;">请在出发前一天的23:00前完成预定</p> <p style="color: #9e9e9e;font-size: 13px;">请在出发前一天的23:00前完成预定</p>
<div v-if="crmOrderObj">
<span style="color: red;">引流人:{{crmOrderObj.LureEmpNmae}} </span>
<span style="color: #2AAEF2;">/客人:{{crmOrderObj.CRMGuestName}}</span>
</div>
</div> </div>
</div> </div>
</div> </div>
...@@ -500,7 +504,9 @@ ...@@ -500,7 +504,9 @@
// UseType: null,//用车类型(接口返下拉列表) // UseType: null,//用车类型(接口返下拉列表)
// TripInfo: "",//行程信息 // TripInfo: "",//行程信息
// } // }
] ],
LureEmpId: 0,
CRMGuestId: 0,
}, },
types: [], types: [],
isCheck: false, isCheck: false,
...@@ -584,7 +590,8 @@ ...@@ -584,7 +590,8 @@
}, },
vehicletop: [], vehicletop: [],
listvehicle: [], listvehicle: [],
SeatNum:0 SeatNum:0,
crmOrderObj: null,
}; };
}, },
methods: { methods: {
...@@ -801,6 +808,12 @@ ...@@ -801,6 +808,12 @@
}, },
mounted() { mounted() {
// crm自动登陆传过来的参数
if(this.$route.query.crmOrderObj){
this.crmOrderObj = JSON.parse(this.$route.query.crmOrderObj)
this.msg.LureEmpId = this.crmOrderObj.LureEmpId//引流id
this.msg.CRMGuestId = this.crmOrderObj.CRMGuestId //客人ID
}
let userInfo = this.getLocalStorage(); let userInfo = this.getLocalStorage();
this.msg.UseCompName = userInfo.GroupName this.msg.UseCompName = userInfo.GroupName
this.msg.UseName = userInfo.emName this.msg.UseName = userInfo.emName
......
...@@ -314,6 +314,7 @@ ...@@ -314,6 +314,7 @@
}, },
detailsObj:{}, detailsObj:{},
showDetails: false, showDetails: false,
crmOrderObj: null
}; };
}, },
watch: { watch: {
...@@ -334,6 +335,7 @@ ...@@ -334,6 +335,7 @@
name: 'CharterAddEditVehicle', name: 'CharterAddEditVehicle',
query: { query: {
blank: "y", blank: "y",
crmOrderObj: this.crmOrderObj?this.crmOrderObj:null,
tab: "新增团订" tab: "新增团订"
} }
}); });
...@@ -344,6 +346,7 @@ ...@@ -344,6 +346,7 @@
query: { query: {
id: id, id: id,
OrderDate: this.FormartDate(new Date(this.msg.Q_Date)), OrderDate: this.FormartDate(new Date(this.msg.Q_Date)),
crmOrderObj: this.crmOrderObj?this.crmOrderObj:null,
blank: "y", blank: "y",
tab: "订单预览" tab: "订单预览"
} }
...@@ -445,7 +448,10 @@ ...@@ -445,7 +448,10 @@
}, },
mounted() { mounted() {
// crm自动登陆传过来的参数
if(this.$route.query.crmOrderObj){
this.crmOrderObj = this.$route.query.crmOrderObj
}
}, },
created() { created() {
this.getProvinceList(); this.getProvinceList();
......
...@@ -279,6 +279,10 @@ ...@@ -279,6 +279,10 @@
<div class="list-left"> <div class="list-left">
<h6 @click="showCardHandler">{{detailsObj.Name}}</h6> <h6 @click="showCardHandler">{{detailsObj.Name}}</h6>
<p style="color: #9e9e9e;font-size: 13px;">请在游玩前一天的23:00前完成预定</p> <p style="color: #9e9e9e;font-size: 13px;">请在游玩前一天的23:00前完成预定</p>
<div v-if="crmOrderObj">
<span style="color: red;">引流人:{{crmOrderObj.LureEmpNmae}} </span>
<span style="color: #2AAEF2;">/客人:{{crmOrderObj.CRMGuestName}}</span>
</div>
<!-- <div> <!-- <div>
<span>地址: {{detailsObj.CityName}} {{detailsObj.Address}}</span> <span>地址: {{detailsObj.CityName}} {{detailsObj.Address}}</span>
<a @click="showCardHandler"><i class="el-icon-map-location"></i> 地图</a> <a @click="showCardHandler"><i class="el-icon-map-location"></i> 地图</a>
...@@ -480,6 +484,8 @@ ...@@ -480,6 +484,8 @@
Mobile:'', Mobile:'',
CouponsId:'',//景点id CouponsId:'',//景点id
DetailList:[], DetailList:[],
LureEmpId: 0,
CRMGuestId: 0,
}, },
types: [], types: [],
isCheck: false, isCheck: false,
...@@ -515,7 +521,8 @@ ...@@ -515,7 +521,8 @@
trigger: 'blur' trigger: 'blur'
}], }],
}, },
detailsRow: null detailsRow: null,
crmOrderObj: null
}; };
}, },
methods: { methods: {
...@@ -682,7 +689,12 @@ ...@@ -682,7 +689,12 @@
}, },
mounted() { mounted() {
// crm自动登陆传过来的参数
if(this.$route.query.crmOrderObj){
this.crmOrderObj = JSON.parse(this.$route.query.crmOrderObj)
this.msg.LureEmpId = this.crmOrderObj.LureEmpId
this.msg.CRMGuestId = this.crmOrderObj.CRMGuestId
}
}, },
created() { created() {
this.msg.CouponsId = this.$route.query.id this.msg.CouponsId = this.$route.query.id
......
...@@ -150,7 +150,7 @@ ...@@ -150,7 +150,7 @@
<div class="flexOne domesticScenic"> <div class="flexOne domesticScenic">
<div class="query-box"> <div class="query-box">
<ul> <ul>
<li> <!-- <li>
<span> <span>
<em>{{ $t('system.quety_area') }}</em> <em>{{ $t('system.quety_area') }}</em>
<el-select v-model="msg.QProvince" filterable @change="getProvinceList(msg.QProvince, 2)" <el-select v-model="msg.QProvince" filterable @change="getProvinceList(msg.QProvince, 2)"
...@@ -163,7 +163,7 @@ ...@@ -163,7 +163,7 @@
<el-option v-for="item in cityList" :key="item.ID" :label="item.Name" :value="item.ID"></el-option> <el-option v-for="item in cityList" :key="item.ID" :label="item.Name" :value="item.ID"></el-option>
</el-select> </el-select>
</span> </span>
</li> </li> -->
<li><span><em>日期</em> <li><span><em>日期</em>
<el-date-picker v-model='msg.OpenTime' format="yyyy-MM-dd" value-format="yyyy-MM-dd" type="date" <el-date-picker v-model='msg.OpenTime' format="yyyy-MM-dd" value-format="yyyy-MM-dd" type="date"
:picker-options="beforeCheck" laceholder="门票日期"> :picker-options="beforeCheck" laceholder="门票日期">
...@@ -294,7 +294,7 @@ export default { ...@@ -294,7 +294,7 @@ export default {
msg: { msg: {
pageIndex: 1, pageIndex: 1,
pageSize: 16, pageSize: 16,
QCountry: '651', QCountry: '0',//651
QProvince: 0, QProvince: 0,
QCity: 0, QCity: 0,
QDistrict: 0, QDistrict: 0,
...@@ -312,6 +312,7 @@ export default { ...@@ -312,6 +312,7 @@ export default {
}, },
detailsObj: {}, detailsObj: {},
showDetails: false, showDetails: false,
crmOrderObj: null,
}; };
}, },
watch: { watch: {
...@@ -333,6 +334,7 @@ export default { ...@@ -333,6 +334,7 @@ export default {
query: { query: {
id: id, id: id,
OpenTime: this.FormartDate(new Date(this.msg.OpenTime)), OpenTime: this.FormartDate(new Date(this.msg.OpenTime)),
crmOrderObj: this.crmOrderObj?this.crmOrderObj:null,
blank: "y", blank: "y",
tab: "订单预览" tab: "订单预览"
} }
...@@ -427,7 +429,10 @@ export default { ...@@ -427,7 +429,10 @@ export default {
}, },
mounted() { mounted() {
// crm自动登陆传过来的参数
if(this.$route.query.crmOrderObj){
this.crmOrderObj = this.$route.query.crmOrderObj
}
}, },
created() { created() {
this.getProvinceList("651", 1); this.getProvinceList("651", 1);
......
...@@ -2110,6 +2110,14 @@ export default { ...@@ -2110,6 +2110,14 @@ export default {
title: '用车订单' title: '用车订单'
}, },
}, },
{
path: '/CRMTicketOrder', //crm单项机票订单
name: 'CRMTicketOrder',
component: resolve => require(['@/components/SingleAirTicket/TicketOrder'], resolve),
meta: {
title: '单机票订单'
},
},
{ {
path: '/CharterAddEditVehicle', //新增/编辑团订 path: '/CharterAddEditVehicle', //新增/编辑团订
name: 'CharterAddEditVehicle', name: 'CharterAddEditVehicle',
...@@ -2229,7 +2237,8 @@ export default { ...@@ -2229,7 +2237,8 @@ export default {
meta: { meta: {
title: '签证已确认' title: '签证已确认'
}, },
}, { },
{
path: '/TravelManager', //团控配置 path: '/TravelManager', //团控配置
name: 'TravelManager', name: 'TravelManager',
component: resolve => require(['@/components/TravelManager/TravelGroupControl/TravelManager'], resolve), component: resolve => require(['@/components/TravelManager/TravelGroupControl/TravelManager'], resolve),
...@@ -2319,13 +2328,6 @@ export default { ...@@ -2319,13 +2328,6 @@ export default {
meta: { meta: {
title: '在线申请' title: '在线申请'
}, },
}, {
path: '/airplaneOrder', //订单列表
name: 'airplaneOrder',
component: resolve => require(['@/components/TravelManager/TravelTeam/orderInfo'], resolve),
meta: {
title: '订单列表'
},
}, { }, {
path: '/TravelSupplier', //供应商列表 path: '/TravelSupplier', //供应商列表
name: 'TravelSupplier', name: 'TravelSupplier',
......
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