Commit c6156334 authored by 黄奎's avatar 黄奎

房、餐、车、景点,制单后不能在修改数据

parent bc2d1f60
......@@ -30,7 +30,7 @@
.roomReservationsDetailsTalbe {
table-layout: fixed;
}
.roomReservationsDetailsTalbe thead tr th {
......@@ -48,8 +48,8 @@
<li>
<input v-if="IsOperation!=1" type="button" class="fr normalBtn mb30" :value="$t('pub.saveBtn')"
@click="saveList(1)" />
<input v-if="IsOperation==1&& EditBtn" type="button" class="fr normalBtn mb30" :value="$t('pub.saveBtn')"
@click="saveList(1)" />
<input v-if="IsOperation==1&& EditBtn &&currentUserInfo.EmployeeId==615" type="button"
class="fr normalBtn mb30" :value="$t('pub.saveBtn')" @click="saveList(1)" />
<span v-if="IsOperation==1" style="color:red;font-size:14px;">{{$t('ground.yizhidanbng')}}</span>
</li>
</ul>
......@@ -63,10 +63,10 @@
<table border="0" cellspacing="1" cellpadding="0" class="roomReservationsDetailsTalbe">
<thead>
<tr>
<th class="fz14" style="border:none;" >
<th class="fz14" style="border:none;">
{{$t('visa.v_teaminfo')}}&nbsp;&nbsp;{{$t('leader.leader_Leader')}}:{{LeaderName}}
&nbsp;&nbsp;{{$t('leader.leader_Guide')}}: {{GuideName}} </th>
<th class="fz14" style="border:none;">
<th class="fz14" style="border:none;">
<el-tooltip class="item" effect="dark" content="批量上传手配书" placement="top-start"
style="float:left;margin-left:20px;">
<el-popover placement="bottom" popper-class="piliangPop" width="500" trigger="click"
......@@ -556,7 +556,8 @@
</td>
</tr>
<tr>
<td width="70" style="text-align:right;">{{$t('pub.yes')}}{{$t('pub.no')}}{{$t('fnc.fukuan')}}:</td>
<td width="70" style="text-align:right;">{{$t('pub.yes')}}{{$t('pub.no')}}{{$t('fnc.fukuan')}}:
</td>
<td>
<el-select class='w135 sel' v-model='subItem.IsPay' :placeholder="$t('pub.pleaseSel')"
:disabled="IsEditHotel==0?true:false">
......@@ -720,7 +721,8 @@
BookNum: 0
},
],
ChooseCountry: "651"
ChooseCountry: "651",
currentUserInfo: {},
}
},
components: {
......@@ -784,7 +786,6 @@
childHotelList(ckedObj) {
//使用时间
var oldData = JSON.parse(JSON.stringify(this.list[this.findex].HotelOrderList[this.childIndex]));
var useTime = oldData.CheckInDateStr;
var hotelId = ckedObj.ID;
var TCID = oldData.TCID;
......@@ -1255,6 +1256,7 @@
},
},
mounted() {
this.currentUserInfo = this.getLocalStorage();
if (this.$route.query.LineId) {
this.LineId = this.$route.query.LineId;
}
......
......@@ -4,15 +4,16 @@
<ul>
<li>
<template v-if="IsOperation != 1">
<input v-if="IsEditDinner==1" type="button" class="fr normalBtn mb30" :value="$t('pub.saveBtn')"
@click="saveList(1)" :disabled="IsDisabled" />
<input v-if="IsEditDinner==0" type="button" class="fr normalBtn mb30" :value="$t('ground.baocuncaogao')"
@click="saveList(1)" :disabled="IsDisabled" />
<!--v-if="IsEditDinner==1"-->
<input type="button" class="fr normalBtn mb30" :value="$t('pub.saveBtn')" @click="saveList(1)"
:disabled="IsDisabled" />
<input v-if="IsEditDinner==0" type="button" class="fr normalBtn mb30" style="display:none;"
:value="$t('ground.baocuncaogao')" @click="saveList(1)" :disabled="IsDisabled" />
</template>
<template v-else>
<span style="color:red;font-size:14px;">{{$t('ground.yizhidbnxg')}}!</span>
<input v-if="EditBtn" type="button" class="fr normalBtn mb30" :value="$t('pub.saveBtn')"
@click="saveList(1)" />
<input v-if="EditBtn&&currentUserInfo.EmployeeId==615" type="button" class="fr normalBtn mb30"
:value="$t('pub.saveBtn')" @click="saveList(1)" />
</template>
</li>
</ul>
......@@ -123,7 +124,7 @@
<td>
<template v-if="EditBtn||LineId==90">
<el-input class='w135' v-model='childItem.UsePeopleNum' @input='calculationPrice(subItem)'
@keyup.native="checkInteger(childItem,'UsePeopleNum')" type="text"></el-input>
@keyup.native="checkInteger(childItem,'UsePeopleNum')" type="text"></el-input>
</template>
<template v-else>
{{childItem.UsePeopleNum}}
......@@ -278,6 +279,7 @@
findex: 0,
childIndex: 0,
LineId: 0,
currentUserInfo: {}
};
},
components: {
......@@ -515,6 +517,7 @@
},
},
mounted() {
this.currentUserInfo = this.getLocalStorage();
this.CheckAuth();
this.GetAuth();
this.TCNUM = this.$route.query.TCNUM;
......
......@@ -437,10 +437,12 @@
</el-table-column>
</el-table>
<div class="upBtnList">
<input v-if="IsEditBus==0" type="button" class="normalBtn" :class="{'disClick':!isSubmit}"
@click="SaveList(1)" :disabled="disButton" :value="$t('ground.baocuncaogao')" />
<input v-if="IsEditBus==1" type="button" class="normalBtn" :class="{'disClick':!isSubmit}"
<input v-if="isShowBtn==0" type="button" class="normalBtn" :class="{'disClick':!isSubmit}"
@click="SaveList(1)" :disabled="disButton" :value="$t('pub.saveBtn')" />
<input v-if="isShowBtn==1&&currentUserInfo.EmployeeId==615" type="button" class="normalBtn"
:class="{'disClick':!isSubmit}" @click="SaveList(1)" :disabled="disButton" :value="$t('pub.saveBtn')" />
<span v-if="isShowBtn==1" style="color:red;margin-left:10px;">
{{$t('ground.xzdanbuneng')}}
</span>
......@@ -575,6 +577,7 @@
isSubmit: true,
isShowBtn: 1, //1禁用高速费,成本费,高速付款方式文本框
IsEditBus: 0, //车辆修改权限
currentUserInfo: {},
};
},
methods: {
......@@ -642,7 +645,6 @@
Id: obj.BusType,
},
response => {
if (response.data.resultCode == 1) {
let busTypeObj = response.data.data;
if (busTypeObj) {
......@@ -672,7 +674,6 @@
},
null
);
}
},
AddSubItem(item) {
......@@ -888,6 +889,7 @@
},
mounted() {
this.currentUserInfo = this.getLocalStorage();
this.GetAuth();
this.GetUseTypeList();
this.GetAirportPickUpList();
......
......@@ -4,12 +4,14 @@
<ul>
<li>
<template v-if="IsOperation !=1">
<input type="button" class="fr normalBtn mb30" :value="$t('pub.saveBtn')" @click="saveList(1)" :disabled="IsDisabled" />
<input type="button" class="fr normalBtn mb30" value="保存草稿" @click="saveList(1)" :disabled="IsDisabled" />
<input type="button" class="fr normalBtn mb30" :value="$t('pub.saveBtn')" @click="saveList(1)"
:disabled="IsDisabled" />
<!-- <input type="button" class="fr normalBtn mb30" value="保存草稿" @click="saveList(1)" :disabled="IsDisabled" /> -->
</template>
<template v-else>
<span style="color:red;font-size:14px;">已制单,不能在修改!</span>
<input v-if="EditBtn" type="button" class="fr normalBtn mb30" :value="$t('pub.saveBtn')" @click="saveList(1)" />
<input v-if="EditBtn&&currentUserInfo.EmployeeId==615" type="button" class="fr normalBtn mb30"
:value="$t('pub.saveBtn')" @click="saveList(1)" />
</template>
</li>
</ul>
......@@ -100,7 +102,8 @@
<td>
<template v-if="EditBtn||LineId==90">
<el-input class='w135' v-model='childItem.PeoplePrice'
@keyup.native="checkPrice(childItem,'PeoplePrice')" @input='calculationPrice(subItem)' type="text"></el-input>
@keyup.native="checkPrice(childItem,'PeoplePrice')" @input='calculationPrice(subItem)' type="text">
</el-input>
</template>
<template v-else>
<span class="spanlink" v-if='childItem.PeoplePrice==0'
......@@ -116,7 +119,8 @@
<td>
<template v-if="EditBtn||LineId==90">
<el-input class='w135' v-model='childItem.DiscountPrice'
@keyup.native="checkPrice(childItem,'DiscountPrice')" @input='calculationPrice(subItem)' type="text"></el-input>
@keyup.native="checkPrice(childItem,'DiscountPrice')" @input='calculationPrice(subItem)'
type="text"></el-input>
</template>
<template v-else>
<span class="spanlink" v-if='childItem.DiscountPrice==0'
......@@ -192,6 +196,7 @@
//是否禁用按钮
IsDisabled: false,
LineId: 0, //线路编号
currentUserInfo: {}
}
},
methods: {
......@@ -307,6 +312,7 @@
},
},
mounted() {
this.currentUserInfo = this.getLocalStorage();
this.CheckAuth();
this.TCNUM = this.$route.query.TCNUM;
this.flightTotal = this.$route.query.flightTotal;
......
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