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
3ba118ce
Commit
3ba118ce
authored
Apr 29, 2024
by
wancheng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
采购计划更新
parent
8c60720f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
HPCG002A.js
src/main/webapp/HP/CG/HPCG002A.js
+5
-5
No files found.
src/main/webapp/HP/CG/HPCG002A.js
View file @
3ba118ce
...
@@ -127,15 +127,15 @@ function save() {
...
@@ -127,15 +127,15 @@ function save() {
return
;
return
;
}
}
if
(
isBlank
(
rows
[
i
][
'custCode'
]))
{
if
(
isBlank
(
rows
[
i
][
'custCode'
]))
{
message
(
"勾选的第"
+
(
i
+
1
)
+
"行
供应商
不能为空"
);
message
(
"勾选的第"
+
(
i
+
1
)
+
"行
\"
供应商
\"
不能为空"
);
return
;
return
;
}
}
if
(
!
isPositiveInteger
(
rows
[
i
][
'planAmount'
]))
{
if
(
isBlank
(
rows
[
i
][
'planAmount'
]))
{
message
(
"勾选的第"
+
(
i
ndex
+
1
)
+
"行
\"
计划数量
\"
必须是大于0的整数
"
);
message
(
"勾选的第"
+
(
i
+
1
)
+
"行
\"
计划数量
\"
不能为空
"
);
return
;
return
;
}
}
if
(
!
isPositiveNumber
(
rows
[
i
][
'planWeight'
])){
if
(
isBlank
(
rows
[
i
][
'planWeight'
])){
message
(
"选中的第"
+
(
i
ndex
+
1
)
+
"行
\"
计划重量
\"
必须是大于0的数
"
);
message
(
"选中的第"
+
(
i
+
1
)
+
"行
\"
计划重量
\"
不能为空
"
);
return
;
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