Commit 2c083e0a authored by 黄奎's avatar 黄奎

地接总表=>车调整

parent 8312e8fe
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
</li> </li>
<li> <li>
<span> <span>
<em>{{$t('objFill.v101.hote.tuanzhuant')}</em> <em>{{$t('objFill.v101.hote.tuanzhuant')}}</em>
<el-select v-model="msg.IsSetOut"> <el-select v-model="msg.IsSetOut">
<el-option :label="$t('objFill.zhengchangft')" :value="0"></el-option> <el-option :label="$t('objFill.zhengchangft')" :value="0"></el-option>
<el-option :label="$t('objFill.quxiaofatuan')" :value="1"></el-option> <el-option :label="$t('objFill.quxiaofatuan')" :value="1"></el-option>
...@@ -94,7 +94,8 @@ ...@@ -94,7 +94,8 @@
</td> </td>
<td v-if="subIndex==0" :rowspan="item.SubList.length"> <td v-if="subIndex==0" :rowspan="item.SubList.length">
<el-tooltip class="item" effect="dark" :content="$t('ground.scdanju')" placement="top-start"> <el-tooltip class="item" effect="dark" :content="$t('ground.scdanju')" placement="top-start">
<el-button type="success" icon="el-icon-check" circle @click="CreateSupplierBill(item)"></el-button> <el-button type="success" icon="el-icon-check" circle @click="CreateSupplierBill(item)">
</el-button>
</el-tooltip> </el-tooltip>
</td> </td>
</tr> </tr>
......
...@@ -211,7 +211,7 @@ ...@@ -211,7 +211,7 @@
</tfoot> </tfoot>
</table> </table>
<div style="width: 100%; overflow-x: auto;margin-top:20px;" class="ownScrollbarStyle"> <div style="width: 100%; overflow-x: auto;margin-top:20px;" class="ownScrollbarStyle">
<el-form :rules="rules"> <el-form>
<el-table :data="PlanTableData" style="width:100%" border v-loading='loading'> <el-table :data="PlanTableData" style="width:100%" border v-loading='loading'>
<el-table-column fixed :label="$t('pub.date')" prop="UseTimeStr" min-width="100"></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('hotel.hotel_name')" prop="HotelName" min-width="200"></el-table-column>
...@@ -299,7 +299,6 @@ ...@@ -299,7 +299,6 @@
</div> </div>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column :label="$t('ground.busType')" min-width="150"> <el-table-column :label="$t('ground.busType')" min-width="150">
<template slot-scope="scope"> <template slot-scope="scope">
<div v-for="(subItem,subIndex) in scope.row.BusPlanOrderList" class="comBTM" :key="`bpo_b_`+subIndex"> <div v-for="(subItem,subIndex) in scope.row.BusPlanOrderList" class="comBTM" :key="`bpo_b_`+subIndex">
...@@ -459,7 +458,6 @@ ...@@ -459,7 +458,6 @@
export default { export default {
data() { data() {
return { return {
defaultSelectValue: 0,
//车辆类型列表 //车辆类型列表
BusTypeList: [], BusTypeList: [],
/*供应商列表*/ /*供应商列表*/
...@@ -479,102 +477,13 @@ ...@@ -479,102 +477,13 @@
/*计划表数据*/ /*计划表数据*/
forbidInput: false, forbidInput: false,
PlanTableData: [], PlanTableData: [],
UseTypeArray: [], //用车类型
BusAirportPickUpList: [], //用车类型 BusAirportPickUpList: [], //用车类型
//防止重复提交 //防止重复提交
saveLoading: false, saveLoading: false,
//司机住宿类型 //司机住宿类型
AccommodationTypeArray: [], AccommodationTypeArray: [],
rules: {
//表单必填验证
BusCode: [{
required: true,
message: this.$t('ground.qtxcphao'),
trigger: "change"
}],
DriverName: [{
required: true,
message: this.$t('objFill.v101.busManagement.qingtianxsjmc'),
trigger: "change"
}],
DriverTel: [{
required: true,
message: this.$t('objFill.v101.busManagement.qingtxlxdh'),
trigger: "change"
}],
BusType: [{
required: true,
message: this.$t('objFill.v101.busManagement.qingxzclx'),
trigger: "change"
}],
CarrierNum: [{
required: true,
message: this.$t('objFill.v101.busManagement.qingtxhzrs'),
trigger: "change"
},
{
pattern: this.$commonUtils.Regex.el_isInteger,
message: this.$t('objFill.qingshuruzqdz')
}
],
BusNum: [{
required: true,
message: this.$t('objFill.v101.busManagement.qingtxcphm'),
trigger: "change"
}],
StartDate: [{
required: true,
message: this.$t('objFill.v101.administrative.qingxuanzhekssj'),
trigger: "change"
}],
UseDays: [{
required: true,
message: this.$t('objFill.v101.busManagement.qingtxsyts'),
trigger: "change"
},
{
pattern: this.$commonUtils.Regex.el_isInteger,
message: this.$t('objFill.qingshuruzqdz')
}
],
SupplierId: [{
required: true,
message: this.$t('objFill.qingxuanzhegys'),
trigger: "change"
}],
CostPrice: [{
pattern: this.$commonUtils.Regex.el_Isdecimal,
message: this.$t('objFill.v101.SalesModule.col2.t3')
},
{
required: true,
message: this.$t('objFill.v101.busManagement.qingtxcbj'),
trigger: "change"
}
],
SalesPrice: [{
pattern: this.$commonUtils.Regex.el_Isdecimal,
message: this.$t('objFill.v101.SalesModule.col2.t3')
},
{
required: true,
message: this.$t('objFill.v101.busManagement.qingtxnbj'),
trigger: "change"
}
]
},
//团名 //团名
title: '', title: '',
//团号
TCNUMS: '',
//进出点
InOut: '',
//订单人数
RealityNum: '',
//机位总数
totalFlySeat: '',
LeaderName: '',
GuideName: '',
loading: false, loading: false,
isShowBtn: 1, //1禁用高速费,成本费,高速付款方式文本框 isShowBtn: 1, //1禁用高速费,成本费,高速付款方式文本框
IsEditBus: 0, //车辆修改权限 IsEditBus: 0, //车辆修改权限
...@@ -617,7 +526,6 @@ ...@@ -617,7 +526,6 @@
MTCNUM: "" MTCNUM: ""
}); });
}, },
PayTypeChange(obj) { PayTypeChange(obj) {
if (obj.PayType == 7) { if (obj.PayType == 7) {
obj.CostPrice = 0; obj.CostPrice = 0;
...@@ -779,7 +687,6 @@ ...@@ -779,7 +687,6 @@
} }
}, err => {}) }, err => {})
}, },
//司机住宿点击事件 //司机住宿点击事件
AccommodationCLick(value, item) { AccommodationCLick(value, item) {
if ( if (
...@@ -791,19 +698,6 @@ ...@@ -791,19 +698,6 @@
item.AccommodationType = "0"; item.AccommodationType = "0";
} }
}, },
/*获取用车类型列表*/
GetUseTypeList() {
this.apipost(
"bus_get_GetUseTypeList",
null,
response => {
if (response.data.resultCode == 1) {
this.UseTypeArray = response.data.data;
}
},
null
);
},
/*获取接送机类型列表*/ /*获取接送机类型列表*/
GetAirportPickUpList() { GetAirportPickUpList() {
this.apipost( this.apipost(
...@@ -894,18 +788,11 @@ ...@@ -894,18 +788,11 @@
mounted() { mounted() {
this.currentUserInfo = this.getLocalStorage(); this.currentUserInfo = this.getLocalStorage();
this.GetAuth(); this.GetAuth();
this.GetUseTypeList();
this.GetAirportPickUpList(); this.GetAirportPickUpList();
this.GeAccommodationTypeList(); this.GeAccommodationTypeList();
this.BusId = this.$route.query.id; this.BusId = this.$route.query.id;
this.title = this.$route.query.title; this.title = this.$route.query.title;
this.TCNUMS = this.$route.query.TCNUMS;
this.InOut = this.$route.query.InOut;
this.RealityNum = this.$route.query.RealityNum;
this.totalFlySeat = this.$route.query.TotalNumber + '/' + this.$route.query.RealityYSeatNum + '/' + this.$route
.query.RealityESeatNum + '/' + this.$route.query.RealityFSeatNum;
this.LeaderName = this.$route.query.LeaderName;
this.GuideName = this.$route.query.GuideName;
this.parametersData.TCID = this.$route.query.TCID; this.parametersData.TCID = this.$route.query.TCID;
this.parametersData.StartDate = this.$route.query.StartDate; this.parametersData.StartDate = this.$route.query.StartDate;
this.parametersData.DayNum = this.$route.query.DayNum; this.parametersData.DayNum = this.$route.query.DayNum;
......
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