Commit c62573b3 authored by 黄奎's avatar 黄奎

1

parent 05ca195a
<style scoped>
.tripPlanTab {
border-collapse: collapse;
border-radius: 5px;
}
.tripPlanTab tr th,
.tripPlanTab tr td {
border: 1px solid gray;
text-align: center;
padding-left: 1px;
padding-right: 1px;
......@@ -46,10 +48,12 @@
<li>
<input type="button" class="normalBtn" :value="$t('pub.searchBtn')" @click="getList()" />
<!-- <button class="hollowFixedBtn" @click="editPlan(null)">{{$t('pub.addBtn')}}</button> -->
<button class="normalBtn" type="button" @click="downLoadPlan()" style="display:none;">{{$t('adm.adm_download')}}</button>
<button class="normalBtn" type="button" @click="downLoadPlan()">{{$t('adm.adm_download')}}</button>
</li>
</ul>
</div>
<el-tag effect="dark" color="#29b6f6">已制单</el-tag>
<div style="width:100%;overflow-x:auto;padding-bottom:10px;margin-top:10px;min-height:100px;"
class="ownScrollbarStyle" v-loading="loading">
<table class="tripPlanTab" v-if="dataList&&dataList.length>0">
......@@ -77,21 +81,23 @@
<template v-for="(childItem,childIndex) in subItem">
<td :key="`d1_`+index+`s1_`+subIndex+`d1`+childIndex">
<template v-if="childItem.OrderId>0">
<template v-if="childItem.UseType==1">
<font></font>
</template>
<template v-else-if="childItem.UseType==2">
<font></font>
</template>
<template v-else-if="childItem.UseType==3">
<font>半天</font>
</template>
<template v-else-if="childItem.UseType==4">
<font></font>
</template>
<template v-else>
<font>X</font>
</template>
<font :style="{color: childItem.Income>0?'#29b6f6':'#000000'}">
<template v-if="childItem.UseType==1">
</template>
<template v-else-if="childItem.UseType==2">
</template>
<template v-else-if="childItem.UseType==3">
半天
</template>
<template v-else-if="childItem.UseType==4">
</template>
<template v-else>
X
</template>
</font>
</template>
</td>
</template>
......@@ -101,8 +107,9 @@
<template v-if="childItem.OrderId>0">
<td v-if="childItem.DayNum==1" :colspan="childItem.ColumnNum>1? childItem.ColumnNum:0"
:key="`d2_`+index+`s2_`+subIndex+`d2`+childIndex">
<el-tooltip :content="(childItem.OrderType==1?`常规订单:`:`包车订单:`)+childItem.OrderId">
<font>
<el-tooltip
:content="(childItem.OrderType==1?`常规订单:`:`包车订单:`)+childItem.OrderId+`,用车时间:`+childItem.StartDateStr+`至`+childItem.EndDateStr">
<font :style="{color: childItem.Income>0?'#29b6f6':'#000000'}">
<template v-if="childItem.TCNUM">
{{childItem.TCNUM}}
</template>
......@@ -253,7 +260,7 @@
let yearStr = myDate.getFullYear();
let monthStr = parseInt(myDate.getMonth() + 1);
this.msg.MonthStr = yearStr + "-" + (monthStr < 10 ? '0' + monthStr : monthStr);
//this.msg.MonthStr = "2025-05";
this.msg.MonthStr = "2025-05";
// this.msg.CarId = 1030;
//this.msg.CarId = 1021;
//this.msg.QOrderId="483"
......
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