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
e73fa34e
Commit
e73fa34e
authored
Jul 24, 2024
by
wuwenlong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
生产报工附件清单
parent
620eb6c0
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
30 additions
and
2 deletions
+30
-2
HGConstant.java
src/main/java/com/baosight/hggp/hg/constant/HGConstant.java
+2
-0
HGSCTools.java
src/main/java/com/baosight/hggp/hg/sc/tools/HGSCTools.java
+3
-0
HGSC008.js
src/main/webapp/HG/SC/HGSC008.js
+24
-2
HGSC008.jsp
src/main/webapp/HG/SC/HGSC008.jsp
+1
-0
No files found.
src/main/java/com/baosight/hggp/hg/constant/HGConstant.java
View file @
e73fa34e
...
...
@@ -366,6 +366,8 @@ public class HGConstant {
public
static
final
String
CHECK_DEFECT
=
"CHECK_DEFECT"
;
//质检问题处理照片
public
static
final
String
CHECK_HANDLE
=
"CHECK_HANDLE"
;
//生产报工
public
static
final
String
SCBG
=
"SCBG"
;
}
/**
...
...
src/main/java/com/baosight/hggp/hg/sc/tools/HGSCTools.java
View file @
e73fa34e
...
...
@@ -1105,6 +1105,9 @@ public class HGSCTools {
checkDeleteDate
(
ids
);
DaoUtils
.
update
(
HGSC008
.
BATCH_DELETE
,
new
HashMap
<
String
,
Object
>(){{
put
(
"ids"
,
ids
);}});
HGZLTools
.
THGZL002
.
deleteByWorkIds
(
ids
);
ids
.
forEach
(
id
->
{
HGSCTools
.
THGSC099
.
deleteByMatId
(
id
,
HGConstant
.
FileBizType
.
SCBG
);
});
}
private
static
void
checkDeleteDate
(
List
<
Long
>
ids
){
...
...
src/main/webapp/HG/SC/HGSC008.js
View file @
e73fa34e
...
...
@@ -10,8 +10,15 @@ $(function () {
pageSize
:
20
,
pageSizes
:
[
10
,
20
,
50
,
70
,
100
],
},
columns
:
[
],
columns
:
[{
field
:
"operator"
,
template
:
function
(
item
)
{
let
template
=
''
;
template
+=
'<a style="cursor: pointer;display: inline-flex;justify-content: center;margin:auto 5px" '
+
'onclick="showUploadFile('
+
item
.
id
+
')" >附件清单</a>'
;
return
template
;
}
}],
loadComplete
:
function
(
grid
)
{
},
onSuccess
:
function
(
e
)
{
...
...
@@ -33,3 +40,17 @@ $(window).load(function () {
// 查
query
();
});
/**
* 显示附件清单
*
* @param id
*/
function
showUploadFile
(
id
)
{
JSColorbox
.
open
({
href
:
"HGSC099?methodName=initLoad&inqu_status-0-bizType=SCBG&inqu_status-0-matId="
+
id
,
title
:
"<div style='text-align: center;'>附件详情</div>"
,
width
:
"85%"
,
height
:
"80%"
,
});
}
\ No newline at end of file
src/main/webapp/HG/SC/HGSC008.jsp
View file @
e73fa34e
...
...
@@ -29,6 +29,7 @@
<EF:EFGrid blockId="result" autoDraw="override" isFloat="true">
<EF:EFColumn ename="id" primaryKey="true" cname="内码" hidden="true"/>
<EF:EFColumn ename="accountCode" cname="账套" hidden="true"/>
<EF:EFColumn ename="operator" cname="操作" locked="true" enable="false" width="220" align="center"/>
<EF:EFColumn ename="companyName" cname="公司名称" enable="true" width="120" align="center" readOnly="true"/>
<EF:EFColumn ename="projName" cname="项目名称" enable="true" width="120" align="center" readOnly="true"/>
<EF:EFColumn ename="workCode" cname="报工单号" width="100" enable="false" readonly="true" align="center"/>
...
...
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