Commit c62573b3 authored by 黄奎's avatar 黄奎

1

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