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
d1cf7081
Commit
d1cf7081
authored
Mar 07, 2024
by
wancheng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
前端页面规格显示优化
parent
ba062c73
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
16 additions
and
3 deletions
+16
-3
HPSC002.js
src/main/webapp/HP/SC/HPSC002.js
+13
-0
HPSC003.jsp
src/main/webapp/HP/SC/HPSC003.jsp
+1
-1
HPSC005.jsp
src/main/webapp/HP/SC/HPSC005.jsp
+1
-1
HPSC005B.jsp
src/main/webapp/HP/SC/HPSC005B.jsp
+1
-1
No files found.
src/main/webapp/HP/SC/HPSC002.js
View file @
d1cf7081
...
...
@@ -563,6 +563,7 @@ function deleteFunc() {
JSUtils
.
confirm
(
"确定对勾选中的["
+
rows
.
length
+
"]条数据做
\"
删除
\"
操作? "
,
{
ok
:
function
()
{
JSUtils
.
submitGridsData
(
"result"
,
"HPSC002"
,
"delete"
,
true
);
updateTree
();
}
});
}
...
...
@@ -611,10 +612,22 @@ function saveFunc() {
JSUtils
.
confirm
(
"确定对勾选中的["
+
rows
.
length
+
"]条数据做
\"
保存
\"
操作? "
,
{
ok
:
function
()
{
JSUtils
.
submitGridsData
(
"result"
,
"HPSC002"
,
"save"
,
true
);
updateTree
();
}
});
}
}
//更新树
function
updateTree
()
{
var
tree
=
$
(
"#materialTree"
).
data
(
"kendoTreeView"
);
var
inInfo
=
new
EiInfo
();
EiCommunicator
.
send
(
"HPSC002"
,
"queryTreeNode"
,
inInfo
,
{
//传入参数
onSuccess
:
function
(
inInfo
)
{
tree
.
reload
(
"root"
);
//更新树
}
});
}
src/main/webapp/HP/SC/HPSC003.jsp
View file @
d1cf7081
...
...
@@ -60,7 +60,7 @@
</EF:EFComboColumn>
<EF:EFColumn
enable=
"false"
ename=
"prdtCode"
cname=
"零件编码"
hidden =
"true"
/>
<EF:EFColumn
enable=
"false"
ename=
"prdtName"
readonly=
"true"
cname=
"零件名称"
/>
<EF:EFColumn
enable=
"false"
ename=
"spec"
cname=
"规格
(MM)
"
align=
"center"
readonly=
"true"
/>
<EF:EFColumn
enable=
"false"
ename=
"spec"
cname=
"规格"
align=
"center"
readonly=
"true"
/>
<EF:EFColumn
enable=
"false"
ename=
"remark"
cname=
"备注"
readonly=
"true"
/>
<EF:EFColumn
enable=
"false"
ename=
"num"
readonly=
"true"
width=
"80"
align=
"right"
cname=
"数量"
format=
"{0:N0}"
/>
<EF:EFColumn
enable=
"false"
ename=
"unitWt"
readonly=
"true"
width=
"80"
align=
"right"
cname=
"单重(T)"
/>
...
...
src/main/webapp/HP/SC/HPSC005.jsp
View file @
d1cf7081
...
...
@@ -38,7 +38,7 @@
<EF:EFColumn
ename=
"prdtName"
cname=
"部件名称"
enable=
"false"
width=
"120"
align=
"center"
/>
<
%
--
<
EF:EFColumn
ename=
"prdtSpec"
cname=
"部件规格"
enable=
"false"
width=
"120"
align=
"center"
/>
--%>
<EF:EFColumn
ename=
"partName"
cname=
"零件名称"
enable=
"false"
width=
"120"
align=
"center"
/>
<EF:EFColumn
ename=
"partSpec"
cname=
"零件规格
(MM)
"
enable=
"false"
width=
"120"
align=
"center"
/>
<EF:EFColumn
ename=
"partSpec"
cname=
"零件规格"
enable=
"false"
width=
"120"
align=
"center"
/>
<EF:EFColumn
ename=
"planCompletionDate"
cname=
"计划完成日期"
enable=
"false"
width=
"100"
align=
"center"
editType=
"date"
dateFormat=
"yyyy-MM-dd"
parseFormats=
"['yyyyMMdd']"
/>
<EF:EFColumn
ename=
"assignedNum"
cname=
"派工数量"
enable=
"false"
width=
"80"
align=
"right"
format=
"{0:N0}"
/>
...
...
src/main/webapp/HP/SC/HPSC005B.jsp
View file @
d1cf7081
...
...
@@ -35,7 +35,7 @@
<EF:EFColumn
ename=
"projName"
cname=
"项目名称"
enable=
"false"
width=
"140"
align=
"center"
/>
<EF:EFColumn
ename=
"prdtName"
cname=
"部件名称"
enable=
"false"
width=
"100"
align=
"center"
/>
<EF:EFColumn
ename=
"partName"
cname=
"零件名称"
enable=
"false"
width=
"100"
align=
"center"
/>
<EF:EFColumn
ename=
"partSpec"
cname=
"零件规格
(MM)
"
enable=
"false"
width=
"100"
align=
"center"
/>
<EF:EFColumn
ename=
"partSpec"
cname=
"零件规格"
enable=
"false"
width=
"100"
align=
"center"
/>
<
%
--
<
EF:EFColumn
ename=
"remark1"
cname=
"零件备注"
/>
--%>
<EF:EFColumn
ename=
"planCompletionDate"
cname=
"计划完成日期"
enable=
"false"
width=
"120"
align=
"center"
editType=
"date"
dateFormat=
"yyyy-MM-dd"
parseFormats=
"['yyyyMMdd']"
/>
...
...
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