Commit 057f5937 authored by liudong1993's avatar liudong1993

1

parent 044b0fd4
...@@ -581,16 +581,21 @@ ...@@ -581,16 +581,21 @@
else{ else{
// _orderSource 1 酒店 2餐厅 5 车资 // _orderSource 1 酒店 2餐厅 5 车资
let portTypeId=4;
if (_orderSource === 1 && _type === 2) { if (_orderSource === 1 && _type === 2) {
id = [51, 52, 245, 246, 255, 267] id = [51, 52, 245, 246, 255, 267]
portTypeId=4;
} else if (_orderSource === 2 && _type === 2) { } else if (_orderSource === 2 && _type === 2) {
id = [54, 55, 245, 246, 255, 267] id = [54, 55, 245, 246, 255, 267]
portTypeId=5;
} else if (_orderSource === 5 && _type === 2) { } else if (_orderSource === 5 && _type === 2) {
id = [49, 50, 57, 58, 245, 246, 255, 267] id = [49, 50, 57, 58, 245, 246, 255, 267]
portTypeId=3;
} }
// 门票 // 门票
else if (_orderSource === 3 && _type === 2) { else if (_orderSource === 3 && _type === 2) {
id = [88, 89, 245, 246, 255, 267] id = [88, 89, 245, 246, 255, 267]
portTypeId=6;
} }
} }
...@@ -622,19 +627,34 @@ ...@@ -622,19 +627,34 @@
this.cdState = true this.cdState = true
return return
} }
let userInfo = this.getLocalStorage();
this.$router.push({ if(userInfo.RB_Group_id==2){
name: 'ChoiceAddFinancialDocuments', this.$router.push({
query: { name: 'ChoiceAddFinancialDocuments',
'Type': _type, query: {
'path': 'teamRevenueExpenditure', 'Type': _type,
'companyID': this.msgList&&this.msgList.length>0&&this.msgList[0].OutBranchId!=null?this.msgList[0].OutBranchId:this.$route.query.OutBranchId, 'path': 'teamRevenueExpenditure',
'templateID': id, 'companyID': this.msgList&&this.msgList.length>0&&this.msgList[0].OutBranchId!=null?this.msgList[0].OutBranchId:this.$route.query.OutBranchId,
'blank': 'y', 'templateID': id,
'orderObj': JSON.stringify(orderObj), 'blank': 'y',
'OrderSource': _orderSource, 'orderObj': JSON.stringify(orderObj),
} 'OrderSource': _orderSource,
}); }
});
}else{
this.$router.push({
name: 'ChoiceAddFinancialDocuments',
query: {
'Type': _type,
'portTypeId': portTypeId,
'path': 'teamRevenueExpenditure',
'companyID': this.msgList&&this.msgList.length>0&&this.msgList[0].OutBranchId!=null?this.msgList[0].OutBranchId:this.$route.query.OutBranchId,
'blank': 'y',
'orderObj': JSON.stringify(orderObj),
'OrderSource': _orderSource,
}
});
}
}, },
getTuanMsg() { getTuanMsg() {
this.apipost('dmcstatistics_post_GetTeamMoneyBaseInfo', { this.apipost('dmcstatistics_post_GetTeamMoneyBaseInfo', {
......
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