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
9dd3a92c
Commit
9dd3a92c
authored
Mar 04, 2024
by
wancheng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
前端校验优化
parent
96deb3b4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 additions
and
7 deletions
+1
-7
HPSC002.js
src/main/webapp/HP/SC/HPSC002.js
+0
-5
HPSC005A.js
src/main/webapp/HP/SC/HPSC005A.js
+1
-2
No files found.
src/main/webapp/HP/SC/HPSC002.js
View file @
9dd3a92c
...
...
@@ -594,11 +594,6 @@ function saveFunc() {
flag
=
false
;
return
false
;
}
if
(
isBlank
(
num
)){
message
(
"选中的第"
+
(
index
+
1
)
+
"行
\"
数量
\"
,不能为空!"
);
flag
=
false
;
return
false
;
}
if
(
!
isPositiveInteger
(
num
))
{
message
(
"勾选的第"
+
(
index
+
1
)
+
"行
\"
数量
\"
必须是大于0的整数"
);
flag
=
false
;
...
...
src/main/webapp/HP/SC/HPSC005A.js
View file @
9dd3a92c
...
...
@@ -45,8 +45,7 @@ $(function () {
deleteFunc
();
},
onSuccess
:
function
(
e
)
{
if
(
e
.
eiInfo
.
extAttr
.
methodName
==
'update'
||
e
.
eiInfo
.
extAttr
.
methodName
==
'insert'
if
(
e
.
eiInfo
.
extAttr
.
methodName
==
'save'
||
e
.
eiInfo
.
extAttr
.
methodName
==
'delete'
){
query
();
}
...
...
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