Commit 10339e3a authored by youjie's avatar youjie

no message

parent c6259316
...@@ -662,19 +662,6 @@ ...@@ -662,19 +662,6 @@
}); });
}, },
setFormMsg(){ setFormMsg(){
// this.types.forEach(x=>{
// if(x.checked){
// let y = {
// TicketType: x.TicketCouponsType,
// TicketName: x.TicketName,
// Unit_Price: x.B2BPrice,
// Num: x.num,
// Money: x.B2BPrice*x.num,
// TicketId: x.TicketID
// }
// this.msg.DetailList.push(y)
// }
// })
this.types.forEach(x=>{ this.types.forEach(x=>{
if(x.checked){ if(x.checked){
this.msg.Unit_Price = x.B2BPrice this.msg.Unit_Price = x.B2BPrice
......
...@@ -969,11 +969,12 @@ ...@@ -969,11 +969,12 @@
makeAdocument(row, index, num, name) { makeAdocument(row, index, num, name) {
this.BillMakingMsg.ReFinanceId = row.OrderId; this.BillMakingMsg.ReFinanceId = row.OrderId;
this.BillMakingMsg.ReFinanceId2 = num; this.BillMakingMsg.ReFinanceId2 = num;
if (name == "Hand") { // if (name == "Hand") {
this.BillMakingMsg.OtherType = 62; // this.BillMakingMsg.OtherType = 62;
} else { // } else {
this.BillMakingMsg.OtherType = 66; // this.BillMakingMsg.OtherType = 66;
} // }
this.BillMakingMsg.OtherType = 67;
let text = ""; let text = "";
let query = {}; let query = {};
if (num == 1) { if (num == 1) {
......
...@@ -327,7 +327,7 @@ ...@@ -327,7 +327,7 @@
methods: { methods: {
goUrl(){ goUrl(){
this.$router.push({ this.$router.push({
name: 'addEditVehicle', name: 'CharterAddEditVehicle',
query: { query: {
blank: "y", blank: "y",
tab: "新增/编辑团订" tab: "新增/编辑团订"
......
...@@ -4,7 +4,9 @@ ...@@ -4,7 +4,9 @@
<template> <template>
<div> <div>
<el-tabs v-model="tab" @tab-click="handleClick"> <el-tabs v-model="tab" @tab-click="handleClick">
<el-tab-pane label="团队订单" name="0">用户管理</el-tab-pane> <el-tab-pane label="团队订单" name="0">
<TeamOrder :pagesTitle="pagesTitle"></TeamOrder>
</el-tab-pane>
<el-tab-pane label="接机订单" name="1"> <el-tab-pane label="接机订单" name="1">
<BookAcarOrder :pagesTitle="pagesTitle" :type="tab"></BookAcarOrder> <BookAcarOrder :pagesTitle="pagesTitle" :type="tab"></BookAcarOrder>
</el-tab-pane> </el-tab-pane>
...@@ -19,8 +21,9 @@ ...@@ -19,8 +21,9 @@
</template> </template>
<script> <script>
import BookAcarOrder from './components/BookAcarOrder.vue'; import BookAcarOrder from './components/BookAcarOrder.vue';
import TeamOrder from '../../busManagement/tripBusOrder.vue';
export default { export default {
components: { BookAcarOrder }, components: { TeamOrder,BookAcarOrder },
data() { data() {
return { return {
pagesTitle: '销售', pagesTitle: '销售',
......
...@@ -4,7 +4,9 @@ ...@@ -4,7 +4,9 @@
<template> <template>
<div> <div>
<el-tabs v-model="tab" @tab-click="handleClick"> <el-tabs v-model="tab" @tab-click="handleClick">
<el-tab-pane label="团队订单" name="0">用户管理</el-tab-pane> <el-tab-pane label="团队订单" name="0">
<TeamOrder></TeamOrder>
</el-tab-pane>
<el-tab-pane label="接机订单" name="1"> <el-tab-pane label="接机订单" name="1">
<BookAcarOrder :pagesTitle="pagesTitle" :type="tab"></BookAcarOrder> <BookAcarOrder :pagesTitle="pagesTitle" :type="tab"></BookAcarOrder>
</el-tab-pane> </el-tab-pane>
...@@ -19,8 +21,9 @@ ...@@ -19,8 +21,9 @@
</template> </template>
<script> <script>
import BookAcarOrder from './components/BookAcarOrder.vue'; import BookAcarOrder from './components/BookAcarOrder.vue';
import TeamOrder from '../../busManagement/tripBusOrder.vue';
export default { export default {
components: { BookAcarOrder }, components: { TeamOrder,BookAcarOrder },
data() { data() {
return { return {
pagesTitle: 'OP', pagesTitle: 'OP',
......
...@@ -28,6 +28,7 @@ ...@@ -28,6 +28,7 @@
</li> </li>
<li><span><em>状态</em></span> <li><span><em>状态</em></span>
<el-select v-model='msg.OfferState' clearable> <el-select v-model='msg.OfferState' clearable>
<el-option label='不限' value='-1' key='-1'></el-option>
<el-option label='等待报价' value='2' key='2'></el-option> <el-option label='等待报价' value='2' key='2'></el-option>
<el-option label='已报价' value='3' key='3'></el-option> <el-option label='已报价' value='3' key='3'></el-option>
<el-option label='确认报价' value='4' key='4'></el-option> <el-option label='确认报价' value='4' key='4'></el-option>
...@@ -36,6 +37,9 @@ ...@@ -36,6 +37,9 @@
</li> </li>
<li> <li>
<input type="button" class="normalBtn" value="查询" @click="getList(); resetPageIndex()" /> <input type="button" class="normalBtn" value="查询" @click="getList(); resetPageIndex()" />
<button class="hollowFixedBtn" type="primary" @click="goUrl">
添加
</button>
</li> </li>
</ul> </ul>
</div> </div>
...@@ -97,14 +101,14 @@ ...@@ -97,14 +101,14 @@
{{ item.OfferStateName }} {{ item.OfferStateName }}
</td> </td>
<td> <td>
<template v-if="item.SureId == 0"> <!-- <template v-if="item.SureId == 0">
<span style="color:red">待确认</span> <span style="color:red">待确认</span>
</template> </template>
<template v-else> <template v-else>
<span style="color:red">已确认</span><br /> <span style="color:red">已确认</span><br />
<span style="color:red">确认人:{{ item.SureByName }}</span><br /> <span style="color:red">确认人:{{ item.SureByName }}</span><br />
<span style="color:red">确认时间:{{ item.SureTime }}</span> <span style="color:red">确认时间:{{ item.SureTime }}</span>
</template> </template> -->
</td> </td>
<td> <td>
<div class="link" style="display: flex; <div class="link" style="display: flex;
...@@ -123,7 +127,7 @@ ...@@ -123,7 +127,7 @@
<!-- 详情 --> <!-- 详情 -->
<el-pagination background @current-change="handleCurrentChange" :current-page.sync="currentPage" <el-pagination background @current-change="handleCurrentChange" :current-page.sync="currentPage"
layout="total,prev, pager, next, jumper" :page-size="msg.pageSize" :total="total"></el-pagination> layout="total,prev, pager, next, jumper" :page-size="msg.pageSize" :total="total"></el-pagination>
<el-dialog custom-class='addCompany' :title="dialogTitle" :visible.sync="isShowPrice" center> <el-dialog custom-class='addCompany' :title="dialogTitle" :visible.sync="isShowPrice" center width="850px">
<el-form :inline="true" :label-position="labelPosition" label-width="90px"> <el-form :inline="true" :label-position="labelPosition" label-width="90px">
<el-form-item label="下单人:" style="width: 48%;"> <el-form-item label="下单人:" style="width: 48%;">
<div style="max-width: 205px;">{{ postMsg.CustomerName }}</div> <div style="max-width: 205px;">{{ postMsg.CustomerName }}</div>
...@@ -187,21 +191,26 @@ ...@@ -187,21 +191,26 @@
<div v-if="postMsg.details && postMsg.details.length > 0"> <div v-if="postMsg.details && postMsg.details.length > 0">
<el-table :data="postMsg.details" max-height="300px" show-summary sum-text="小计" <el-table :data="postMsg.details" max-height="300px" show-summary sum-text="小计"
:header-cell-style="{ background: '#eef1f6', color: '#606266' }" style="width: 100%"> :header-cell-style="{ background: '#eef1f6', color: '#606266' }" style="width: 100%" align='center'>
<el-table-column prop="UseDate" label="日期" width="100" align='center'> <el-table-column prop="UseDate" label="日期" width="100">
</el-table-column> </el-table-column>
<el-table-column prop="" label="Day" width="80" align='center'> <el-table-column prop="" label="Day" width="80">
<template slot-scope="scope"> <template slot-scope="scope">
<span> <span>
Day {{ String(scope.row.DayNum) }} Day {{ String(scope.row.DayNum) }}
</span> </span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="UseTypeName" label="用车类型" width="100" align='center'> <el-table-column prop="UseTypeName" label="用车类型" width="100">
</el-table-column> </el-table-column>
<el-table-column prop="TripInfo" label="行程" min-width="200"> <el-table-column prop="TripInfo" label="行程">
<template slot-scope="scope">
<el-tooltip class="item" effect="dark" :content="scope.row.TripInfo" placement="bottom">
{{scope.row.TripInfo?scope.row.TripInfo:'-'}}
</el-tooltip>
</template>
</el-table-column> </el-table-column>
<el-table-column prop="UnitPrice" label="价格" width="90" align='center'> <el-table-column prop="UnitPrice" label="价格">
<template slot-scope="scope"> <template slot-scope="scope">
<el-input v-if="priceType == 1" v-model="scope.row.UnitPrice" @input="calcPrice()" <el-input v-if="priceType == 1" v-model="scope.row.UnitPrice" @input="calcPrice()"
@keyup.native="checkInteger(scope.row, 'UnitPrice')" style="width:90px;"></el-input> @keyup.native="checkInteger(scope.row, 'UnitPrice')" style="width:90px;"></el-input>
...@@ -210,16 +219,16 @@ ...@@ -210,16 +219,16 @@
</span> </span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="StopBusPrice" label="停车费" width="90" align='center'> <el-table-column prop="StopBusPrice" label="停车费">
<template slot-scope="scope"> <template slot-scope="scope">
<el-input v-if="priceType == 1" v-model="scope.row.StopBusPrice" @input="calcPrice()" <el-input v-if="priceType == 1" v-model="scope.row.StopBusPrice" @input="calcPrice()"
@keyup.native="checkInteger(scope.row, 'StopBusPrice')" style="width:90px;"></el-input> @keyup.native="checkInteger(scope.row, 'StopBusPrice')" style="width:90px;"></el-input>
<span v-if="priceType != 1"> <span v-if="priceType != 1">
{{ scope.row.StopBusPrice }} {{ scope.row.StopBusPrice }}
</span> </span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column prop="RoomPrice" label="司机住宿费" width="100" align='center'> <el-table-column prop="RoomPrice" label="司机住宿费">
<template slot-scope="scope"> <template slot-scope="scope">
<el-input v-if="priceType == 1" v-model="scope.row.RoomPrice" @input="calcPrice()" <el-input v-if="priceType == 1" v-model="scope.row.RoomPrice" @input="calcPrice()"
@keyup.native="checkInteger(scope.row, 'RoomPrice')" style="width:90px;"></el-input> @keyup.native="checkInteger(scope.row, 'RoomPrice')" style="width:90px;"></el-input>
...@@ -321,6 +330,7 @@ ...@@ -321,6 +330,7 @@
<script> <script>
export default { export default {
props:['pagesTitle'],
data() { data() {
return { return {
drivermsg: { drivermsg: {
...@@ -343,7 +353,7 @@ ...@@ -343,7 +353,7 @@
TeamName: "", //团体名称 TeamName: "", //团体名称
StartTime: "", //开始时间 StartTime: "", //开始时间
EndTime: "", //结束时间 EndTime: "", //结束时间
OfferState: "", //报价状态 OfferState: "-1", //报价状态
}, },
boxHeight: 0, boxHeight: 0,
offsetwidth: 0, offsetwidth: 0,
...@@ -395,6 +405,15 @@ ...@@ -395,6 +405,15 @@
}, },
methods: { methods: {
goUrl(){
this.$router.push({
name: 'CharterAddEditVehicle',
query: {
blank: "y",
tab: "新增/编辑团订"
}
});
},
handleCurrentChange(val) { handleCurrentChange(val) {
this.msg.pageIndex = val; this.msg.pageIndex = val;
this.getList(); this.getList();
...@@ -405,7 +424,8 @@ ...@@ -405,7 +424,8 @@
}, },
getList() { getList() {
this.loading = true this.loading = true
this.apipost('tripbus_GetErpTripBusPage', this.msg, res => { // tripbus_GetErpTripBusPage
this.apipost('tripbus_GetTripBusPage', this.msg, res => {
this.loading = false; this.loading = false;
if (res.data.resultCode == 1) { if (res.data.resultCode == 1) {
this.total = res.data.data.count; this.total = res.data.data.count;
...@@ -545,7 +565,7 @@ ...@@ -545,7 +565,7 @@
myDate.getDate(); myDate.getDate();
this.msg.StartTime = nowDate; this.msg.StartTime = nowDate;
let width = window.innerWidth - 50; let width = window.innerWidth - 50;
let height = window.innerHeight - 65 - 210; let height = window.innerHeight - 65 - 300;
this.boxHeight = height; this.boxHeight = height;
this.offsetwidth = width; this.offsetwidth = width;
this.getList(); this.getList();
...@@ -553,7 +573,7 @@ ...@@ -553,7 +573,7 @@
} }
</script> </script>
<style> <style scoped>
.splitTrCss td { .splitTrCss td {
background: #eee !important; background: #eee !important;
} }
...@@ -564,6 +584,7 @@ ...@@ -564,6 +584,7 @@
} }
.busStatisticsTalbe { .busStatisticsTalbe {
width: 100%;
background: #ccc; background: #ccc;
} }
...@@ -654,9 +675,6 @@ ...@@ -654,9 +675,6 @@
overflow: auto; overflow: auto;
max-height: 350px; max-height: 350px;
} }
</style>
<style scoped>
/deep/.el-form-item { /deep/.el-form-item {
margin-bottom: 0px; margin-bottom: 0px;
} }
...@@ -664,7 +682,7 @@ ...@@ -664,7 +682,7 @@
.total { .total {
display: flex; display: flex;
width: 100%; width: 100%;
justify-content: center; justify-content: end;
font-weight: bold; font-weight: bold;
margin-bottom: 20px; margin-bottom: 20px;
margin-top: 10px; margin-top: 10px;
...@@ -675,5 +693,4 @@ ...@@ -675,5 +693,4 @@
width: 100%; width: 100%;
justify-content: space-between; justify-content: space-between;
} }
</style> </style>
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