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
0b63faa8
Commit
0b63faa8
authored
Apr 01, 2024
by
wancheng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
显示优化
parent
fcb37449
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
9 deletions
+7
-9
HPSC002.js
src/main/webapp/HP/SC/HPSC002.js
+2
-2
HPSC002.jsp
src/main/webapp/HP/SC/HPSC002.jsp
+4
-6
HPSC003.jsp
src/main/webapp/HP/SC/HPSC003.jsp
+1
-1
No files found.
src/main/webapp/HP/SC/HPSC002.js
View file @
0b63faa8
...
@@ -792,8 +792,8 @@ function saveFunc() {
...
@@ -792,8 +792,8 @@ function saveFunc() {
flag
=
false
;
flag
=
false
;
return
;
return
;
}
}
if
(
isBlank
(
unitWt
)){
if
(
!
isPositiveNumber
(
unitWt
)){
message
(
"选中的第"
+
(
index
+
1
)
+
"行
\"
单重
\"
,不能为空!
"
);
message
(
"选中的第"
+
(
index
+
1
)
+
"行
\"
单重
\"
必须是大于0的数
"
);
flag
=
false
;
flag
=
false
;
return
false
;
return
false
;
}
}
...
...
src/main/webapp/HP/SC/HPSC002.jsp
View file @
0b63faa8
...
@@ -69,13 +69,11 @@
...
@@ -69,13 +69,11 @@
<EF:EFColumn
enable=
"false"
ename=
"parentPrdtName"
hidden=
"true"
cname=
"上级部件名称"
/>
<EF:EFColumn
enable=
"false"
ename=
"parentPrdtName"
hidden=
"true"
cname=
"上级部件名称"
/>
<EF:EFColumn
ename=
"num"
cname=
"数量"
maxLength=
"15"
displayType=
"0.000"
format=
"{0:N0}"
<EF:EFColumn
ename=
"num"
cname=
"数量"
maxLength=
"15"
displayType=
"0.000"
format=
"{0:N0}"
data-regex=
"/^-?[0-9]{1,12}([.][0-9]{1,3})?$/"
data-regex=
"/^-?[0-9]{1,12}([.][0-9]{1,3})?$/"
data-errorprompt=
"请输入数字,该值最大可设置12位整数和3位小数!"
data-errorprompt=
"请输入数字,该值最大可设置12位整数和3位小数!"
/>
required=
"true"
/>
<EF:EFColumn
ename=
"unitWt"
format=
"{0:N3}"
cname=
"单重(KG)"
maxLength=
"15"
displayType=
"0.000"
<EF:EFColumn
ename=
"unitWt"
format=
"{0:N3}"
cname=
"单重(T)"
maxLength=
"15"
displayType=
"0.000"
data-regex=
"/^-?[0-9]{1,12}([.][0-9]{1,3})?$/"
data-regex=
"/^-?[0-9]{1,12}([.][0-9]{1,3})?$/"
data-errorprompt=
"请输入数字,该值最大可设置12位整数和3位小数!"
data-errorprompt=
"请输入数字,该值最大可设置12位整数和3位小数!"
/>
required=
"true"
/>
<EF:EFColumn
ename=
"totalWt"
cname=
"总重(KG)"
enable=
"false"
width=
"100"
align=
"right"
format=
"{0:N3}"
/>
<EF:EFColumn
ename=
"totalWt"
cname=
"总重(T)"
enable=
"false"
width=
"100"
align=
"right"
format=
"{0:N3}"
/>
<EF:EFComboColumn
enable=
"false"
ename=
"status"
align=
"center"
<EF:EFComboColumn
enable=
"false"
ename=
"status"
align=
"center"
columnTemplate=
"#=textField#"
optionLabel=
" "
columnTemplate=
"#=textField#"
optionLabel=
" "
itemTemplate=
"#=textField#"
textField=
"textField"
itemTemplate=
"#=textField#"
textField=
"textField"
...
...
src/main/webapp/HP/SC/HPSC003.jsp
View file @
0b63faa8
...
@@ -71,7 +71,7 @@
...
@@ -71,7 +71,7 @@
<EF:EFColumn
ename=
"totalWt"
cname=
"总重(T)"
width=
"80"
align=
"right"
enable=
"false"
/>
<EF:EFColumn
ename=
"totalWt"
cname=
"总重(T)"
width=
"80"
align=
"right"
enable=
"false"
/>
<
%
--
<
EF:EFColumn
ename=
"planCommentDate"
required=
'true'
cname=
"计划开始时间"
width=
"100"
editType=
"date"
<
%
--
<
EF:EFColumn
ename=
"planCommentDate"
required=
'true'
cname=
"计划开始时间"
width=
"100"
editType=
"date"
dateFormat=
"yyyy-MM-dd"
parseFormats=
"['yyyyMMdd']"
/>
--%>
dateFormat=
"yyyy-MM-dd"
parseFormats=
"['yyyyMMdd']"
/>
--%>
<EF:EFColumn
ename=
"planCompletionDate"
required=
'true'
cname=
"计划
结束时间
"
width=
"100"
editType=
"date"
<EF:EFColumn
ename=
"planCompletionDate"
required=
'true'
cname=
"计划
完成日期
"
width=
"100"
editType=
"date"
dateFormat=
"yyyy-MM-dd"
parseFormats=
"['yyyyMMdd']"
/>
dateFormat=
"yyyy-MM-dd"
parseFormats=
"['yyyyMMdd']"
/>
<EF:EFColumn
ename=
"actualCompletionDate"
cname=
"完成时间"
editType=
"date"
dateFormat=
"yyyy/MM/dd"
width=
"100"
<EF:EFColumn
ename=
"actualCompletionDate"
cname=
"完成时间"
editType=
"date"
dateFormat=
"yyyy/MM/dd"
width=
"100"
enable=
"false"
/>
enable=
"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