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
fcb37449
Commit
fcb37449
authored
Mar 30, 2024
by
wancheng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
附件上传优化
parent
1aec138c
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
5 deletions
+6
-5
ServiceHPSC002A.java
...java/com/baosight/hpjx/hp/sc/service/ServiceHPSC002A.java
+3
-3
HPSC002.js
src/main/webapp/HP/SC/HPSC002.js
+1
-1
HPSC002A.js
src/main/webapp/HP/SC/HPSC002A.js
+1
-0
HPSC006.js
src/main/webapp/HP/SC/HPSC006.js
+1
-1
No files found.
src/main/java/com/baosight/hpjx/hp/sc/service/ServiceHPSC002A.java
View file @
fcb37449
...
...
@@ -41,7 +41,7 @@ public class ServiceHPSC002A extends ServiceEPBase {
public
EiInfo
initLoad
(
EiInfo
inInfo
)
{
try
{
// 查询物料ID所对应的项目名称和部件名称
Map
queryMap
=
EiInfoUtils
.
getFirstRow
(
inInfo
);
/*
Map queryMap = EiInfoUtils.getFirstRow(inInfo);
String bizType = inInfo.getString("inqu_status-0-bizType");
List<HPSC002> dbSc002s = new ArrayList<HPSC002>();
List<HPSC006> HPSC006 = new ArrayList<HPSC006>();
...
...
@@ -52,8 +52,8 @@ public class ServiceHPSC002A extends ServiceEPBase {
}
if (CollectionUtils.isNotEmpty(dbSc002s) || CollectionUtils.isNotEmpty(HPSC006)) {
inInfo.set("inqu_status-0-bizType", queryMap.get("bizType"));
inInfo
.
set
(
"inqu_status-0-matId"
,
queryMap
.
get
(
"
i
d"
));
}
inInfo.set("inqu_status-0-matId", queryMap.get("
matI
d"));
}
*/
inInfo
.
addBlock
(
EiConstant
.
resultBlock
).
addBlockMeta
(
new
HPSC002A
().
eiMetadata
);
}
catch
(
PlatException
e
)
{
LogUtils
.
setDetailMsg
(
inInfo
,
e
,
"初始化失败"
);
...
...
src/main/webapp/HP/SC/HPSC002.js
View file @
fcb37449
...
...
@@ -710,7 +710,7 @@ function openUploadFile(id) {
*/
function
showUploadFile
(
id
)
{
JSColorbox
.
open
({
href
:
"HPSC002A?methodName=initLoad&inqu_status-0-bizType=WL&inqu_status-0-
i
d="
+
id
,
href
:
"HPSC002A?methodName=initLoad&inqu_status-0-bizType=WL&inqu_status-0-
matI
d="
+
id
,
title
:
"<div style='text-align: center;'>附件清单</div>"
,
width
:
"80%"
,
height
:
"80%"
,
...
...
src/main/webapp/HP/SC/HPSC002A.js
View file @
fcb37449
...
...
@@ -32,6 +32,7 @@ $(function () {
$
(
window
).
load
(
function
()
{
// 初始化查询
query
();
});
/**
...
...
src/main/webapp/HP/SC/HPSC006.js
View file @
fcb37449
...
...
@@ -391,7 +391,7 @@ function reqDetails(projCode) {
}
function
showUploadFile
(
id
)
{
JSColorbox
.
open
({
href
:
"HPSC002A?methodName=initLoad&inqu_status-0-bizType=XL&inqu_status-0-
i
d="
+
id
,
href
:
"HPSC002A?methodName=initLoad&inqu_status-0-bizType=XL&inqu_status-0-
matI
d="
+
id
,
title
:
"<div style='text-align: center;'>附件清单</div>"
,
width
:
"80%"
,
height
:
"80%"
,
...
...
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