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