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
5aa3037b
Commit
5aa3037b
authored
Aug 07, 2024
by
江和松
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
整改通知单复核通过不能再复核通过
parent
a14dce18
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
50 additions
and
24 deletions
+50
-24
HGPZ005.xml
src/main/java/com/baosight/hggp/hg/pz/sql/HGPZ005.xml
+7
-1
HGPZ005.js
src/main/webapp/HG/PZ/HGPZ005.js
+29
-21
HGPZ005.jsp
src/main/webapp/HG/PZ/HGPZ005.jsp
+8
-0
HGZL004.js
src/main/webapp/HG/ZL/HGZL004.js
+6
-2
No files found.
src/main/java/com/baosight/hggp/hg/pz/sql/HGPZ005.xml
View file @
5aa3037b
...
...
@@ -83,7 +83,7 @@
INVENT_CODE LIKE CONCAT('%', #inventCodeLike#, '%')
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"spec"
>
SPEC
= #spec#
SPEC
LIKE CONCAT('%', #spec#, '%')
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"length"
>
LENGTH = #length#
...
...
@@ -147,6 +147,12 @@
<isNotEmpty
prepend=
" AND "
property=
"inventTypeDetails"
>
INVENT_TYPE_DETAIL IN
<iterate
close=
")"
open=
"("
conjunction=
","
property=
"inventTypeDetails"
>
#inventTypeDetails[]#
</iterate>
</isNotEmpty>
<isEqual
prepend=
" AND "
property=
"isFlowId"
compareValue=
"1"
>
FLOW_ID > 0
</isEqual>
<isEqual
prepend=
" AND "
property=
"isFlowId"
compareValue=
"0"
>
FLOW_ID = #isFlowId#
</isEqual>
</sql>
<select
id=
"query"
parameterClass=
"java.util.HashMap"
resultClass=
"HGPZ005"
>
...
...
src/main/webapp/HG/PZ/HGPZ005.js
View file @
5aa3037b
...
...
@@ -71,6 +71,15 @@ $(function() {
template
:
function
(
options
)
{
return
showUserName
(
options
.
updatedBy
,
options
.
updatedName
);
}
},
{
field
:
"isFlowId"
,
template
:
function
(
options
)
{
let
template
=
'未分配'
;
if
(
options
.
flowId
>
0
){
template
=
'已分配'
;
}
return
template
;
}
}],
loadComplete
:
function
(
grid
)
{
// 此 grid 对象
...
...
@@ -272,25 +281,25 @@ function showFlowDetail(id,inventCode,flowId) {
});
}
function
showFlowDetail
()
{
let
rows
=
resultGrid
.
getCheckedRows
();
let
selectIds
=
[];
//selectIds.push(rows[i]['id']);
if
(
rows
.
length
<
1
)
{
message
(
"请选择数据"
)
return
;
}
$
.
each
(
rows
,
function
(
index
,
item
)
{
selectIds
.
push
(
item
.
get
(
"id"
));
});
JSColorbox
.
open
({
href
:
"HGPZ005B?methodName=initLoad&inqu_status-0-parentIds="
+
selectIds
,
title
:
"<div style='text-align: center;'>工艺流程</div>"
,
width
:
"75%"
,
height
:
"80%"
,
callbackName
:
cllback2
});
}
//
function showFlowDetail() {
//
let rows = resultGrid.getCheckedRows();
//
let selectIds = [];
//
//selectIds.push(rows[i]['id']);
//
if (rows.length < 1) {
//
message("请选择数据")
//
return;
//
}
//
$.each(rows, function(index, item) {
//
selectIds.push(item.get("id"));
//
});
//
JSColorbox.open({
//
href: "HGPZ005B?methodName=initLoad&inqu_status-0-parentIds=" + selectIds,
//
title: "<div style='text-align: center;'>工艺流程</div>",
//
width: "75%",
//
height: "80%",
//
callbackName: cllback2
//
});
//
}
/**
* 回调
...
...
@@ -340,4 +349,4 @@ function cllback2(result) {
},
{
async
:
false
});
}
\ No newline at end of file
}
src/main/webapp/HG/PZ/HGPZ005.jsp
View file @
5aa3037b
...
...
@@ -21,6 +21,13 @@
<EF:EFCodeOption
codeName=
"hpjx.hpjx.status"
/>
</EF:EFSelect>
</div>
<div
class=
"row"
>
<EF:EFInput
cname=
"规格"
ename=
"spec"
blockId=
"inqu_status"
row=
"0"
colWidth=
"3"
/>
<EF:EFSelect
blockId=
"inqu_status"
row=
"0"
ename=
"isFlowId"
cname=
"是否分配"
colWidth=
"3"
filter=
"contains"
>
<EF:EFOption
label=
"全部"
value=
""
/>
<EF:EFCodeOption
codeName=
"hggp.isFlowId"
/>
</EF:EFSelect>
</div>
</EF:EFRegion>
<EF:EFRegion
id=
"result"
title=
"记录集"
>
...
...
@@ -45,6 +52,7 @@
<EF:EFComboColumn
ename=
"status"
cname=
"状态"
align=
"center"
width=
"80"
required=
"true"
defaultValue=
"1"
>
<EF:EFCodeOption
codeName=
"hpjx.hpjx.status"
/>
</EF:EFComboColumn>
<EF:EFColumn
ename=
"isFlowId"
cname=
"是否分配"
width=
"80"
align=
"center"
/>
<EF:EFColumn
cname=
"创建人"
ename=
"createdName"
enable=
"false"
align=
"center"
/>
<EF:EFColumn
cname=
"创建时间"
ename=
"createdTime"
enable=
"false"
width=
"140"
align=
"center"
editType=
"datetime"
parseFormats=
"['yyyyMMddHHmmss','yyyy-MM-dd HH:mm:ss']"
/>
...
...
src/main/webapp/HG/ZL/HGZL004.js
View file @
5aa3037b
...
...
@@ -122,6 +122,11 @@ function complete() {
flag
=
false
;
return
;
}
if
(
item
.
handleStatus
===
'2'
){
message2
(
"复检合格"
,
"【非处理中的数据】,无法进行复检操作!"
);
flag
=
false
;
return
;
}
});
if
(
flag
)
{
IPLAT
.
confirm
({
...
...
@@ -148,4 +153,4 @@ function complete() {
}
});
}
}
\ No newline at end of file
}
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