Commit 0ce9f554 authored by 沈良进's avatar 沈良进

页面修改

parent be6c963e
......@@ -1878,9 +1878,14 @@
<el-button v-else type="primary" icon="iconfont icon-xiazai2" style="margin-left:0;"
@click="DownLoad(3,item.TripItinerary)"></el-button>
</el-tooltip>
<el-tooltip class="item" effect="dark" content="散卖" placement="top-start">
<!-- <el-tooltip class="item" effect="dark" content="散卖" placement="top-start">
<el-button type="primary" icon="iconfont icon-maichu" @click="sanSale(item)"></el-button>
</el-tooltip>
</el-tooltip> -->
<template v-if="item.PriceList&&item.PriceList.length==0"> -->
<el-tooltip class="item" effect="dark" content="生成虚拟团" placement="top-start">
<el-button type="primary" icon="iconfont icon-maichu" @click="createTravel(item)"></el-button>
</el-tooltip>
</template>
<el-tooltip class="item" effect="dark" content="机票单据转移" placement="top-start">
<el-button type="primary" icon="iconfont icon-gengduo1" @click="OpenFindig(item)"></el-button>
</el-tooltip>
......@@ -3013,6 +3018,30 @@
};
},
methods: {
//生成虚拟团
createTravel(item) {
var that = this;
var str = '是否生成虚拟团'
var postMsg = {
AirticketId: item.ID
};
that.Confirm(str, function () {
that.loading = true;
that.apipost(
"AirTicket_get_CreateTicketVisualPrice", postMsg,
res => {
that.loading = false;
if (res.data.resultCode == 1) {
that.Success(res.data.message);
that.getList();
} else {
that.Error(res.data.message);
}
},
err => {}
);
});
},
// 开票费用
SumbitBillingCharge() {
for (let i = 0; i < this.MsgRAirServiceList.length; i++) {
......@@ -4070,7 +4099,7 @@
this.command = false;
this.isSubmit = true;
} else {
this.isSubmit = true;
this.isSubmit = true;
this.Error(res.data.message);
}
},
......
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