Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
T
traffic-front
Project
Project
Details
Activity
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
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangxiaoming
traffic-front
Commits
d2e9d3e7
Commit
d2e9d3e7
authored
Nov 13, 2018
by
sherlock
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
导出bug
parent
2431427f
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
+4
-4
InputInvoiceImportController.java
...taxtech/atms/controller/InputInvoiceImportController.java
+1
-1
OutputInvoiceController.java
.../pwc/taxtech/atms/controller/OutputInvoiceController.java
+1
-1
vat-preview-input-invoice.ctrl.js
...t-preview-input-invoice/vat-preview-input-invoice.ctrl.js
+1
-1
vat-preview-output-invoice.ctrl.js
...preview-output-invoice/vat-preview-output-invoice.ctrl.js
+1
-1
No files found.
atms-api/src/main/java/pwc/taxtech/atms/controller/InputInvoiceImportController.java
View file @
d2e9d3e7
...
...
@@ -54,7 +54,7 @@ public class InputInvoiceImportController {
try
{
response
.
addHeader
(
"Content-Disposition"
,
"attachment;filename="
+
UUID
.
randomUUID
()
+
".xls"
);
response
.
addHeader
(
"x-file-name"
,
fileName
+
".xls
x
"
);
response
.
addHeader
(
"x-file-name"
,
fileName
+
".xls"
);
os
=
response
.
getOutputStream
();
int
count
=
getDownloadFilePath
(
paras
,
os
,
projectId
);
...
...
atms-api/src/main/java/pwc/taxtech/atms/controller/OutputInvoiceController.java
View file @
d2e9d3e7
...
...
@@ -60,7 +60,7 @@ public class OutputInvoiceController {
try
{
response
.
addHeader
(
"Content-Disposition"
,
"attachment;filename="
+
UUID
.
randomUUID
()
+
".xls"
);
response
.
addHeader
(
"x-file-name"
,
fileName
+
".xls
x
"
);
response
.
addHeader
(
"x-file-name"
,
fileName
+
".xls"
);
os
=
response
.
getOutputStream
();
int
count
=
getDownloadFilePath
(
paras
,
projectId
,
os
);
...
...
atms-web/src/main/webapp/app/vat/preview/vat-preview-input-invoice/vat-preview-input-invoice.ctrl.js
View file @
d2e9d3e7
...
...
@@ -529,7 +529,7 @@
SweetAlert
.
warning
(
"没有数据可以下载"
);
return
;
}
vatExportService
.
exportToExcel
(
data
,
status
,
headers
,
'进项发票信息.xls
x
'
);
vatExportService
.
exportToExcel
(
data
,
status
,
headers
,
'进项发票信息.xls'
);
});
};
...
...
atms-web/src/main/webapp/app/vat/preview/vat-preview-output-invoice/vat-preview-output-invoice.ctrl.js
View file @
d2e9d3e7
...
...
@@ -465,7 +465,7 @@
SweetAlert
.
warning
(
"没有数据可以下载"
);
return
;
}
vatExportService
.
exportToExcel
(
data
,
status
,
headers
,
'销项发票信息.xls
x
'
);
vatExportService
.
exportToExcel
(
data
,
status
,
headers
,
'销项发票信息.xls'
);
}).
error
(
function
()
{
SweetAlert
.
error
(
$translate
.
instant
(
'PleaseContactAdministrator'
));
});
...
...
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