Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
hg-smart
Overview
Overview
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
platform
hg-smart
Commits
9af79609
Commit
9af79609
authored
Nov 07, 2024
by
江和松
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
采购收票选择结算单金额校验修改为与含税金额比对
parent
e16de89e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
HGCW012A.js
src/main/webapp/HG/CW/HGCW012A.js
+3
-3
No files found.
src/main/webapp/HG/CW/HGCW012A.js
View file @
9af79609
...
@@ -116,15 +116,15 @@ function btnSaveFunc(btnNode, gridNode) {
...
@@ -116,15 +116,15 @@ function btnSaveFunc(btnNode, gridNode) {
}
}
let
thisSettlementAmount
=
item
[
'thisSettlementAmount'
];
let
thisSettlementAmount
=
item
[
'thisSettlementAmount'
];
let
amount
=
item
[
'a
mount'
];
let
taxIncludeAmount
=
item
[
'taxIncludeA
mount'
];
let
invoiceRemainingAmount
=
item
[
'invoiceRemainingAmount'
];
let
invoiceRemainingAmount
=
item
[
'invoiceRemainingAmount'
];
if
(
!
isNumber
(
thisSettlementAmount
)
&&
!
isPositiveNumber
(
thisSettlementAmount
))
{
if
(
!
isNumber
(
thisSettlementAmount
)
&&
!
isPositiveNumber
(
thisSettlementAmount
))
{
message
(
"勾选的第"
+
(
index
+
1
)
+
"行发票总额必须是大于0的数字"
);
message
(
"勾选的第"
+
(
index
+
1
)
+
"行发票总额必须是大于0的数字"
);
flag
=
false
;
flag
=
false
;
return
false
;
return
false
;
}
}
if
(
parseFloat
(
thisSettlementAmount
)
>
parseFloat
(
a
mount
))
{
if
(
parseFloat
(
thisSettlementAmount
)
>
parseFloat
(
taxIncludeA
mount
))
{
message
(
"第"
+
(
index
+
1
)
+
"行发票总额不能大于
收货
金额"
);
message
(
"第"
+
(
index
+
1
)
+
"行发票总额不能大于
含税
金额"
);
flag
=
false
;
flag
=
false
;
return
false
;
return
false
;
}
}
...
...
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