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
6b6ef52c
Commit
6b6ef52c
authored
Aug 16, 2024
by
liuyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2024-08-16 生产报工重量可编辑,物料清单总重提示修改
parent
0cb816e1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
HPSC102.jsp
src/main/webapp/HP/SC/HPSC102.jsp
+2
-2
HPSC105B.js
src/main/webapp/HP/SC/HPSC105B.js
+2
-2
HPSC105B.jsp
src/main/webapp/HP/SC/HPSC105B.jsp
+1
-1
No files found.
src/main/webapp/HP/SC/HPSC102.jsp
View file @
6b6ef52c
...
...
@@ -80,10 +80,10 @@
data-errorprompt="请输入数字,该值最大可设置12位整数和3位小数!"/>
<EF:EFColumn ename="totalWt" cname="总重(T)" enable="true" width="100" align="right" format="{0:N3}" sumType="all"
data-regex="/^-?[0-9]{1,12}([.][0-9])?$/"
data-errorprompt="请输入数字,该值最大可设置12位整数和
1
位小数!"/>
data-errorprompt="请输入数字,该值最大可设置12位整数和
3
位小数!"/>
<EF:EFColumn ename="unitWt" format="{0:N1}" cname="单重(KG)" maxLength="15" displayType="0.0"
data-regex="/^-?[0-9]{1,12}([.][0-9])?$/" defaultValue="0.000" hidden="true"
data-errorprompt="请输入数字,该值最大可设置12位整数和
1
位小数!"/>
data-errorprompt="请输入数字,该值最大可设置12位整数和
3
位小数!"/>
<EF:EFComboColumn enable="false" ename="status" align="center"
columnTemplate="#=textField#" optionLabel=" "
itemTemplate="#=textField#" textField="textField"
...
...
src/main/webapp/HP/SC/HPSC105B.js
View file @
6b6ef52c
...
...
@@ -7,8 +7,8 @@ $(function () {
}
var
taskWeight
=
$
(
"#result-0-taskWeight_textField"
).
val
();
if
(
isPositiveNumber
(
taskWeight
))
{
$
(
"#result-0-totalWeight_textField"
).
val
((
parse
In
t
(
taskWeight
*
(
quantity
/
100
))).
toFixed
(
2
));
$
(
"#result-0-totalWeight"
).
val
((
parse
In
t
(
taskWeight
*
(
quantity
/
100
))).
toFixed
(
2
))
$
(
"#result-0-totalWeight_textField"
).
val
((
parse
Floa
t
(
taskWeight
*
(
quantity
/
100
))).
toFixed
(
2
));
$
(
"#result-0-totalWeight"
).
val
((
parse
Floa
t
(
taskWeight
*
(
quantity
/
100
))).
toFixed
(
2
))
}
})
...
...
src/main/webapp/HP/SC/HPSC105B.jsp
View file @
6b6ef52c
...
...
@@ -40,7 +40,7 @@
</div>
<div class="row">
<EF:EFInput ename="result-0-quantity" cname="报工数量" format="{0:0}%" editType="text" colWidth="6" required="true" />
<EF:EFInput ename="result-0-totalWeight" cname="报工重量" format="{0:n2}" editType="text" colWidth="6" readonly="
tru
e"/>
<EF:EFInput ename="result-0-totalWeight" cname="报工重量" format="{0:n2}" editType="text" colWidth="6" readonly="
fals
e"/>
</div>
</EF:EFRegion>
...
...
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