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
24a25c0a
Commit
24a25c0a
authored
Dec 07, 2018
by
sherlock
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
key in chinese bugs
parent
8549a9a3
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
13 additions
and
10 deletions
+13
-10
ReportServiceImpl.java
.../pwc/taxtech/atms/vat/service/impl/ReportServiceImpl.java
+1
-1
tax-report-cell-detail-modal.ctrl.js
...rt-cell-detail-modal/tax-report-cell-detail-modal.ctrl.js
+6
-5
vat-report-sheet.js
.../app/common/controls/vat-report-sheet/vat-report-sheet.js
+0
-4
vat-report-view.ctrl.js
...p/common/controls/vat-report-view/vat-report-view.ctrl.js
+6
-0
No files found.
atms-api/src/main/java/pwc/taxtech/atms/vat/service/impl/ReportServiceImpl.java
View file @
24a25c0a
...
@@ -884,7 +884,7 @@ public class ReportServiceImpl {
...
@@ -884,7 +884,7 @@ public class ReportServiceImpl {
cellData
.
setCellTemplateId
(
Long
.
parseLong
(
data
.
getCellTemplateId
()));
cellData
.
setCellTemplateId
(
Long
.
parseLong
(
data
.
getCellTemplateId
()));
cellData
.
setData
(
data
.
getAmount
()
==
null
?
null
:
data
.
getAmount
().
toString
());
cellData
.
setData
(
data
.
getAmount
()
==
null
?
null
:
data
.
getAmount
().
toString
());
cellData
.
setKeyinData
(
data
.
getKeyinData
());
cellData
.
setKeyinData
(
data
.
getKeyinData
());
cellData
.
setFormulaExp
(
data
.
getAmount
()
==
null
?
"
"
:
data
.
getAmount
().
toString
());
cellData
.
setFormulaExp
(
data
.
getAmount
()
==
null
?
"
0.0
"
:
data
.
getAmount
().
toString
());
cellData
.
setCreateBy
(
"admin"
);
cellData
.
setCreateBy
(
"admin"
);
cellData
.
setCreateTime
(
new
Date
());
cellData
.
setCreateTime
(
new
Date
());
cellData
.
setUpdateBy
(
"admin"
);
cellData
.
setUpdateBy
(
"admin"
);
...
...
atms-web/src/main/webapp/app/common/controls/tax-report-cell-detail-modal/tax-report-cell-detail-modal.ctrl.js
View file @
24a25c0a
...
@@ -176,10 +176,10 @@
...
@@ -176,10 +176,10 @@
function
doConfirmEventHandler
()
{
function
doConfirmEventHandler
()
{
var
r
=
/^00
\d
*|^
\.\d
+|
\.
$/
;
var
r
=
/^00
\d
*|^
\.\d
+|
\.
$/
;
if
(
$scope
.
detail
.
inputValue
&&
parseFloat
(
$scope
.
detail
.
inputValue
).
toFixed
(
2
)
>
9999999999999
)
{
//
if ($scope.detail.inputValue && parseFloat($scope.detail.inputValue).toFixed(2) > 9999999999999) {
SweetAlert
.
warning
(
$translate
.
instant
(
'CheckInputValueLength'
));
//
SweetAlert.warning($translate.instant('CheckInputValueLength'));
return
;
//
return;
}
//
}
if
(
$scope
.
detail
.
dataType
===
5
)
{
if
(
$scope
.
detail
.
dataType
===
5
)
{
r
=
/^
(
-
[
1-9
]\d
*|
[
1-9
]\d
*|
[
0
]{1,1})
$/
;
r
=
/^
(
-
[
1-9
]\d
*|
[
1-9
]\d
*|
[
0
]{1,1})
$/
;
if
(
!
r
.
test
(
$scope
.
detail
.
inputValue
))
{
if
(
!
r
.
test
(
$scope
.
detail
.
inputValue
))
{
...
@@ -200,7 +200,8 @@
...
@@ -200,7 +200,8 @@
if
(
$scope
.
detail
.
inputValue
&&
(
isNaN
(
$scope
.
detail
.
inputValue
)
||
r
.
test
(
$scope
.
detail
.
inputValue
)))
{
if
(
$scope
.
detail
.
inputValue
&&
((
isNaN
(
$scope
.
detail
.
inputValue
)
||
r
.
test
(
$scope
.
detail
.
inputValue
))
||
parseFloat
(
$scope
.
detail
.
inputValue
).
toFixed
(
2
)
>
9999999999999
)){
// $scope.detail.inputValue;
// $scope.detail.inputValue;
$scope
.
detail
.
keyinData
=
$scope
.
detail
.
inputValue
;
$scope
.
detail
.
keyinData
=
$scope
.
detail
.
inputValue
;
}
else
{
}
else
{
...
...
atms-web/src/main/webapp/app/common/controls/vat-report-sheet/vat-report-sheet.js
View file @
24a25c0a
...
@@ -602,10 +602,6 @@
...
@@ -602,10 +602,6 @@
newVal
=
newVal
.
toFixed
(
4
);
newVal
=
newVal
.
toFixed
(
4
);
}
}
if
(
x
.
keyinData
){
}
var
oldVal
=
x
.
value
;
var
oldVal
=
x
.
value
;
oldVal
=
PWC
.
tryParseStringToNum
(
oldVal
);
oldVal
=
PWC
.
tryParseStringToNum
(
oldVal
);
if
(
_
.
isBoolean
(
oldVal
))
{
if
(
_
.
isBoolean
(
oldVal
))
{
...
...
atms-web/src/main/webapp/app/common/controls/vat-report-view/vat-report-view.ctrl.js
View file @
24a25c0a
...
@@ -1168,6 +1168,10 @@
...
@@ -1168,6 +1168,10 @@
for
(
var
i
=
0
;
i
<
$scope
.
reportData
.
length
;
i
++
)
{
for
(
var
i
=
0
;
i
<
$scope
.
reportData
.
length
;
i
++
)
{
var
reportD
=
$scope
.
reportData
[
i
];
var
reportD
=
$scope
.
reportData
[
i
];
if
(
manualData
.
keyinData
&&
reportD
.
rowIndex
===
cellData
.
rowIndex
&&
reportD
.
columnIndex
===
cellData
.
columnIndex
){
reportD
.
keyinData
=
manualData
.
keyinData
;
}
for
(
var
j
=
0
;
j
<
reportD
.
dataSourceList
.
length
;
j
++
)
{
for
(
var
j
=
0
;
j
<
reportD
.
dataSourceList
.
length
;
j
++
)
{
if
(
reportD
.
dataSourceList
[
j
].
rowIndex
===
cellData
.
rowIndex
if
(
reportD
.
dataSourceList
[
j
].
rowIndex
===
cellData
.
rowIndex
&&
reportD
.
dataSourceList
[
j
].
columnIndex
===
cellData
.
columnIndex
)
{
&&
reportD
.
dataSourceList
[
j
].
columnIndex
===
cellData
.
columnIndex
)
{
...
@@ -1501,6 +1505,8 @@
...
@@ -1501,6 +1505,8 @@
//单元格详细信息点击确定时执行
//单元格详细信息点击确定时执行
$scope
.
confirm
=
function
()
{
$scope
.
confirm
=
function
()
{
if
(
vatSessionService
.
month
)
vatSessionService
.
project
.
period
=
vatSessionService
.
month
;
vatApproveService
.
approvalStatus
(
vatSessionService
.
project
.
id
,
vatSessionService
.
project
.
period
).
success
(
function
(
result
){
vatApproveService
.
approvalStatus
(
vatSessionService
.
project
.
id
,
vatSessionService
.
project
.
period
).
success
(
function
(
result
){
if
(
result
&&
result
==
'committed'
){
if
(
result
&&
result
==
'committed'
){
SweetAlert
.
error
(
'报表提审中!'
);
SweetAlert
.
error
(
'报表提审中!'
);
...
...
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