Commit 36a1f833 authored by huangyuanyuan's avatar huangyuanyuan

update

parent a9a503ef
...@@ -300,6 +300,11 @@ export default { ...@@ -300,6 +300,11 @@ export default {
this.personNum.TC_Price=this.getlistSigel.scatterB2BPrice;//机票单价 this.personNum.TC_Price=this.getlistSigel.scatterB2BPrice;//机票单价
this.personNum.returnArriveCityId=this.getlistSigel.arrival_city; this.personNum.returnArriveCityId=this.getlistSigel.arrival_city;
this.personNum.TCID=this.getlistSigel.tCID; this.personNum.TCID=this.getlistSigel.tCID;
this.personNum.FreightSpace=this.getlistSigel.freightSpace;
this.personNum.GoCityTime=this.getlistSigel.goFlightTime;
this.personNum.BackCityTime=this.getlistSigel.backFlightTime;
}else{ }else{
this.Error(res.data.message) this.Error(res.data.message)
} }
...@@ -422,7 +427,7 @@ export default { ...@@ -422,7 +427,7 @@ export default {
} }
}); });
if(status1&&status2){ if(status1&&status2){
this.personNum.CustomerId=this.userInfo.accountId; this.personNum.CustomerId=this.userInfo.customerId;
this.personNum.PlaceOrderFrom=1; this.personNum.PlaceOrderFrom=1;
this.apipost( this.apipost(
"sellorder_post_SetOrderInfoForAirTicket", this.personNum, "sellorder_post_SetOrderInfoForAirTicket", this.personNum,
......
...@@ -62,7 +62,7 @@ ...@@ -62,7 +62,7 @@
</el-form-item> </el-form-item>
<el-form-item class="form_big" label="舱位选择"> <el-form-item class="form_big" label="舱位选择">
<el-select size="small" clearable v-model="choose_info.freightSpace" placeholder="请选择"> <el-select size="small" clearable v-model="choose_info.freightSpace" placeholder="请选择">
<el-option :value=0 label="不限"></el-option> <el-option :value="0" label="不限"></el-option>
<el-option <el-option
v-for="item in cawei" v-for="item in cawei"
:key="item.id" :key="item.id"
...@@ -368,7 +368,7 @@ export default { ...@@ -368,7 +368,7 @@ export default {
isPayOrder: 0, isPayOrder: 0,
departure_city: 0, departure_city: 0,
arrival_city: 0, arrival_city: 0,
freightSpace: 1, freightSpace: 0,
airTicketScatterNum: 0, airTicketScatterNum: 0,
cr: 0, cr: 0,
child: 0, child: 0,
......
...@@ -21,12 +21,21 @@ ...@@ -21,12 +21,21 @@
</el-form> </el-form>
<el-row> <el-row>
<div class="changestatus"> <ul class="clearfix">
<template v-for="item in TitList">
<li :key="item.ID"
class="__cp"
@click="handleClick(item)"
:class="{_active: activeName === item.ID}"
>{{item.Type}}</li>
</template>
</ul>
<!-- <div class="changestatus">
<span :class="{'span_active':form.status==0}" @click="ChangeStatus(0)">全部订单</span> <span :class="{'span_active':form.status==0}" @click="ChangeStatus(0)">全部订单</span>
<span :class="{'span_active':form.status==3}" @click="ChangeStatus(3)">待付款</span> <span :class="{'span_active':form.status==3}" @click="ChangeStatus(3)">待付款</span>
<span :class="{'span_active':form.status==1}" @click="ChangeStatus(1)">正常</span> <span :class="{'span_active':form.status==1}" @click="ChangeStatus(1)">正常</span>
<span :class="{'span_active':form.status==2}" @click="ChangeStatus(2)">取消</span> <span :class="{'span_active':form.status==2}" @click="ChangeStatus(2)">取消</span>
</div> </div> -->
</el-row> </el-row>
<el-table :header-cell-style="getRowClass" <el-table :header-cell-style="getRowClass"
...@@ -132,6 +141,25 @@ ...@@ -132,6 +141,25 @@
export default { export default {
data () { data () {
return { return {
activeName: 0,
TitList: [
{
Type: "全部",
ID: 0
},
{
Type: "正常",
ID: 1
},
{
Type: "取消",
ID: 2
},
{
Type: "待付款",
ID: 3
}
],
totalCount:0, totalCount:0,
provideItem:[], provideItem:[],
tableData:[], tableData:[],
...@@ -152,6 +180,11 @@ export default { ...@@ -152,6 +180,11 @@ export default {
}, },
methods: { methods: {
handleClick(item) {
this.activeName = item.ID;
this.form.status = item.ID;
this.List();
},
handleCurrentChange(val){ handleCurrentChange(val){
this.form.pageIndex=val; this.form.pageIndex=val;
this.List(); this.List();
...@@ -252,6 +285,20 @@ export default { ...@@ -252,6 +285,20 @@ export default {
</script> </script>
<style> <style>
.CustomizedList .clearfix li.__cp._active {
color: #E73828;
}
.CustomizedList .clearfix li {
float: left;
padding: 0 20px;
font-size:14px;
}
.CustomizedList .clearfix {
height: 40px;
line-height: 40px;
border-bottom: 1px solid #F2DADA;
margin-bottom: 10px;
}
.CustomizedList .el-table td, .el-table th{ .CustomizedList .el-table td, .el-table th{
font-size: 12px; font-size: 12px;
} }
......
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