Commit ad93dbde authored by youjie's avatar youjie

编辑单据的手配费

parent 09227e57
...@@ -2359,7 +2359,6 @@ ...@@ -2359,7 +2359,6 @@
} }
this.chongJudge(data) this.chongJudge(data)
this.GetDetail = data; this.GetDetail = data;
console.log(this.GetDetail, '======')
if (this.GetDetail.DetailList) { if (this.GetDetail.DetailList) {
this.GetDetail.DetailList.forEach(item => { this.GetDetail.DetailList.forEach(item => {
if (item.CostTypeName == "领队导游资金池领款") { if (item.CostTypeName == "领队导游资金池领款") {
......
...@@ -1603,18 +1603,8 @@ export default { ...@@ -1603,18 +1603,8 @@ export default {
this.apipost('Financial_post_Get', {ID:id,TempId:tempId,TCIDList:(this.orderObj&&this.orderObj.TCIDList)?this.orderObj.TCIDList:[]}, res => { this.apipost('Financial_post_Get', {ID:id,TempId:tempId,TCIDList:(this.orderObj&&this.orderObj.TCIDList)?this.orderObj.TCIDList:[]}, res => {
if(res.data.resultCode == 1) { if(res.data.resultCode == 1) {
let data= res.data.data; let data= res.data.data;
// if((data.TemplateId==245
// ||data.TemplateId==246 this.$forceUpdate()
// ||data.TemplateId==247
// ||data.TemplateId==248)&&!this.isHandFee&&data.KingdeeBranchId&&this.msg.RB_Branch_Id!=1220){
// this.GetHandFeeList()//获取手配费功能权限配置
// this.is_HandFee = true
// this.isHandFee = true
// this.HandFee.BranchId = data.KingdeeBranchId
// }else{
// this.is_HandFee = false
// this.isHandFee = false
// }
this.editTemplateId=data.TemplateId; this.editTemplateId=data.TemplateId;
this.getCompany(); this.getCompany();
...@@ -1640,8 +1630,6 @@ export default { ...@@ -1640,8 +1630,6 @@ export default {
} else if(this.$route.query.companyID){ } else if(this.$route.query.companyID){
this.msg.RB_Branch_Id = parseInt(this.$route.query.companyID); this.msg.RB_Branch_Id = parseInt(this.$route.query.companyID);
} }
this.admin_get_DepartmentGetList(this.msg.RB_Branch_Id); this.admin_get_DepartmentGetList(this.msg.RB_Branch_Id);
this.msg.PayDate = this.msg.PayDate ; this.msg.PayDate = this.msg.PayDate ;
this.msg.detailList=[]; this.msg.detailList=[];
...@@ -1771,7 +1759,13 @@ export default { ...@@ -1771,7 +1759,13 @@ export default {
||this.$route.query.id==248){ ||this.$route.query.id==248){
this.is_HandFee = true this.is_HandFee = true
this.isHandFee = true this.isHandFee = true
}else{ }else if((this.msg.TemplateId==245
||this.msg.TemplateId==246
||this.msg.TemplateId==247
||this.msg.TemplateId==248)&&this.msg.HandFeeFrId==0&&this.msg.RB_Branch_Id!=1220){
this.is_HandFee = true
this.isHandFee = true
} else{
this.is_HandFee=false this.is_HandFee=false
this.isHandFee = false this.isHandFee = false
} }
...@@ -2027,11 +2021,11 @@ export default { ...@@ -2027,11 +2021,11 @@ 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.isHandFee = true this.isHandFee = true
}else{ }else{
this.is_HandFee = false this.is_HandFee = false
} }
this.GetHandFeeList()//获取手配费功能权限配置
let userInfo = this.getLocalStorage(); let userInfo = this.getLocalStorage();
this.department = userInfo.DepartName; this.department = userInfo.DepartName;
this.EmployeeId=userInfo.EmployeeId; this.EmployeeId=userInfo.EmployeeId;
......
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