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