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
b0416734
Commit
b0416734
authored
Oct 11, 2024
by
liuyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2024-10-11 产品调查数量修改小数位
parent
7e0891ad
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
HGYX013.java
src/main/java/com/baosight/hggp/hg/yx/domain/HGYX013.java
+1
-1
HGYX011.jsp
src/main/webapp/HG/YX/HGYX011.jsp
+6
-6
No files found.
src/main/java/com/baosight/hggp/hg/yx/domain/HGYX013.java
View file @
b0416734
...
@@ -145,7 +145,7 @@ public class HGYX013 extends DaoEPBase {
...
@@ -145,7 +145,7 @@ public class HGYX013 extends DaoEPBase {
eiColumn
=
new
EiColumn
(
FIELD_QUANTITY
);
eiColumn
=
new
EiColumn
(
FIELD_QUANTITY
);
eiColumn
.
setType
(
"N"
);
eiColumn
.
setType
(
"N"
);
eiColumn
.
setScaleLength
(
0
);
eiColumn
.
setScaleLength
(
4
);
eiColumn
.
setFieldLength
(
20
);
eiColumn
.
setFieldLength
(
20
);
eiColumn
.
setDescName
(
"产品数量"
);
eiColumn
.
setDescName
(
"产品数量"
);
eiMetadata
.
addMeta
(
eiColumn
);
eiMetadata
.
addMeta
(
eiColumn
);
...
...
src/main/webapp/HG/YX/HGYX011.jsp
View file @
b0416734
...
@@ -105,12 +105,12 @@
...
@@ -105,12 +105,12 @@
dateFormat="yyyy-MM-dd" parseFormats="['yyyyMMdd']" required="true"/>
dateFormat="yyyy-MM-dd" parseFormats="['yyyyMMdd']" required="true"/>
<EF:EFColumn ename="district" cname="区域" width="120" enable="true" readonly="false" align="center" required="true"/>
<EF:EFColumn ename="district" cname="区域" width="120" enable="true" readonly="false" align="center" required="true"/>
<EF:EFColumn ename="productName" cname="产品名称" width="120" enable="true" readonly="false" align="center" required="false"/>
<EF:EFColumn ename="productName" cname="产品名称" width="120" enable="true" readonly="false" align="center" required="false"/>
<EF:EFColumn ename="quantity" cname="产品数量" maxLength="1
5" displayType="0.00" format="{0:N0
}"
<EF:EFColumn ename="quantity" cname="产品数量" maxLength="1
6" displayType="0.0000" format="{0:N4
}"
data-regex="/^-?[0-9]{1,1
2}
$/" align="right"
data-regex="/^-?[0-9]{1,1
6}([.][0-9]{1,4})?
$/" align="right"
data-errorprompt="请输入数字,该值最大可设置1
2位整
数!" sumType="all"/>
data-errorprompt="请输入数字,该值最大可设置1
6位整数和4位小
数!" sumType="all"/>
<EF:EFColumn ename="price" cname="价格" maxLength="1
5" displayType="0.
00" format="{0:C2}"
<EF:EFColumn ename="price" cname="价格" maxLength="1
6" displayType="0.00
00" format="{0:C2}"
data-regex="/^-?[0-9]{1,1
2}([.][0-9]{1,3
})?$/" align="right"
data-regex="/^-?[0-9]{1,1
6}([.][0-9]{1,2
})?$/" align="right"
data-errorprompt="请输入数字,该值最大可设置1
2位整数和3
位小数!" sumType="all"/>
data-errorprompt="请输入数字,该值最大可设置1
6位整数和2
位小数!" sumType="all"/>
<EF:EFColumn ename="quality" cname="质量" width="120" enable="true" readonly="false" align="center" required="false"/>
<EF:EFColumn ename="quality" cname="质量" width="120" enable="true" readonly="false" align="center" required="false"/>
<EF:EFComboColumn ename="surveyUser" cname="调查人员" columnTemplate="#=textField#" itemTemplate="#=textField#"
<EF:EFComboColumn ename="surveyUser" cname="调查人员" columnTemplate="#=textField#" itemTemplate="#=textField#"
textField="textField" valueField="valueField" defaultValue="${loginName}"
textField="textField" valueField="valueField" defaultValue="${loginName}"
...
...
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