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
899a31ec
Commit
899a31ec
authored
Nov 16, 2020
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增
parent
a713a6c2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
6132 additions
and
0 deletions
+6132
-0
BillModule.vue
src/pages/financial/components/BillModule.vue
+400
-0
GZBillModule.vue
src/pages/financial/components/GZBillModule.vue
+374
-0
MergeBillModule.vue
src/pages/financial/components/MergeBillModule.vue
+334
-0
ReceivablesModule.vue
src/pages/financial/components/ReceivablesModule.vue
+427
-0
FinancialDocuments.vue
src/pages/financial/financalDocument/FinancialDocuments.vue
+2374
-0
RecPayQuery.vue
src/pages/financial/financalDocument/RecPayQuery.vue
+1886
-0
WorkEntrustmentMy.vue
src/pages/financial/financalDocument/WorkEntrustmentMy.vue
+286
-0
default_head_img.jpg
src/pages/financial/image/default_head_img.jpg
+0
-0
routes.js
src/router/routes.js
+15
-0
erpindex.js
src/utils/erpindex.js
+36
-0
No files found.
src/pages/financial/components/BillModule.vue
0 → 100644
View file @
899a31ec
This diff is collapsed.
Click to expand it.
src/pages/financial/components/GZBillModule.vue
0 → 100644
View file @
899a31ec
This diff is collapsed.
Click to expand it.
src/pages/financial/components/MergeBillModule.vue
0 → 100644
View file @
899a31ec
This diff is collapsed.
Click to expand it.
src/pages/financial/components/ReceivablesModule.vue
0 → 100644
View file @
899a31ec
This diff is collapsed.
Click to expand it.
src/pages/financial/financalDocument/FinancialDocuments.vue
0 → 100644
View file @
899a31ec
This diff is collapsed.
Click to expand it.
src/pages/financial/financalDocument/RecPayQuery.vue
0 → 100644
View file @
899a31ec
This diff is collapsed.
Click to expand it.
src/pages/financial/financalDocument/WorkEntrustmentMy.vue
0 → 100644
View file @
899a31ec
This diff is collapsed.
Click to expand it.
src/pages/financial/image/default_head_img.jpg
0 → 100644
View file @
899a31ec
4.99 KB
src/router/routes.js
View file @
899a31ec
...
@@ -232,6 +232,21 @@ const routes = [{
...
@@ -232,6 +232,21 @@ const routes = [{
component
:
()
=>
component
:
()
=>
import
(
"pages/financial/financalDocument/addCapitalAllocation.vue"
)
import
(
"pages/financial/financalDocument/addCapitalAllocation.vue"
)
},
},
{
path
:
"/financial/financalDocument/RecPayQuery"
,
//收支查询
component
:
()
=>
import
(
"pages/financial/financalDocument/RecPayQuery.vue"
)
},
{
path
:
"/financial/financalDocument/FinancialDocuments"
,
//我的财务单据
component
:
()
=>
import
(
"pages/financial/financalDocument/FinancialDocuments.vue"
)
},
{
path
:
"/financial/financalDocument/WorkEntrustmentMy"
,
//工作委托
component
:
()
=>
import
(
"pages/financial/financalDocument/WorkEntrustmentMy.vue"
)
},
{
{
path
:
"/test"
,
//API测试
path
:
"/test"
,
//API测试
component
:
()
=>
component
:
()
=>
...
...
src/utils/erpindex.js
View file @
899a31ec
...
@@ -131,6 +131,42 @@ export default{
...
@@ -131,6 +131,42 @@ export default{
};
};
return
obj
;
return
obj
;
},
},
//下载文件
Vue
.
prototype
.
GetLocalFile
=
function
(
cmd
,
msg
,
fileName
,
successCall
)
{
var
apiurl
=
this
.
domainManager
().
LocalFileStreamDownLoadUrl
;
var
timestamp
=
(
new
Date
()).
valueOf
();
var
token
=
""
;
var
key
=
""
;
var
tokenData
=
{};
var
localStorage
=
window
.
localStorage
[
"loginUserInfo"
];
if
(
localStorage
!==
undefined
&&
localStorage
!=
'undefined'
)
{
tokenData
=
JSON
.
parse
(
localStorage
);
}
token
=
tokenData
.
data
.
ErpToken
;
var
encodeMsg
=
encodeURIComponent
(
JSON
.
stringify
(
msg
)).
toLowerCase
();
var
md5Str
=
md5
(
`cmd=
${
cmd
}
&msg=
${
encodeMsg
}
×tamp=
${
timestamp
}
&token=
${
token
}
&key=
${
key
}
`
);
var
postData
=
{
"msg"
:
msg
,
"cmd"
:
cmd
,
"timestamp"
:
timestamp
,
"token"
:
token
,
"sign"
:
md5Str
}
this
.
$http
.
post
(
apiurl
,
postData
,
{
responseType
:
'arraybuffer'
}).
then
((
res
)
=>
{
let
blob
=
new
Blob
([
res
.
data
],
{
type
:
"application/vnd.ms-excel"
})
let
url
=
URL
.
createObjectURL
(
blob
);
let
link
=
document
.
createElement
(
'a'
);
link
.
href
=
url
;
link
.
setAttribute
(
"download"
,
fileName
);
document
.
body
.
appendChild
(
link
);
link
.
click
();
successCall
(
res
);
}).
catch
(
function
(
res
)
{});
},
//HTTP提交数据
//HTTP提交数据
Vue
.
prototype
.
apipost
=
function
(
cmd
,
msg
,
successCall
,
faildCall
,
isOnline
)
{
Vue
.
prototype
.
apipost
=
function
(
cmd
,
msg
,
successCall
,
faildCall
,
isOnline
)
{
if
(
msg
==
null
||
msg
==
""
)
{
if
(
msg
==
null
||
msg
==
""
)
{
...
...
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