Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
hp-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
hp-smart
Commits
3b0d348e
Commit
3b0d348e
authored
Mar 05, 2024
by
wancheng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
库存盘点单前端优化
parent
c6307d6c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
1 deletions
+6
-1
HPKC005A.js
src/main/webapp/HP/KC/HPKC005A.js
+6
-1
No files found.
src/main/webapp/HP/KC/HPKC005A.js
View file @
3b0d348e
...
...
@@ -66,8 +66,13 @@ let select = function () {
}
for
(
let
i
=
0
;
i
<
rows
.
length
;
i
++
)
{
let
entityAmount
=
rows
[
i
][
'entityAmount'
];
let
amount
=
rows
[
i
][
'amount'
];
if
(
!
isPositiveInteger
(
entityAmount
))
{
message
(
"勾选的第"
+
(
i
+
1
)
+
"行数量必须是大于0的整数"
);
message
(
"勾选的第"
+
(
i
+
1
)
+
"行实物数量必须是大于0的整数"
);
return
;
}
if
(
parseFloat
(
entityAmount
)
>
parseFloat
(
amount
))
{
message
(
"第"
+
(
i
+
1
)
+
"行实物数量不能大于库存数量"
);
return
;
}
}
...
...
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