Commit f3c3ffd4 authored by youjie's avatar youjie

no message

parent 6842a1e4
...@@ -1221,7 +1221,7 @@ export default { ...@@ -1221,7 +1221,7 @@ export default {
query: { query: {
HandFeeFrId:GetDetail.FrID, HandFeeFrId:GetDetail.FrID,
blank: "y", blank: "y",
tab: "手配详情" tab: "手配详情"
} }
}); });
} }
......
...@@ -499,7 +499,7 @@ ...@@ -499,7 +499,7 @@
</el-tooltip> </el-tooltip>
</template> </template>
</div> </div>
<template v-if="is_HandFee"> <template v-if="isHandFee&&is_HandFee">
<div> <div>
<p> <p>
手配费: 手配费:
...@@ -795,13 +795,13 @@ export default { ...@@ -795,13 +795,13 @@ export default {
{Name:'门票',Id:4,disabled:false}, {Name:'门票',Id:4,disabled:false},
], //类型 ], //类型
isHandFee: false, isHandFee: false,
is_HandFee: false, is_HandFee: true,//是否开启
} }
}, },
methods:{ methods:{
// 是否开启手配费 // 是否开启手配费
getHandFee(){ getHandFee(){
if(this.isHandFee){ if(this.is_HandFee){
this.chooseHandFee() this.chooseHandFee()
}else{ }else{
this.msg.HandFeeList = null this.msg.HandFeeList = null
...@@ -810,7 +810,7 @@ export default { ...@@ -810,7 +810,7 @@ export default {
}, },
// 获取当前手配费选项 // 获取当前手配费选项
chooseHandFee(){ chooseHandFee(){
if(!this.isHandFee) return if(!this.is_HandFee) return
if(this.msg.detailList.length>0){ if(this.msg.detailList.length>0){
let HandFeeObj = this.HandFeeList.map(item=>{if(item.BranchId==this.HandFee.BranchId) return item}) let HandFeeObj = this.HandFeeList.map(item=>{if(item.BranchId==this.HandFee.BranchId) return item})
...@@ -1052,7 +1052,7 @@ export default { ...@@ -1052,7 +1052,7 @@ export default {
}, },
AddFinancial(z){ //保存 AddFinancial(z){ //保存
// 手配费参数 // 手配费参数
if(this.isHandFee){ if(this.is_HandFee){
if(!this.HandFee.BranchId){ if(!this.HandFee.BranchId){
this.Error('请选择手配费') this.Error('请选择手配费')
return return
...@@ -1116,10 +1116,9 @@ export default { ...@@ -1116,10 +1116,9 @@ export default {
this.msg.ReFinanceId = this.orderObj.ReFinanceId?this.orderObj.ReFinanceId:0; this.msg.ReFinanceId = this.orderObj.ReFinanceId?this.orderObj.ReFinanceId:0;
this.msg.ReFinanceId2 = this.orderObj.ReFinanceId2?this.orderObj.ReFinanceId2:0; this.msg.ReFinanceId2 = this.orderObj.ReFinanceId2?this.orderObj.ReFinanceId2:0;
this.msg.ECOrderList = this.orderObj.ECOrderList?this.orderObj.ECOrderList:[]; this.msg.ECOrderList = this.orderObj.ECOrderList?this.orderObj.ECOrderList:[];
this.msg.StandardCurrencyName = this.orderObj.StandardCurrencyName?this.orderObj.StandardCurrencyName:'';
} }
// 台湾提成汇率 // 台湾提成汇率
if((this.orderObj&&this.orderObj.Rate&&this.orderObj.Money)||(this.orderObj&&this.orderObj.Money)){ if(this.orderObj&&this.orderObj.Rate&&this.orderObj.Money){
let yballPrice = 0 let yballPrice = 0
this.msg&&this.msg.detailList&&this.msg.detailList.forEach((item,i)=>{ this.msg&&this.msg.detailList&&this.msg.detailList.forEach((item,i)=>{
yballPrice += Number(yballPrice)+Number(item.UnitPrice) yballPrice += Number(yballPrice)+Number(item.UnitPrice)
...@@ -2003,7 +2002,7 @@ export default { ...@@ -2003,7 +2002,7 @@ export default {
||this.$route.query.id==246 ||this.$route.query.id==246
||this.$route.query.id==247 ||this.$route.query.id==247
||this.$route.query.id==248){ ||this.$route.query.id==248){
this.GetHandFeeList()//获取手配费配置 this.GetHandFeeList()//获取手配费功能权限配置
this.isHandFee = true this.isHandFee = true
} }
let userInfo = this.getLocalStorage(); let userInfo = this.getLocalStorage();
......
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