Commit 5bd1cd0a authored by Mac's avatar Mac

制单修改

parent db321944
...@@ -830,7 +830,9 @@ ...@@ -830,7 +830,9 @@
PayDate: '', PayDate: '',
CallType: 0, CallType: 0,
Type: 0, Type: 0,
GuestInfoList: [] GuestInfoList: [],
RB_BranchName:'',
RB_DepartName:'',
}, },
detailList: { detailList: {
ID: 0, ID: 0,
...@@ -1713,6 +1715,7 @@ ...@@ -1713,6 +1715,7 @@
this.CompanyList.forEach(x=>{//给msg传校区的名字 this.CompanyList.forEach(x=>{//给msg传校区的名字
if(x.SId==Bid){ if(x.SId==Bid){
this.msg.RB_BranchName = x.SName; this.msg.RB_BranchName = x.SName;
console.log( this.msg)
} }
}) })
// this.msg.RB_Depart_Id = ''; // this.msg.RB_Depart_Id = '';
...@@ -1726,7 +1729,10 @@ ...@@ -1726,7 +1729,10 @@
} else { } else {
this.msg.RB_Depart_Id = this.msg.RB_Depart_Id ? this.msg.RB_Depart_Id : this.getLocalStorage().DeptId; this.msg.RB_Depart_Id = this.msg.RB_Depart_Id ? this.msg.RB_Depart_Id : this.getLocalStorage().DeptId;
this.msg.RB_DepartName =this.msg.RB_DepartName?this.msg.RB_DepartName: this.getLocalStorage().DeptName;
} }
console.log(this.msg)
} }
}).catch(() => { }).catch(() => {
...@@ -1746,6 +1752,11 @@ ...@@ -1746,6 +1752,11 @@
getCompany() { //公司 getCompany() { //公司
getSchoolPage(this.schoolMsg).then(res => { getSchoolPage(this.schoolMsg).then(res => {
this.CompanyList = res.Data.PageData; this.CompanyList = res.Data.PageData;
this.CompanyList.forEach(x=>{//给msg传校区的名字
if(x.SId==this.msg.RB_Branch_Id){
this.msg.RB_BranchName = x.SName;
}
})
}).catch(() => { }).catch(() => {
}) })
......
...@@ -713,7 +713,9 @@ ...@@ -713,7 +713,9 @@
SourceID: 0, SourceID: 0,
TCIDAndTCNUMList: [], TCIDAndTCNUMList: [],
CallType: 0, CallType: 0,
Type: 0 Type: 0,
RB_BranchName:'',
RB_DepartName:'',
}, },
AccountNumber: '', AccountNumber: '',
queryAccMsg: { queryAccMsg: {
...@@ -1328,7 +1330,7 @@ ...@@ -1328,7 +1330,7 @@
}); });
}).catch(() => { }).catch(() => {
this.$router.push({ this.$router.push({
path: '/financial/financalDocument/ChoiceAddFinancialDocuments', path: '/financial/financalDocument/FinancialDocuments',
query: { query: {
'Type': this.$route.query.Type, 'Type': this.$route.query.Type,
'InPay': this.$route.query.InPay 'InPay': this.$route.query.InPay
...@@ -1719,7 +1721,7 @@ ...@@ -1719,7 +1721,7 @@
} else { } else {
this.msg.RB_Depart_Id = this.msg.RB_Depart_Id ? this.msg.RB_Depart_Id : this.getLocalStorage().DeptId; this.msg.RB_Depart_Id = this.msg.RB_Depart_Id ? this.msg.RB_Depart_Id : this.getLocalStorage().DeptId;
this.msg.RB_DepartName =this.msg.RB_DepartName?this.msg.RB_DepartName: this.getLocalStorage().RB_DepartName; this.msg.RB_DepartName =this.msg.RB_DepartName?this.msg.RB_DepartName: this.getLocalStorage().DeptName;
} }
} }
...@@ -1781,6 +1783,11 @@ ...@@ -1781,6 +1783,11 @@
} }
}, err => {}) }, err => {})
} }
this.companyList.forEach(x=>{//给msg传校区的名字
if(x.SId==this.msg.RB_Branch_Id){
this.msg.RB_BranchName = x.SName;
}
})
}).catch(() => { }).catch(() => {
......
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