Commit 044b0fd4 authored by liudong1993's avatar liudong1993

1

parent 4e1112cb
...@@ -1913,7 +1913,7 @@ ...@@ -1913,7 +1913,7 @@
name: "ChoiceAddFinancialDocuments", name: "ChoiceAddFinancialDocuments",
query: { query: {
Type: 2, Type: 2,
searchTitle: '领队', searchTitle: '用款',
companyID: obj.OutBranchId, companyID: obj.OutBranchId,
path: "", path: "",
blank: "y", blank: "y",
......
...@@ -1971,8 +1971,12 @@ ...@@ -1971,8 +1971,12 @@
Money: obj.LeaderGetPriceT, Money: obj.LeaderGetPriceT,
TCNUMS: obj.TCNUMS TCNUMS: obj.TCNUMS
}; };
let fullPath = let fullPath =`/ChoiceAddFinancialDocuments?Type=${2}&templateID=${JSON.stringify(id)}&companyID=${obj.OutBranchId}&orderObj=${JSON.stringify(orderObj)}&blank=y&tab=领队报账`;
`/ChoiceAddFinancialDocuments?Type=${2}&templateID=${JSON.stringify(id)}&companyID=${obj.OutBranchId}&orderObj=${JSON.stringify(orderObj)}&blank=y&tab=领队报账`; let userInfo = this.getLocalStorage();
if(userinfo.RB_Group_id!=2){
orderObj.CostType=0;
fullPath =`/ChoiceAddFinancialDocuments?Type=${2}&searchTitle=报账&companyID=${obj.OutBranchId}&orderObj=${JSON.stringify(orderObj)}&blank=y&tab=领队报账`;
}
let dom = document.querySelector("#blankLink"); let dom = document.querySelector("#blankLink");
dom.href = `http://${window.location.host}/#${fullPath}`; dom.href = `http://${window.location.host}/#${fullPath}`;
dom.click(); dom.click();
......
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