Commit aa27a9cb authored by youjie's avatar youjie

no message

parent ea89f285
......@@ -1394,7 +1394,7 @@
name: "ChoiceAddFinancialDocuments",
query: {
Type: 2,
companyID: this.msgList[0].OutBranchId,
companyID: this.msgList[0].OutBranchId?this.msgList[0].OutBranchId:this.$route.query.OutBranchId,
'blank': 'y',
'orderObj': JSON.stringify(orderObj)
}
......@@ -1460,7 +1460,7 @@
}
let TCIDARR = []
let id = [];
if( this.msgList[0].LineId==this.myLineId){
if((this.msgList&&this.msgList.length>0&&this.msgList[0].LineId==this.myLineId)||this.myLineId){
if (_orderSource === 1 && _type === 2) {
id = [94]
......@@ -1506,7 +1506,7 @@
query: {
'Type': _type,
'path': 'teamRevenueExpenditure',
'companyID': this.msgList[0].OutBranchId,
'companyID': this.msgList[0].OutBranchId?this.msgList[0].OutBranchId:this.$route.query.OutBranchId,
'templateID': id,
'blank': 'y',
'orderObj': JSON.stringify(orderObj),
......
......@@ -441,7 +441,7 @@
goUrl(_orderSource, _type) {
let TCIDARR = []
let id = [];
if( this.msgList[0].LineId==this.LineId){
if((this.msgList&&this.msgList.length>0&&this.msgList[0].LineId==this.LineId)||this.LineId){
if (_orderSource === 1 && _type === 2) {
id = [94]
......@@ -485,7 +485,7 @@
query: {
'Type': _type,
'path': 'teamRevenueExpenditure',
'companyID': this.msgList[0].OutBranchId,
'companyID': this.msgList[0].OutBranchId?this.msgList[0].OutBranchId:this.$route.query.OutBranchId,
'templateID': id,
'blank': 'y',
'orderObj': JSON.stringify(orderObj),
......
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