Commit 94316e25 authored by zhengke's avatar zhengke

修改样式

parent 7d75128e
......@@ -213,15 +213,15 @@
<div style="width: 100%; overflow-x: auto;margin-top:20px;" class="ownScrollbarStyle">
<el-form :rules="rules">
<el-table :data="PlanTableData" style="width:100%" border v-loading='loading'>
<el-table-column fixed :label="$t('pub.date')" prop="UseTimeStr" min-width="110"></el-table-column>
<el-table-column fixed :label="$t('pub.date')" prop="UseTimeStr" min-width="100"></el-table-column>
<el-table-column fixed :label="$t('hotel.hotel_name')" prop="HotelName" min-width="200"></el-table-column>
<el-table-column fixed :label="$t('sm.yongchejihua')" min-width="185">
<el-table-column fixed :label="$t('sm.yongchejihua')" min-width="180">
<template slot-scope="scope">
<!-- {{scope.$index+1}} -->
<div v-for="(subItem,subIndex) in scope.row.BusPlanOrderList" class="comBTM" :key="subIndex">
<em>
<!--接机送机-->
<el-select class="w120" :placeholder="$t('pub.pleaseSel')" v-model="subItem.AirportPickUp"
<el-select class="w100" :placeholder="$t('pub.pleaseSel')" v-model="subItem.AirportPickUp"
:disabled="forbidInput" @change="getBusPrice(subItem)">
<el-option :key="0" :value="0" :label="$t('pub.pleaseSel')"></el-option>
<el-option v-for="childitem in BusAirportPickUpList" :key="childitem.Id" :label="childitem.Name"
......@@ -239,14 +239,14 @@
</div>
</template>
</el-table-column>
<el-table-column label="套团团号" min-width="150">
<el-table-column label="套团团号" min-width="230">
<template slot-scope="scope">
<div v-for="(subItem,subIndex) in scope.row.BusPlanOrderList" class="comBTM" :key="subIndex" style="border:1px solid red">
<div v-for="(subItem,subIndex) in scope.row.BusPlanOrderList" class="comBTM" :key="subIndex">
<template v-if="subItem.AirportPickUp==15">
<div v-for="(childItem,childIndex) in subItem.MergeList" :key="childIndex">
<em>
<!--@change="GetTravelPrice(subItem)"-->
<el-select class="w120" :placeholder="$t('pub.pleaseSel')" v-model="childItem.MTCID"
<el-select style="margin-bottom:5px;" class="w170" :placeholder="$t('pub.pleaseSel')" v-model="childItem.MTCID"
@visible-change="GetPriceList(subItem)" @change="GetPriceChange(subItem,childItem)">
<el-option :key="0" :value="0" :label="$t('pub.pleaseSel')"></el-option>
<el-option v-for="pItem in subItem.PriceList" :key="pItem.TCID" :label="pItem.TCNUM"
......@@ -258,7 +258,7 @@
style="color:blue;cursor:pointer">{{$t('system.table_delete')}}</a>
</span>
</div>
<span style="display:inline-block;margin-left:5px;" v-if="subIndex==0">
<span style="display:inline-block;margin-left:5px;">
<a @click="AddMergeSubItem(subItem.MergeList)"
style="color:blue;cursor:pointer">{{$t('fnc.tianjia')}}</a>
</span>
......@@ -310,7 +310,7 @@
</div>
</template>
</el-table-column>
<el-table-column :label="$t('fnc.fkfangshi')" min-width="150">
<el-table-column :label="$t('fnc.fkfangshi')" min-width="130">
<template slot-scope="scope">
<div v-for="subItem in scope.row.BusPlanOrderList" class="comBTM">
<el-select class='sel' v-model='subItem.PayType' :disabled="isShowBtn==1||IsEditBus==0?true:false"
......@@ -327,19 +327,19 @@
</template>
</el-table-column>
<el-table-column :label="$t('ground.dingtuanhao')" min-width="215">
<el-table-column :label="$t('ground.dingtuanhao')" min-width="180">
<template slot-scope="scope">
<div class="comBTM" v-for="(subItem,subIndex) in scope.row.BusPlanOrderList">
<template v-if="scope.$index==0&&subIndex==0">
<i class="iconfont icon-tongshang" style="opacity:0;filter:alpha(opacity=0); "></i>
<el-input class='w150' type="text" v-model="subItem.BookGroup"></el-input>
<el-input class='w135' type="text" v-model="subItem.BookGroup"></el-input>
</template>
<template v-else>
<el-tooltip class="item" effect="dark" :content="$t('ground.tongshang')" placement="top">
<i class="iconfont icon-tongshang" style="cursor:pointer;"
@click="getBeforeInfo(scope.$index,subIndex),getBusPrice(subItem)"></i>
</el-tooltip>
<el-input class='w150' type="text" v-model="subItem.BookGroup"></el-input>
<el-input class='w135' type="text" v-model="subItem.BookGroup"></el-input>
</template>
</div>
</template>
......@@ -367,11 +367,11 @@
</div>
</template>
</el-table-column>
<el-table-column :label="$t('ground.gsfeiyong')" min-width="140">
<el-table-column :label="$t('ground.gsfeiyong')" min-width="120">
<template slot-scope="scope">
<div v-for="subItem in scope.row.BusPlanOrderList" class="comBTM">
<el-input v-model="subItem.HighSpeedPrice" @keyup.native="checkPrice(subItem,'HighSpeedPrice')"
:placeholder="$t('ground.qsrfyong')" :disabled="isShowBtn==1||IsEditBus==0?true:false" class='w135'>
:placeholder="$t('ground.qsrfyong')" :disabled="isShowBtn==1||IsEditBus==0?true:false" class='w100'>
</el-input>
</div>
</template>
......@@ -380,7 +380,7 @@
<template slot-scope="scope">
<div>
<div v-for="(subItem,index) in scope.row.BusPlanOrderList" class="comBTM">
<el-select class='sel w135' v-model='subItem.HighSpeedPayType' :placeholder="$t('pub.pleaseSel')"
<el-select class='sel w120' v-model='subItem.HighSpeedPayType' :placeholder="$t('pub.pleaseSel')"
@change="PayTypeChange(subItem)" :disabled="isShowBtn==1||IsEditBus==0?true:false">
<el-option :label="$t('pub.pleaseSel')" :value='0'></el-option>
<el-option :label="$t('ground.xianfu')" :value='1'></el-option>
......@@ -394,7 +394,7 @@
</div>
</template>
</el-table-column>
<el-table-column :label="$t('ground.UsePCount')" min-width="100">
<el-table-column :label="$t('ground.UsePCount')" min-width="80">
<template slot-scope="scope">
<div v-for="subItem in scope.row.BusPlanOrderList" class="comBTM">
<el-input v-model="subItem.UseNum" @keyup.native="checkPrice(subItem,'UseNum')"
......@@ -402,11 +402,11 @@
</div>
</template>
</el-table-column>
<el-table-column :label="$t('ground.cbenjia')" min-width="140">
<el-table-column :label="$t('ground.cbenjia')" min-width="120">
<template slot-scope="scope">
<div v-for="subItem in scope.row.BusPlanOrderList" class="comBTM">
<el-input v-model="subItem.CostPrice" :disabled="isShowBtn==1||IsEditBus==0?true:false"
@keyup.native="checkPrice(subItem,'CostPrice')" :placeholder="$t('ground.qingshurcbj')" class="w135">
@keyup.native="checkPrice(subItem,'CostPrice')" :placeholder="$t('ground.qingshurcbj')" class="w100">
</el-input>
</div>
</template>
......@@ -418,14 +418,14 @@
</div>
</template>
</el-table-column>
<el-table-column :label="$t('ground.park')" min-width="100">
<el-table-column :label="$t('ground.park')" min-width="70">
<template slot-scope="scope">
<div v-for="subItem in scope.row.BusPlanOrderList" class="park_List comBTM">
{{subItem.IsHavearking=='0'?'无':'有'}}
</div>
</template>
</el-table-column>
<el-table-column :label="$t('ground.xiaoji')" min-width="100">
<el-table-column :label="$t('ground.xiaoji')" min-width="80">
<template slot-scope="scope">
<div v-for="subItem in scope.row.BusPlanOrderList" class="park_List comBTM">
{{subItem.CostPrice*(Number(subItem.TransferNum)+1) + Number(subItem.HighSpeedPrice)}}
......@@ -674,7 +674,7 @@
}
},
AddSubItem(item) {
let msg = Object.assign({}, item.BusPlanOrderList[0]);
let msg = JSON.parse(JSON.stringify(item.BusPlanOrderList[0]));
msg.Id = 0;
item.BusPlanOrderList.push(msg);
},
......
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