Commit 298bd3cd authored by liudong1993's avatar liudong1993
parents 92e1e31a 1962421a
......@@ -956,14 +956,15 @@ export default {
this.apipost('Financial_post_MergeFinance',this.addMsg,r=>{
if(r.data.resultCode === 1) {
this.addChuNa = false
this.saveMsg=[];
// this.saveMsg=[];
this.getList();
this.addMsg = {
FrIDs:'',
RemitterName:'',
TradeDate:'',
BankList:[],
}
// this.addMsg = {
// FrIDs:'',
// RemitterName:'',
// TradeDate:'',
// BankList:[],
// }
this.initAddChuNa()
}else{
this.$message.error(r.data.message)
}
......@@ -1089,7 +1090,7 @@ export default {
},err=>{})
},
showUpLoadFile(i){ // 预览上传文件
if(i.Type==3){
this.picObj.push(i.Url);
......
......@@ -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);
}
},
......
......@@ -77,6 +77,7 @@
</li>
<li>
<button class="hollowFixedBtn" @click="resetPageIndex(),getControlList()">{{$t('pub.searchBtn')}}</button>
<button class="hollowFixedBtn" @click="goToOpenTravel('TravelManager',0)">创建行程</button>
</li>
</ul>
</div>
......@@ -125,7 +126,7 @@
</div>
<div class="el-col">
<div class="d7">
<el-button @click="goToOpenTravel('TravelManager2',item.ID)" type="primary">
<el-button @click="goToOpenTravel('TravelManager',item.ID)" type="primary">
{{$t('Operation.Op_tripUpdate')}}</el-button>
<el-button @click="copyTravelInfo(item.ID)" type="primary">{{$t('Operation.Op_tripCopy')}}</el-button>
<el-button @click="goUrlR(item)" type="primary">
......@@ -326,19 +327,14 @@
goToOpenTravel(path, configId) {
if (configId > 0) {
this.$store.commit("pageConditionUpdate", this.queryMsg);
this.$router.push({
name: path,
query: {
configId: configId,
openState: 1,
blank: 'y',
tab: '团期配置'
}
this.OpenNewPage(path, {
configId: configId,
openState: 1,
blank: 'y',
tab: '团期配置'
});
} else {
this.$router.push({
name: path
});
this.OpenNewPage(path, {});
}
},
//行程复制
......
......@@ -361,7 +361,7 @@
</el-form-item>
</td>
<td>
<el-form-item label="单地接">
<el-form-item label="单地接(成本)">
{{teamPrice.SingleDMCPrice}}
</el-form-item>
</td>
......@@ -375,11 +375,16 @@
{{teamPrice.ChildNeedPrice}}
</el-form-item>
</td>
<td colspan="6">
<td colspan="2">
<el-form-item label="单房差">
{{teamPrice.SingleRoomPrice}}
</el-form-item>
</td>
<td colspan="4">
<el-form-item label="单地接(价格)">
{{teamPrice.SingleDMCTCPrice}}
</el-form-item>
</td>
</tr>
<tr>
<td colspan="2">
......
......@@ -268,7 +268,7 @@
</el-form-item>
</td>
<td>
<el-form-item label="单地接">
<el-form-item label="单地接(成本)">
{{teamPrice.SingleDMCPrice}}
</el-form-item>
</td>
......@@ -283,11 +283,16 @@
{{teamPrice.ChildNeedPrice}}
</el-form-item>
</td>
<td colspan="6">
<td colspan="2">
<el-form-item label="单房差">
{{teamPrice.SingleRoomPrice}}
</el-form-item>
</td>
<td colspan="4">
<el-form-item label="单地接(价格)">
{{teamPrice.SingleDMCTCPrice}}
</el-form-item>
</td>
</tr>
<tr>
<td colspan="2">
......
......@@ -368,7 +368,7 @@
</el-form-item>
</td>
<td>
<el-form-item label="单地接">
<el-form-item label="单地接(成本)">
<el-input v-model="teamPrice.SingleDMCPrice"
@keyup.native="checkInteger(teamPrice,'SingleDMCPrice'),getchange()" class="w70">
</el-input>
......@@ -388,13 +388,20 @@
</el-input>
</el-form-item>
</td>
<td colspan="6">
<td colspan="2">
<el-form-item label="单房差">
<el-input placeholder="" v-model="teamPrice.SingleRoomPrice"
@keyup.native="checkPrice(teamPrice,'SingleRoomPrice')" class="w70">
</el-input>
</el-form-item>
</td>
<td colspan="4">
<el-form-item label="单地接(价格)">
<el-input placeholder="" v-model="teamPrice.SingleDMCTCPrice"
@keyup.native="checkPrice(teamPrice,'SingleDMCTCPrice')" class="w70">
</el-input>
</el-form-item>
</td>
</tr>
<tr>
<td colspan="2">
......@@ -972,7 +979,7 @@
},
getchange(type) {
this.getSubtotalMoney();
var that=this;
var that = this;
if (type && type == 1) {
var tempPrice = 0;
this.CostNumberList.forEach(x => {
......
......@@ -127,7 +127,8 @@
VisaPrice: 0, //签证
OtherPrice: 0, //杂费
SingleRoomPrice: 0, //单房差
SingleDMCPrice: 0, //单地接
SingleDMCPrice: 0, //单地接(成本)
SingleDMCTCPrice:0,//单地接团售价
RebatePrice: 0, //同行返佣
DiscountPrice: 0, //早鸟优惠
IsSupportChildren: 1, //是否支持儿童出游(1-支持,2-不支持)
......
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