Commit f21a0985 authored by youjie's avatar youjie

no message

parent 9891d11c
......@@ -937,6 +937,7 @@ export default {
this.msg.ReFinanceId2 = this.orderObj.ReFinanceId2?this.orderObj.ReFinanceId2:0;
this.msg.ECOrderList = this.orderObj.ECOrderList?this.orderObj.ECOrderList:[];
}
// 台湾提成汇率
if(this.orderObj&&this.orderObj.Rate&&this.orderObj.Money){
let yballPrice = 0
this.msg&&this.msg.detailList&&this.msg.detailList.forEach((item,i)=>{
......@@ -1044,7 +1045,7 @@ export default {
this.msg.ReTCID=this.czmsg.ReTCID;
}
console.log(this.allPriceTo,this.msg,'====--------')
console.log(this.msg,'====--------')
this.apipost('Financial_post_Set',this.msg,res=>{
if(res.data.resultCode==1){
//清除旅客名单数据
......@@ -1146,7 +1147,13 @@ export default {
if(t==2&&i){
numberC = parseFloat(this.msg.detailList[i-1].Number);
price = parseFloat(this.msg.detailList[i-1].UnitPrice);
// 台湾提成汇率
if(this.orderObj&&this.orderObj.Rate){
rate = parseFloat(this.orderObj.Rate);
}else{
rate = parseFloat(this.msg.detailList[i-1].Rate);
}
if(price==0){
price='';
this.msg.detailList[i-1].UnitPrice='';
......@@ -1165,7 +1172,12 @@ export default {
}else{
numberC = parseFloat(this.detailList.Number);
price = parseFloat(this.detailList.UnitPrice);
// 台湾提成汇率
if(this.orderObj&&this.orderObj.Rate){
rate = parseFloat(this.orderObj.Rate);
}else{
rate = parseFloat(this.detailList.Rate);
}
if(price==0){
price='';
this.detailList.UnitPrice='';
......@@ -1347,6 +1359,7 @@ export default {
this.coinGetList.forEach(x=>{
if(x.ID==this.detailList.CurrencyId){
this.detailList.currenName = x.Name
// 台湾提成汇率
if(this.orderObj&&this.orderObj.Rate){
this.detailList.Rate = this.orderObj.Rate
}else{
......@@ -1357,6 +1370,7 @@ export default {
this.msg&&this.msg.detailList&&this.msg.detailList.forEach((item,i)=>{
if(item.CurrencyId==x.ID){
item.currenName = x.Name
// 台湾提成汇率
if(this.orderObj&&this.orderObj.Rate){
item.Rate = this.orderObj.Rate
}else{
......@@ -1463,11 +1477,6 @@ export default {
x.currenName = y.Name;
}
})
if(this.orderObj&&this.orderObj.Rate){
x.rate = this.orderObj.Rate
}else{
x.rate = x.Rate;
}
this.msg.detailList.push(x);
allPrice = allPrice+parseFloat(x.bTotalPrice);
});
......
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