Commit cb96c452 authored by zhengke's avatar zhengke

1

parent 58bb17d3
......@@ -278,7 +278,7 @@
SingleList: [],
schoolMsg: {
pageIndex: 1,
pageSize: 12,
pageSize: 999,
rowsPerPage: 12,
SName: "",
Status: '-1'
......
......@@ -123,56 +123,49 @@
if(this.active==1){
// 手配费 收款单参数Handmsg
if(this.$route.query.Handmsg){
let tempStr = '/financial/financalDocument/addReceivablesDocuments' + '?Handmsg=' + this.Handmsg + '&tradeWay=' +this.tradeWay +'&platformAccount='+this.platformAccount+'&id='+id+'&Name='+Name+'&Type='+Type+"&orderObj="+this.orderObj+'&path='+this.$route.query.path+'&IsUploadPic='+IsUploadPic+'&Cmd='+this.$route.query.Cmd+'&companyID='+this.$route.query.companyID;
// this.$router.push({ name: "addReceivablesDocuments",query:{"Handmsg":this.Handmsg,"tradeWay":this.tradeWay,"platformAccount":this.platformAccount,"id":id,"Name":Name,"Type":Type,"orderObj":this.orderObj,'path':this.$route.query.path,'IsUploadPic':IsUploadPic,'Cmd':this.$route.query.Cmd,'companyID':this.$route.query.companyID,blank:'y',tab:'新增收款单'}})
this.$router.push({
path: tempStr
path: '/financial/financalDocument/addReceivablesDocuments',
query:{"Handmsg":this.Handmsg,"tradeWay":this.tradeWay,"platformAccount":this.platformAccount,"id":id,"Name":Name,"Type":Type,"orderObj":this.orderObj,'path':this.$route.query.path,'IsUploadPic':IsUploadPic,'Cmd':this.$route.query.Cmd,'companyID':this.$route.query.companyID,blank:'y',tab:'新增收款单'}
});
}
// 财务收据
else if(this.$route.query.czmsg){
let Handmsg=this.$route.query.czmsg;
let tempStr = '/financial/financalDocument/addReceivablesDocuments' + '?Handmsg=' + this.Handmsg + '&tradeWay=' +this.tradeWay +'&platformAccount='+this.platformAccount+'&id='+id+'&Name='+Name+'&Type='+Type+"&orderObj="+this.orderObj+'&path='+this.$route.query.path+'&IsUploadPic='+IsUploadPic+'&Cmd='+this.$route.query.Cmd+'&companyID='+this.$route.query.companyID;
// this.$router.push({ name: "addReceivablesDocuments",query:{"Handmsg":Handmsg,"tradeWay":this.tradeWay,"platformAccount":this.platformAccount,"id":id,"Name":Name,"Type":Type,"orderObj":this.orderObj,'path':this.$route.query.path,'IsUploadPic':IsUploadPic,'Cmd':this.$route.query.Cmd,'companyID':this.$route.query.companyID,blank:'y',tab:'新增收款单'}})
this.$router.push({
path: tempStr
path: '/financial/financalDocument/addReceivablesDocuments',
query:{"Handmsg":Handmsg,"tradeWay":this.tradeWay,"platformAccount":this.platformAccount,"id":id,"Name":Name,"Type":Type,"orderObj":this.orderObj,'path':this.$route.query.path,'IsUploadPic':IsUploadPic,'Cmd':this.$route.query.Cmd,'companyID':this.$route.query.companyID,blank:'y',tab:'新增收款单'}
});
}
else{
let tempStr = '/financial/financalDocument/addReceivablesDocuments'+ '?tradeWay=' +this.tradeWay +'&platformAccount='+this.platformAccount+'&id='+id+'&Name='+Name+'&Type='+Type+"&orderObj="+this.orderObj+'&path='+this.$route.query.path+'&IsUploadPic='+IsUploadPic+'&Cmd='+this.$route.query.Cmd+'&companyID='+this.$route.query.companyID;
this.$router.push({
path: tempStr
path: '/financial/financalDocument/addReceivablesDocuments',
query:{"tradeWay":this.tradeWay,"platformAccount":this.platformAccount,"id":id,"Name":Name,"Type":Type,"orderObj":this.orderObj,'path':this.$route.query.path,'IsUploadPic':IsUploadPic,'Cmd':this.$route.query.Cmd,'companyID':this.$route.query.companyID,blank:'y',tab:'新增收款单'}
});
// this.$router.push({ name: "addReceivablesDocuments",query:{"tradeWay":this.tradeWay,"platformAccount":this.platformAccount,"id":id,"Name":Name,"Type":Type,"orderObj":this.orderObj,'path':this.$route.query.path,'IsUploadPic':IsUploadPic,'Cmd':this.$route.query.Cmd,'companyID':this.$route.query.companyID,blank:'y',tab:'新增收款单'}})
}
}else if(this.active==2){
// 付款单参数czmsg
// 领队报账 预付款冲抵 返款制单
if(this.$route.query.czmsg){
let tempStr = '/financial/financalDocument/' + path + '?czmsg=' +this.czmsg +'&id='+id+'&Name='+Name+'&Type='+Type+"&orderObj="+this.orderObj+'&path='+this.$route.query.path+'&IsUploadPic='+IsUploadPic+'&Cmd='+this.$route.query.Cmd+'&companyID='+this.$route.query.companyID;
this.$router.push({
path: tempStr
path: '/financial/financalDocument/' + path,
query:{"czmsg":this.czmsg,"id":id,"Name":Name,"Type":Type,"orderObj":this.orderObj,'path':this.$route.query.path,'IsUploadPic':IsUploadPic,'Cmd':this.$route.query.Cmd,'companyID':this.$route.query.companyID,blank:'y',tab:'新增付款单'}
});
// this.$router.push({ name: path,query:{"czmsg":this.czmsg,"id":id,"Name":Name,"Type":Type,"orderObj":this.orderObj,'path':this.$route.query.path,'IsUploadPic':IsUploadPic,'Cmd':this.$route.query.Cmd,'companyID':this.$route.query.companyID,blank:'y',tab:'新增付款单'}})
}else{
let tempStr = '/financial/financalDocument/' + path + '?id='+id+'&Name='+Name+'&Type='+Type+"&orderObj="+this.orderObj+'&path='+this.$route.query.path+'&IsUploadPic='+IsUploadPic+'&Cmd='+this.$route.query.Cmd+'&companyID='+this.$route.query.companyID;
this.$router.push({
path: tempStr
path: '/financial/financalDocument/' + path,
query:{"id":id,"Name":Name,"Type":Type,"orderObj":this.orderObj,'path':this.$route.query.path,'IsUploadPic':IsUploadPic,'Cmd':this.$route.query.Cmd,'companyID':this.$route.query.companyID,blank:'y',tab:'新增付款单'}
});
// this.$router.push({ name: path,query:{"id":id,"Name":Name,"Type":Type,"orderObj":this.orderObj,'path':this.$route.query.path,'IsUploadPic':IsUploadPic,'Cmd':this.$route.query.Cmd,'companyID':this.$route.query.companyID,blank:'y',tab:'新增付款单'}})
}
}else if(this.active==4){
let tempStr = '/financial/financalDocument/' + path + '?id='+id+'&Name='+Name+'&Type='+2+"&orderObj="+this.orderObj+'&path='+this.$route.query.path+'&IsUploadPic='+IsUploadPic+'&Cmd='+this.$route.query.Cmd+'&companyID='+this.$route.query.companyID;
this.$router.push({
path: tempStr
path: '/financial/financalDocument/' + path,
query:{"id":id,"Name":Name,"Type":2,"orderObj":this.orderObj,'path':this.$route.query.path,'IsUploadPic':IsUploadPic,'Cmd':this.$route.query.Cmd,'companyID':this.$route.query.companyID,blank:'y',tab:'新增付款单'}
});
// this.$router.push({ name: path,query:{"id":id,"Name":Name,"Type":2,"orderObj":this.orderObj,'path':this.$route.query.path,'IsUploadPic':IsUploadPic,'Cmd':this.$route.query.Cmd,'companyID':this.$route.query.companyID,blank:'y',tab:'新增付款单'}})
}else {
let tempStr = '/financial/financalDocument/addFinancialGZDocuments' + '?id='+id+'&Name='+Name+'&Type='+Type+"&orderObj="+this.orderObj+'&path='+this.$route.query.path+'&IsUploadPic='+IsUploadPic+'&Cmd='+this.$route.query.Cmd+'&companyID='+this.$route.query.companyID;
this.$router.push({
path: tempStr
path: '/financial/financalDocument/addFinancialGZDocuments',
query:{"id":id,"Name":Name,"Type":Type,"orderObj":this.orderObj,'path':this.$route.query.path,'IsUploadPic':IsUploadPic,'Cmd':this.$route.query.Cmd,'companyID':this.$route.query.companyID,blank:'y',tab:'新增挂账单'}
});
// this.$router.push({ name: "addFinancialGZDocuments",query:{"id":id,"Name":Name,"Type":Type,"orderObj":this.orderObj,'path':this.$route.query.path,'IsUploadPic':IsUploadPic,'Cmd':this.$route.query.Cmd,'companyID':this.$route.query.companyID,blank:'y',tab:'新增挂账单'}})
}
},
getFlowChart(id){ //获取流程图
......@@ -288,8 +281,8 @@
}
,mounted(){
let userInfo = this.getLocalStorage();
this.DepartID = userInfo.RB_Department_Id;
this.EmployeeId = userInfo.EmployeeId;
this.DepartID = userInfo.DeptId;
this.EmployeeId = userInfo.Id;
this.templateID = this.$route.query.templateID ? JSON.parse(this.$route.query.templateID) : null
this.OrderSource = this.$route.query.OrderSource ? this.$route.query.OrderSource : null
this.showTab = this.$route.query.Type?this.$route.query.Type:0;
......
......@@ -271,6 +271,11 @@ const routes = [{
component: () =>
import("pages/financial/financalDocument/CapitalAllocationDetail.vue")
},
{
path: "/financial/financalDocument/addFinancialDocuments", //新增财务单据
component: () =>
import("pages/financial/financalDocument/addFinancialDocuments.vue")
},
{
path: "/test", //API测试
component: () =>
......
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