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
4f57beb2
Commit
4f57beb2
authored
Aug 31, 2024
by
liuyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2024-08-31 材料计划详情 规格非必填
parent
020a6314
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
10 deletions
+10
-10
HGSC009A.js
src/main/webapp/HG/SC/HGSC009A.js
+2
-2
HGSC009A.jsp
src/main/webapp/HG/SC/HGSC009A.jsp
+8
-8
No files found.
src/main/webapp/HG/SC/HGSC009A.js
View file @
4f57beb2
...
...
@@ -199,11 +199,11 @@ let save = function () {
flag
=
false
;
return
false
;
}
if
(
isBlank
(
spec
)){
/*
if(isBlank(spec)){
message("选中的第"+(index+1)+"行\"规格\",不能为空!");
flag = false;
return false;
}
}
*/
if
((
isBlank
(
quantity
)
||
parseInt
(
quantity
)
<=
0
)
&&
(
isBlank
(
grossAmount
)
||
parseInt
(
grossAmount
)
<=
0
)){
message
(
"选中的第"
+
(
index
+
1
)
+
"行
\"
数量、重量
\"
,必须有一项大于0!"
);
flag
=
false
;
...
...
src/main/webapp/HG/SC/HGSC009A.jsp
View file @
4f57beb2
...
...
@@ -42,7 +42,7 @@
<
%
--
columnTemplate=
"#=valueField#"
itemTemplate=
"#=valueField#"
readonly=
"false"
--
%
>
<
%
--
filter=
"contains"
>
--%>
<
%
--
</
EF:EFComboColumn
>
--%>
<EF:EFColumn
ename=
"inventCode"
required=
"true"
cname=
"产品编号"
/>
<EF:EFColumn
ename=
"inventCode"
required=
"true"
cname=
"产品编号"
width=
"160"
/>
<EF:EFColumn
ename=
"inventTypeDetail"
cname=
"存货类型大类"
hidden=
"true"
/>
<EF:EFColumn
ename=
"inventName"
cname=
"存货名称"
width=
"120"
align=
"center"
required=
"true"
/>
<EF:EFComboColumn
ename=
"inventType"
cname=
"存货类型"
width=
"120"
align=
"center"
required=
"false"
...
...
@@ -50,20 +50,20 @@
columnTemplate=
"#=textField#"
itemTemplate=
"#=textField#"
readonly=
"true"
filter=
"contains"
enable=
"false"
>
</EF:EFComboColumn>
<EF:EFColumn
ename=
"material"
cname=
"材质"
width=
"120"
align=
"center"
required=
"
tru
e"
/>
<EF:EFColumn
ename=
"spec"
cname=
"规格"
width=
"120"
align=
"center"
required=
"
tru
e"
/>
<EF:EFColumn
ename=
"length"
cname=
"长(MM)"
width=
"80"
align=
"right"
format=
"{0:N
3}"
required=
"tru
e"
/>
<EF:EFColumn
ename=
"width"
cname=
"宽(MM)"
width=
"80"
align=
"right"
format=
"{0:N
3}"
required=
"tru
e"
/>
<EF:EFColumn
ename=
"thick"
cname=
"厚(MM)"
width=
"80"
align=
"right"
format=
"{0:N
3}"
required=
"tru
e"
/>
<EF:EFColumn
ename=
"material"
cname=
"材质"
width=
"120"
align=
"center"
required=
"
fals
e"
/>
<EF:EFColumn
ename=
"spec"
cname=
"规格"
width=
"120"
align=
"center"
required=
"
fals
e"
/>
<EF:EFColumn
ename=
"length"
cname=
"长(MM)"
width=
"80"
align=
"right"
format=
"{0:N
0}"
required=
"fals
e"
/>
<EF:EFColumn
ename=
"width"
cname=
"宽(MM)"
width=
"80"
align=
"right"
format=
"{0:N
0}"
required=
"fals
e"
/>
<EF:EFColumn
ename=
"thick"
cname=
"厚(MM)"
width=
"80"
align=
"right"
format=
"{0:N
0}"
required=
"fals
e"
/>
<EF:EFColumn
ename=
"quantity"
cname=
"数量"
width=
"120"
align=
"right"
format=
"{0:N3}"
defaultValue=
"0"
defaultValue=
"0"
required=
"true"
data-regex=
"/^-?[0-9]{1,17}([.][0-9]{1,3})?$/"
data-errorprompt=
"请输入数字,该值最大可设置17位整数和3位小数!"
/>
<EF:EFColumn
ename=
"singleWeight"
cname=
"单重(KG)"
width=
"120"
align=
"right"
format=
"{0:N3}"
defaultValue=
"0"
data-regex=
"/^-?[0-9]{1,17}([.][0-9]{1,3})?$/"
data-errorprompt=
"请输入数字,该值最大可设置17位整数和3位小数!"
enable=
"false"
/>
<EF:EFColumn
ename=
"grossAmount"
cname=
"总重(KG)"
width=
"120"
align=
"right"
format=
"{0:N3}"
/>
<EF:EFColumn
ename=
"grossAmount"
cname=
"总重(KG)"
width=
"120"
align=
"right"
format=
"{0:N3}"
required=
"true"
/>
<EF:EFColumn
ename=
"remarks"
cname=
"备注"
width=
"150"
/>
<EF:EFColumn
ename=
"prdtCode"
cname=
"部件编码"
enable=
"false"
width=
"120"
align=
"center"
hidden=
"true"
/>
<EF:EFColumn
ename=
"partCode"
cname=
"零件编码"
enable=
"false"
width=
"120"
align=
"center"
hidden=
"true"
/>
...
...
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