Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
confucius
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
罗超
confucius
Commits
cb96c452
Commit
cb96c452
authored
Nov 18, 2020
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
58bb17d3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
22 additions
and
24 deletions
+22
-24
accountingWork.vue
src/pages/financial/accountingWork.vue
+1
-1
ChoiceAddFinancialDocuments.vue
...inancial/financalDocument/ChoiceAddFinancialDocuments.vue
+16
-23
routes.js
src/router/routes.js
+5
-0
No files found.
src/pages/financial/accountingWork.vue
View file @
cb96c452
...
...
@@ -278,7 +278,7 @@
SingleList
:
[],
schoolMsg
:
{
pageIndex
:
1
,
pageSize
:
12
,
pageSize
:
999
,
rowsPerPage
:
12
,
SName
:
""
,
Status
:
'-1'
...
...
src/pages/financial/financalDocument/ChoiceAddFinancialDocuments.vue
View file @
cb96c452
...
...
@@ -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
.
Employee
Id
;
this
.
DepartID
=
userInfo
.
Dept
Id
;
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
;
...
...
src/router/routes.js
View file @
cb96c452
...
...
@@ -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
:
()
=>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment