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
97d38aa0
Commit
97d38aa0
authored
Mar 07, 2019
by
chase
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix bug
parent
1f403a54
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
9 deletions
+7
-9
vatGeneratorConfig.xml
atms-dao/etc/generator-mysql/vatGeneratorConfig.xml
+1
-1
vat-report-upload-detail.ctrl.js
...s/vat-report-upload-view/vat-report-upload-detail.ctrl.js
+6
-8
No files found.
atms-dao/etc/generator-mysql/vatGeneratorConfig.xml
View file @
97d38aa0
...
...
@@ -46,7 +46,7 @@
<property name="ignoreQualifiersAtRuntime" value="true"/>
</table>-->
<table
tableName=
"
data_validate_log"
domainObjectName=
"DataValidateLog
"
>
<table
tableName=
"
report_file_upload"
domainObjectName=
"ReportFileUpload
"
>
<property
name=
"useActualColumnNames"
value=
"false"
/>
<property
name=
"ignoreQualifiersAtRuntime"
value=
"true"
/>
</table>
...
...
atms-web/src/main/webapp/app/common/controls/vat-report-upload-view/vat-report-upload-detail.ctrl.js
View file @
97d38aa0
...
...
@@ -116,11 +116,10 @@
cellTemplate
:
function
(
container
,
options
)
{
try
{
$
(
"<a href='javascript:void(0)'>上传</a>"
).
on
(
'click'
,
function
()
{
$
(
'#uploadBut'
+
options
.
rowIndex
).
click
();
$
(
'#uploadBut'
+
options
.
data
.
reportType
).
click
();
}).
appendTo
(
container
);
$
(
'<input type="file" style="display:none;" id="uploadBut'
+
options
.
rowIndex
+
'" />'
).
on
(
'change'
,
function
()
{
console
.
log
(
$
(
'#uploadBut'
+
options
.
rowIndex
)[
0
].
files
[
0
]);
uploadFile
(
$
(
'#uploadBut'
+
options
.
rowIndex
)[
0
].
files
[
0
],
options
.
data
.
reportType
);
$
(
'<input type="file" style="display:none;" id="uploadBut'
+
options
.
data
.
reportType
+
'" />'
).
on
(
'change'
,
function
()
{
uploadFile
(
$
(
'#uploadBut'
+
options
.
data
.
reportType
)[
0
].
files
[
0
],
options
.
data
.
reportType
);
}).
appendTo
(
container
);
}
catch
(
e
)
{
$log
.
error
(
e
);
...
...
@@ -212,11 +211,10 @@
cellTemplate
:
function
(
container
,
options
)
{
try
{
$
(
"<a href='javascript:void(0)'>上传</a>"
).
on
(
'click'
,
function
()
{
$
(
'#uploadBut'
+
options
.
rowIndex
).
click
();
$
(
'#uploadBut'
+
options
.
data
.
reportType
).
click
();
}).
appendTo
(
container
);
$
(
'<input type="file" style="display:none;" id="uploadBut'
+
options
.
rowIndex
+
'" />'
).
on
(
'change'
,
function
()
{
console
.
log
(
$
(
'#uploadBut'
+
options
.
rowIndex
)[
0
].
files
[
0
]);
uploadFile
(
$
(
'#uploadBut'
+
options
.
rowIndex
)[
0
].
files
[
0
],
options
.
data
.
reportType
);
$
(
'<input type="file" style="display:none;" id="uploadBut'
+
options
.
data
.
reportType
+
'" />'
).
on
(
'change'
,
function
()
{
uploadFile
(
$
(
'#uploadBut'
+
options
.
data
.
reportType
)[
0
].
files
[
0
],
options
.
data
.
reportType
);
}).
appendTo
(
container
);
}
catch
(
e
)
{
$log
.
error
(
e
);
...
...
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