|
@@ -61,6 +61,7 @@
|
|
|
<el-input style="width:900px" size="mini" v-model="DomesticFees.visafeesDescription"></el-input>
|
|
|
<span class="redzhu">{{visabeizhu}}</span>
|
|
|
</div>
|
|
|
+ <el-button v-if="getvisafeebtn" @click="Getnewvisafee" type="primary" size="mini">获取最新签证费用</el-button>
|
|
|
</div>
|
|
|
<div class="Entry-li-inif">
|
|
|
<div class="Entry-inif-box">
|
|
@@ -623,6 +624,8 @@ export default {
|
|
|
//监听币种数组
|
|
|
watchedPrice: null,
|
|
|
cubtn:false,
|
|
|
+ getvisafeebtn:false,
|
|
|
+ visainfo:{},
|
|
|
}
|
|
|
},
|
|
|
methods:{
|
|
@@ -656,6 +659,7 @@ export default {
|
|
|
},
|
|
|
//获取签证标注
|
|
|
GetEnterExitCostCorrelationTips(val){
|
|
|
+ this.getvisafeebtn=false;
|
|
|
if(val==1){
|
|
|
this.TotalExpenses.EconomyClass=0;
|
|
|
this.TotalExpenses.BusinessClass=0;
|
|
@@ -699,9 +703,11 @@ export default {
|
|
|
}).then(function (res) {
|
|
|
if(res.data.code==200){
|
|
|
that.TicketJudgment=res.data.data.airData;
|
|
|
+ that.visainfo=res.data.data.visaData;
|
|
|
that.currencyss=res.data.data.reteInfos;
|
|
|
- console.log(that.currencys);
|
|
|
- console.log(that.currencyss);
|
|
|
+ if(that.DomesticFees.visafees!=res.data.data.visaData.feeTotal&&res.data.data.visaData.feeTotal!=0){
|
|
|
+ that.getvisafeebtn=true;
|
|
|
+ }
|
|
|
for(let s=0;s<that.currencys.length;s++){
|
|
|
if(that.currencys[s].rate!=that.currencyss[s].rate){
|
|
|
that.cubtn=true;
|
|
@@ -1845,6 +1851,11 @@ export default {
|
|
|
}
|
|
|
}
|
|
|
this.cubtn=false;
|
|
|
+ },
|
|
|
+ Getnewvisafee(){
|
|
|
+ this.DomesticFees.visafees=this.visainfo.feeTotal;
|
|
|
+ this.DomesticFees.visafeesDescription=this.visainfo.remark;
|
|
|
+ this.getvisafeebtn=false;
|
|
|
}
|
|
|
},
|
|
|
filters: {
|