Commit 9e07547b authored by 沈良进's avatar 沈良进
parents 2c2fe27a a2965fea
...@@ -54,9 +54,9 @@ ...@@ -54,9 +54,9 @@
</span> </span>
</li> </li>
<li> <li>
<input v-if="HOTEL_memorandum" type="button" class="normalBtn" value="备忘录" <input v-if="HOTEL_memorandum&&!pagesTitle" type="button" class="normalBtn" value="备忘录"
@click="goUrl('memorandumList')" /> @click="goUrl('memorandumList')" />
<input type="button" class="normalBtn" value="温馨提示" <input v-if="!pagesTitle" type="button" class="normalBtn" value="温馨提示"
@click="showNotice=true" /> @click="showNotice=true" />
<button style="position: relative;" class="hollowFixedBtn" type="primary" @click="rightCarOpen=true"> <button style="position: relative;" class="hollowFixedBtn" type="primary" @click="rightCarOpen=true">
<i class="el-icon-goods"></i> <i class="el-icon-goods"></i>
...@@ -102,12 +102,14 @@ ...@@ -102,12 +102,14 @@
<WarmReminder @close="showNotice= false"></WarmReminder> <WarmReminder @close="showNotice= false"></WarmReminder>
</div> </div>
<!-- 默认弹窗信息 --> <!-- 默认弹窗信息 -->
<el-dialog custom-class="w800" title="信息" :visible.sync="showHQinfo" center> <template v-if="!pagesTitle">
<HotelTipTableList></HotelTipTableList> <el-dialog custom-class="w800" title="信息" :visible.sync="showHQinfo" center>
<div slot="footer" class="dialog-footer"> <HotelTipTableList></HotelTipTableList>
<button class="hollowFixedBtn" @click="showHQinfo = false">关闭</button> <div slot="footer" class="dialog-footer">
</div> <button class="hollowFixedBtn" @click="showHQinfo = false">关闭</button>
</el-dialog> </div>
</el-dialog>
</template>
<!-- 暂存购物车 --> <!-- 暂存购物车 -->
<el-dialog custom-class="w800" title="酒店信息" :visible.sync="showOrderPreview" center @close="removeEditor"> <el-dialog custom-class="w800" title="酒店信息" :visible.sync="showOrderPreview" center @close="removeEditor">
<TableOperation :editorType="editorType" :HotelRow="orderSubmitObj" <TableOperation :editorType="editorType" :HotelRow="orderSubmitObj"
...@@ -131,6 +133,7 @@ ...@@ -131,6 +133,7 @@
import WarmReminder from './components/WarmReminder' import WarmReminder from './components/WarmReminder'
import HotelTipTableList from './components/HotelTipTableList' import HotelTipTableList from './components/HotelTipTableList'
export default { export default {
props:['pagesTitle'],
components: { SamplePriceList, components: { SamplePriceList,
TableOperation,ListCar, TableOperation,ListCar,
hotelDetails,hotelTableList, hotelDetails,hotelTableList,
...@@ -156,8 +159,8 @@ ...@@ -156,8 +159,8 @@
pageSize: 10, pageSize: 10,
//酒店选择数组 //酒店选择数组
HotelChooseArray: [], HotelChooseArray: [],
StartDate: this.getBeforeDate(-20,new Date().Format("yyyy-MM-dd")), StartDate: this.getBeforeDate(0,new Date().Format("yyyy-MM-dd")),
EndDate: this.getBeforeDate(-30,this.getBeforeDate(-20,new Date().Format("yyyy-MM-dd"))), EndDate: this.getBeforeDate(-30,this.getBeforeDate(0,new Date().Format("yyyy-MM-dd"))),
//只查询日本 //只查询日本
Country: "651", Country: "651",
Province: 0, Province: 0,
...@@ -247,7 +250,8 @@ ...@@ -247,7 +250,8 @@
] ]
} }
}, },
HOTEL_memorandum: false HOTEL_memorandum: false,
crmOrderObj: null
}; };
}, },
watch: { watch: {
...@@ -398,6 +402,10 @@ ...@@ -398,6 +402,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();
......
...@@ -22,7 +22,8 @@ ...@@ -22,7 +22,8 @@
<div class="list-content-box" v-for="(y,i) in x.Hotels"> <div class="list-content-box" v-for="(y,i) in x.Hotels">
<div class="list-operation"> <div class="list-operation">
<div> <div>
<button v-if="x.Date>OptionalTime" class="hollowFixedBtn" type="primary" @click="setEditorHandler(y)">
<button v-if="x.Date>=OptionalTime" class="hollowFixedBtn" type="primary" @click="setEditorHandler(y)">
<i class="el-icon-edit"></i> <i class="el-icon-edit"></i>
</button> </button>
<button class="normalBtn" type="primary" @click="removeHotelHandler(xi,i)"> <button class="normalBtn" type="primary" @click="removeHotelHandler(xi,i)">
...@@ -142,7 +143,7 @@ ...@@ -142,7 +143,7 @@
}, },
data() { data() {
return { return {
OptionalTime: this.getBeforeDate(-2,new Date().Format('yyyy-MM-dd')),//可编辑时间 OptionalTime: this.getBeforeDate(0,new Date().Format('yyyy-MM-dd')),//可编辑时间
cars: [], cars: [],
HotelLength: 0, HotelLength: 0,
addNum: 1, addNum: 1,
......
...@@ -3367,6 +3367,10 @@ ...@@ -3367,6 +3367,10 @@
(res) => { (res) => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.ctlxList = res.data.data; this.ctlxList = res.data.data;
// 屏蔽订车订房订门票
this.ctlxList.splice(-1)
this.ctlxList.splice(-1)
this.ctlxList.splice(-1)
} }
}, },
(err) => {} (err) => {}
......
...@@ -2290,6 +2290,10 @@ ...@@ -2290,6 +2290,10 @@
this.apipost('sellorder_get_GetOrderJoinEnumList', {}, res => { this.apipost('sellorder_get_GetOrderJoinEnumList', {}, res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.ctlxList = res.data.data this.ctlxList = res.data.data
// 屏蔽订车订房订门票
this.ctlxList.splice(-1)
this.ctlxList.splice(-1)
this.ctlxList.splice(-1)
} }
}, err => {}) }, err => {})
}, },
......
...@@ -1956,6 +1956,8 @@ ...@@ -1956,6 +1956,8 @@
this.apipost("travel_get_GetTravelPriceTeamTypeList", {}, res => { this.apipost("travel_get_GetTravelPriceTeamTypeList", {}, res => {
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.TeamListArr = res.data.data; this.TeamListArr = res.data.data;
// 屏蔽单项服务
this.TeamListArr.splice(-1)
} else { } else {
this.Error(res.data.message); this.Error(res.data.message);
} }
......
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