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
b62c5776
Commit
b62c5776
authored
Nov 19, 2024
by
宋祥
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1.库存盘点不校验实物数量
parent
6f7a8f05
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
HGKC005A.js
src/main/webapp/HG/KC/HGKC005A.js
+5
-5
No files found.
src/main/webapp/HG/KC/HGKC005A.js
View file @
b62c5776
...
@@ -65,11 +65,11 @@ let select = function () {
...
@@ -65,11 +65,11 @@ let select = function () {
return
;
return
;
}
}
for
(
let
i
=
0
;
i
<
rows
.
length
;
i
++
)
{
for
(
let
i
=
0
;
i
<
rows
.
length
;
i
++
)
{
let
entityAmount
=
rows
[
i
][
'entityAmount'
];
//
let entityAmount = rows[i]['entityAmount'];
if
(
!
isPositiveInteger
(
entityAmount
))
{
//
if (!isPositiveInteger(entityAmount)) {
message
(
"勾选的第"
+
(
i
+
1
)
+
"行实物数量必须是大于0的整数"
);
//
message("勾选的第" + (i + 1) + "行实物数量必须是大于0的整数");
return
;
//
return;
}
//
}
}
}
JSUtils
.
confirm
(
"确定对勾选中的["
+
rows
.
length
+
"]条数据生成盘点单吗? "
,
{
JSUtils
.
confirm
(
"确定对勾选中的["
+
rows
.
length
+
"]条数据生成盘点单吗? "
,
{
ok
:
function
()
{
ok
:
function
()
{
...
...
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