Commit 5c32db81 authored by 吴春's avatar 吴春

派车单修改

parent fdf1e82a
<style scoped>
.busStatisticsTalbe {
table-layout: fixed;
}
.busStatisticsTalbe thead tr th {
position: sticky;
top: 0;
z-index: 10;
}
</style>
<template>
<table border="0" cellspacing="1" cellpadding="0" class="busStatisticsTalbe" v-loading='loading'>
<thead>
<tr>
<th class="w120" rowspan="2">派车单号</th>
<th class="w150" rowspan="2">车公司</th>
<th class="w110" rowspan="2">车牌号</th>
<th class="w100" rowspan="2">司机</th>
<th class="w100" rowspan="2">车型</th>
<th class="w100" colspan="3">用车性质</th>
<th class="w150" rowspan="2">使用单位</th>
<th class="w150" rowspan="2">用车地点</th>
<th class="w100" rowspan="2">用车日期</th>
<th class="w100" rowspan="2">用车时间</th>
<th class="w100" rowspan="2">还车日期</th>
<th class="w100" rowspan="2">还车时间</th>
</tr>
<tr>
<th class="w50" >接机</th>
<th class="w50" >送机</th>
<th class="w50">包机</th>
</tr>
</thead>
<tbody v-for="(outItem,outindex) in OrderList" class="splitTrCss1" :key="outindex">
<tr>
<td>
{{outItem.OrderStrokeNo}}
</td>
<td>
{{outItem.SupplierName}}
</td>
<td>
{{outItem.CarNo}}
</td>
<td>
{{outItem.DriverName}} {{outItem.CopilotDriverName}}
</td>
<td>
{{outItem.CarName}}
</td>
<td>
<span v-if="outItem.AirportPickUpCount>0"></span>
</td>
<td>
<span v-if="outItem.SendingMachineCount>0"></span>
</td>
<td>
<span v-if="outItem.UseDayCount>0"></span>
</td>
<td>
{{outItem.CustomerName}}
</td>
<td>
{{outItem.CityStr}}
</td>
<td>
{{outItem.UseSDate}}
</td>
<td>
{{outItem.UseSTime}}
</td>
<td>
{{outItem.UseEDate}}
</td>
<td>
{{outItem.UseETime}}
</td>
</tr>
</tbody>
</table>
</template>
<script>
export default {
props: ["OrderList", "pagesTitle", 'loading'],
data() {
return {};
},
watch: {
pagesTitle(val, oldval) {
},
OrderList: {
handler(val, oldVal) {},
},
},
methods: {
com_onresize() {
//clientHeight的值由DIV内容的实际高度和CSS中的padding值决定,
var contentsHeight = document.body.clientHeight;
var h = contentsHeight - 50 - 180 - 40;
if (h < 110) {
return;
}
},
success() {
this.close();
this.$emit("success");
},
},
mounted() {
//自适应高度调节
this.com_onresize();
window.onresize = () => {
this.com_onresize();
};
},
};
</script>
<style></style>
......@@ -40,10 +40,10 @@
</li>
</ul>
</div>
<div class="mt10 fz14 color333 busIconStyle">
<!-- <div class="mt10 fz14 color333 busIconStyle">
车辆状态&nbsp;&nbsp;&nbsp;确定:<span style="color:#4BCA81 ;"></span>暂定:<span style="color: #ff6600;">O</span>未操作:<span
style="color:#E95252 ;">X</span>
</div>
</div> -->
<div style="width: 100%; overflow-x: auto;padding-bottom: 10px; margin-top: 10px; " class="ownScrollbarStyle"
:style="{height: boxHeight + 'px'}">
<OrderList :pagesTitle="Title" :OrderList="DataList" :loading="loading" @success="msg.pageIndex=1,GetList()">
......@@ -55,7 +55,7 @@
</template>
<script>
import OrderList from './BookAcar/components/JapanOrderDetailList';
import OrderList from './BookAcar/components/JapanOrderDetailListNew';
export default {
data() {
return {
......@@ -94,7 +94,7 @@
},
getList() {
this.loading = true;
this.apipost('JapanCar_get_GetJapanOrderCarDayPageList', this.msg, res => {
this.apipost('JapanCar_get_GetJapanOrderCarDayList', this.msg, res => {
this.loading = false;
if (res.data.resultCode == 1) {
this.total = res.data.data.count;
......
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