Commit 6f523db6 authored by zhengke's avatar zhengke

s

parent 58d512f7
...@@ -546,29 +546,29 @@ ...@@ -546,29 +546,29 @@
</el-select> </el-select>
</div> </div>
<div class="TPright clearfix"> <div class="TPright clearfix">
<el-form-item prop="ClearOrderHour" v-if="!flagWangYue"> <el-form-item prop="ClearOrderHour" v-if="TeamType==1">
<el-input placeholder="请输入" class="w190 ComSeat" v-model="priceData.ClearOrderHour" <el-input placeholder="请输入" class="w190 ComSeat" v-model="priceData.ClearOrderHour"
@keyup.native="checkInteger(priceData,'ClearOrderHour')" @keyup.native="checkInteger(priceData,'ClearOrderHour')"
@blur="checkInteger(priceData,'ClearOrderHour')"> @blur="checkInteger(priceData,'ClearOrderHour')">
<template slot="prepend">自动清位</template> <template slot="prepend">自动清位</template>
</el-input> </el-input>
</el-form-item> </el-form-item>
<span class="TP_Sendprepend" v-if="!flagWangYue">送签时间</span> <span class="TP_Sendprepend" v-if="TeamType==1">送签时间</span>
<el-form-item prop="SendVisaTime" style="margin-top:1px;" v-if="!flagWangYue"> <el-form-item prop="SendVisaTime" style="margin-top:1px;" v-if="TeamType==1">
<el-date-picker clearable class="w150" v-model="priceData.SendVisaTime" type="date" <el-date-picker clearable class="w150" v-model="priceData.SendVisaTime" type="date"
value-format="yyyy-MM-dd" value-format="yyyy-MM-dd"
:placeholder="$t('admin.admin_choDate')"></el-date-picker> :placeholder="$t('admin.admin_choDate')"></el-date-picker>
</el-form-item> </el-form-item>
<el-form-item prop="OutBranchId" style="margin-top:1px;"> <el-form-item prop="OutBranchId" style="margin-top:1px;">
<span class="TP_Sendprepend" style="margin:3px -1px 0 0">出团公司</span> <span class="TP_Sendprepend" style="margin:3px -1px 0 0">出团公司</span>
<el-select class="w180" v-model="priceData.OutBranchId" :disabled="flagWangYue?true:false"> <el-select class="w180" v-model="priceData.OutBranchId" :disabled="TeamType==1">
<el-option :label="$t('pub.unlimitedSel')" :value="SelectOtherDefault"></el-option> <el-option :label="$t('pub.unlimitedSel')" :value="SelectOtherDefault"></el-option>
<el-option v-for="item in companyList" :key="item.id" :label="item.bName" <el-option v-for="item in companyList" :key="item.id" :label="item.bName"
:value="item.id"></el-option> :value="item.id"></el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item style="margin-top:1px;" v-if="!flagWangYue"> <el-form-item style="margin-top:1px;" v-if="TeamType==1">
<span class="TP_Sendprepend" style="margin:3px -1px 0 0">销售公司</span> <span class="TP_Sendprepend" style="margin:3px -1px 0 0">销售公司</span>
<el-select class="w180 multiple_input" :class="{'SaleBranchList':priceData.SaleBranchIdArray==''}" <el-select class="w180 multiple_input" :class="{'SaleBranchList':priceData.SaleBranchIdArray==''}"
v-model="priceData.SaleBranchIdArray" multiple> v-model="priceData.SaleBranchIdArray" multiple>
...@@ -579,7 +579,7 @@ ...@@ -579,7 +579,7 @@
<el-form-item style="margin-top:1px;" v-else> <el-form-item style="margin-top:1px;" v-else>
<span class="TP_Sendprepend" style="margin:3px -1px 0 0">销售公司</span> <span class="TP_Sendprepend" style="margin:3px -1px 0 0">销售公司</span>
<el-select class="w180 multiple_input multiple_input2" :class="{'SaleBranchList':priceData.SaleBranchIdArray==''}" <el-select class="w180 multiple_input multiple_input2" :class="{'SaleBranchList':priceData.SaleBranchIdArray==''}"
:disabled="flagWangYue?true:false" :disabled="TeamType==1"
v-model="priceData.SaleBranchIdArray" multiple> v-model="priceData.SaleBranchIdArray" multiple>
<el-option v-for="item in companyList" :key="item.id" :label="item.bName" <el-option v-for="item in companyList" :key="item.id" :label="item.bName"
:value="item.id"></el-option> :value="item.id"></el-option>
...@@ -587,26 +587,26 @@ ...@@ -587,26 +587,26 @@
</el-form-item> </el-form-item>
</div> </div>
<div class="TPright clearfix"> <div class="TPright clearfix">
<el-form-item prop="YSeat" v-if="!flagWangYue"> <el-form-item prop="YSeat" v-if="TeamType==1">
<el-input placeholder="人数" class="w190" v-model="priceData.YSeat" <el-input placeholder="人数" class="w190" v-model="priceData.YSeat"
@keyup.native="checkInteger(priceData,'YSeat')"> @keyup.native="checkInteger(priceData,'YSeat')">
<template slot="prepend">经济舱/上铺</template> <template slot="prepend">经济舱/上铺</template>
</el-input> </el-input>
</el-form-item> </el-form-item>
<el-form-item prop="CSeat" v-if="!flagWangYue"> <el-form-item prop="CSeat" v-if="TeamType==1">
<el-input placeholder="人数" class="w190" v-model="priceData.CSeat" <el-input placeholder="人数" class="w190" v-model="priceData.CSeat"
@keyup.native="checkInteger(priceData,'CSeat')"> @keyup.native="checkInteger(priceData,'CSeat')">
<template slot="prepend">商务舱/中铺</template> <template slot="prepend">商务舱/中铺</template>
</el-input> </el-input>
</el-form-item> </el-form-item>
<el-form-item prop="FSeat" v-if="!flagWangYue"> <el-form-item prop="FSeat" v-if="TeamType==1">
<el-input placeholder="人数" class="w260" v-model="priceData.FSeat" <el-input placeholder="人数" class="w260" v-model="priceData.FSeat"
@keyup.native="checkInteger(priceData,'FSeat')"> @keyup.native="checkInteger(priceData,'FSeat')">
<template slot="prepend">头等舱/下铺</template> <template slot="prepend">头等舱/下铺</template>
</el-input> </el-input>
</el-form-item> </el-form-item>
<el-form-item> <el-form-item>
<el-input class="w290" v-model="priceData.Inventory" :disabled="flagWangYue?true:false"> <el-input class="w290" v-model="priceData.Inventory" :disabled="TeamType==1">
<template slot="prepend">最低成团人数</template> <template slot="prepend">最低成团人数</template>
</el-input> </el-input>
</el-form-item> </el-form-item>
...@@ -617,7 +617,7 @@ ...@@ -617,7 +617,7 @@
:value="item.Id"></el-option> :value="item.Id"></el-option>
</el-select> </el-select>
</el-form-item> </el-form-item>
<el-form-item v-if="!flagWangYue"> <el-form-item v-if="TeamType==1">
<el-input placeholder="人数" class="w290" v-model="priceData.LeaderNum"> <el-input placeholder="人数" class="w290" v-model="priceData.LeaderNum">
<template slot="prepend">领队人数</template> <template slot="prepend">领队人数</template>
</el-input> </el-input>
...@@ -771,7 +771,6 @@ ...@@ -771,7 +771,6 @@
currentPriceIndex: 0, //当前团期索引位置 currentPriceIndex: 0, //当前团期索引位置
showPriceList: [], showPriceList: [],
priceShowCount: 6,//团期展示条数 priceShowCount: 6,//团期展示条数
flagWangYue:false,
userID:null, userID:null,
dijiebaojiaShow:false, dijiebaojiaShow:false,
queryPriceListLoading:true, queryPriceListLoading:true,
...@@ -1392,8 +1391,7 @@ ...@@ -1392,8 +1391,7 @@
} }
},created(){ },created(){
localStorage.removeItem('queryFlightAirMsg'); localStorage.removeItem('queryFlightAirMsg');
this.flagWangYue = this.$route.query.flag === "false" ? false : true; if(this.TeamType==1){
if(this.flagWangYue){
let userInfo = this.getLocalStorage(); let userInfo = this.getLocalStorage();
this.priceData.OutBranchId = userInfo.RB_Branch_id; this.priceData.OutBranchId = userInfo.RB_Branch_id;
this.userID = userInfo.EmployeeId; this.userID = userInfo.EmployeeId;
......
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