Commit 8508e545 authored by 吴春's avatar 吴春

总表已出票状态在票务管理里面添加信息

parent 72007ddd
...@@ -1339,6 +1339,17 @@ ...@@ -1339,6 +1339,17 @@
<span class="_blu_text">{{$t('Airticket.Air_blueType')}}</span> <span class="_blu_text">{{$t('Airticket.Air_blueType')}}</span>
{{$t('Airticket.Air_EconomyClass')}} {{$t('Airticket.Air_EconomyClass')}}
</li> </li>
<li> <span style="color:#4BCA81 ;">√:</span>
<span >全部出票</span>
</li>
<li>
<span style="color: #E95252;">O:</span>
<span > 已出中段/部分出票</span>
</li>
<li>
<span style="color:#E95252 ;">X:</span>
<span >未处理</span>
</li>
</ul> </ul>
<div class="_ol_info" :class="addShow==true||command==true?'_edHeight':''"> <div class="_ol_info" :class="addShow==true||command==true?'_edHeight':''">
<ul class="_ol_list" v-loading="loading"> <ul class="_ol_list" v-loading="loading">
...@@ -1377,7 +1388,7 @@ ...@@ -1377,7 +1388,7 @@
</div> </div>
</div> </div>
</el-col> </el-col>
<el-col :span="6" class="vmiddle"> <el-col :span="5" class="vmiddle">
<div class="TMN_Seat"> <div class="TMN_Seat">
<div class="TK_SeatList"> <div class="TK_SeatList">
<ul class="clearfix"> <ul class="clearfix">
...@@ -1456,9 +1467,19 @@ ...@@ -1456,9 +1467,19 @@
</div> </div>
</div> </div>
</el-col> </el-col>
<el-col :span="1">
<div><ul>
<!--出票状态-->
<li style="font-size:18px;">
<span style="color: #4BCA81;" v-if="item.TicketState==1"></span>
<span class="colorE95252" v-else>{{item.TicketState=='0'?"x":"O"}}</span>
</li>
</ul></div>
</el-col>
<el-col :span="4" class="vmiddle"> <el-col :span="4" class="vmiddle">
<div class="TK_raduis"> <div class="TK_raduis">
<ul> <ul>
<!--一定--> <!--一定-->
<li v-if="item.FirstDeposit!=''"> <li v-if="item.FirstDeposit!=''">
<div @click="goFinacePage(item,1)" :class="getClass(item.FirstDepositStatus)"> <div @click="goFinacePage(item,1)" :class="getClass(item.FirstDepositStatus)">
...@@ -1529,6 +1550,7 @@ ...@@ -1529,6 +1550,7 @@
</span> </span>
</div> </div>
</li> </li>
</ul> </ul>
</div> </div>
</el-col> </el-col>
...@@ -1549,7 +1571,8 @@ ...@@ -1549,7 +1571,8 @@
<p class="_text">{{$t('Airticket.Air_deadTicketTime')}}</p> <p class="_text">{{$t('Airticket.Air_deadTicketTime')}}</p>
</div> </div>
</el-col> </el-col>
<el-col :span="3" class="vmiddle"> <el-col :span="3" class="">
<div>
<el-button-group size="mini"> <el-button-group size="mini">
<el-tooltip class="item" effect="dark" :content="$t('system.table_edit')" placement="top-start"> <el-tooltip class="item" effect="dark" :content="$t('system.table_edit')" placement="top-start">
<el-button type="primary" icon="iconfont icon-Edit" @click="getEntityExtend(item.ID)"></el-button> <el-button type="primary" icon="iconfont icon-Edit" @click="getEntityExtend(item.ID)"></el-button>
...@@ -1600,6 +1623,24 @@ ...@@ -1600,6 +1623,24 @@
</el-popover> </el-popover>
</el-tooltip> </el-tooltip>
</el-button-group> </el-button-group>
</div>
<div style="margin-top:5px;" >
<el-button-group size="mini">
<el-tooltip class="item" effect="dark" content="出票完成" placement="top-start" v-show="item.TicketState!=1">
<el-button type="primary" icon="iconfont icon-ico_shezhi" @click="UpdateTicketState(item.ID,1)"></el-button>
</el-tooltip>
<el-tooltip class="item" effect="dark" content="已出中段" placement="top-start" v-show="item.TicketState==0">
<el-button type="primary" icon="iconfont icon-ico_shezhi" @click="UpdateTicketState(item.ID,2)">
</el-button>
</el-tooltip>
<el-tooltip class="item" effect="dark" content="部分出票" placement="top-start" v-show="item.TicketState==0">
<el-button type="primary" icon="iconfont icon-ico_shezhi"
@click="UpdateTicketState(item.ID,3)" ></el-button>
</el-tooltip>
</el-button-group>
</div>
</el-col> </el-col>
</el-row> </el-row>
...@@ -2758,6 +2799,23 @@ ...@@ -2758,6 +2799,23 @@
}, },
err => {} err => {}
); );
}, // 修改 根据ID获取信息
UpdateTicketState(ID,TicketState) {
this.apipost(
"AirTicket_get_UpdateTicketState", {
ID: ID,
TicketState:TicketState
},
res => {
if (res.data.resultCode == 1) {
this.Success("操作成功");
this.getList();
} else {
this.Warning(res.data.message);
}
},
err => {}
);
}, },
//根据航空公司ID 获取机场列表 //根据航空公司ID 获取机场列表
getAirportNameList(AirLineID, type) { getAirportNameList(AirLineID, type) {
......
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