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
4358a893
Commit
4358a893
authored
Feb 06, 2024
by
liuyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
物料清单页面优化
parent
7fb9eb76
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
107 additions
and
54 deletions
+107
-54
ServiceHPSC003.java
.../java/com/baosight/hpjx/hp/sc/service/ServiceHPSC003.java
+20
-0
ServiceHPSC004.java
.../java/com/baosight/hpjx/hp/sc/service/ServiceHPSC004.java
+0
-20
HPSC002.js
src/main/webapp/HP/SC/HPSC002.js
+61
-20
HPSC002.jsp
src/main/webapp/HP/SC/HPSC002.jsp
+17
-7
HPSC003.js
src/main/webapp/HP/SC/HPSC003.js
+2
-2
HPSC003.jsp
src/main/webapp/HP/SC/HPSC003.jsp
+5
-3
HPSC006.js
src/main/webapp/HP/SC/HPSC006.js
+2
-2
No files found.
src/main/java/com/baosight/hpjx/hp/sc/service/ServiceHPSC003.java
View file @
4358a893
...
@@ -127,6 +127,26 @@ public class ServiceHPSC003 extends ServiceBase {
...
@@ -127,6 +127,26 @@ public class ServiceHPSC003 extends ServiceBase {
Map
<?,
?>
map
=
eiBlock
.
getRow
(
i
);
Map
<?,
?>
map
=
eiBlock
.
getRow
(
i
);
HPSC004
.
fromMap
(
map
);
HPSC004
.
fromMap
(
map
);
DaoUtils
.
update
(
"HPSC004.updateHPSC0004"
,
HPSC004
.
toMap
());
DaoUtils
.
update
(
"HPSC004.updateHPSC0004"
,
HPSC004
.
toMap
());
List
list
=
this
.
dao
.
query
(
"HPSC004.query"
,
new
HashMap
<
String
,
Object
>(){{
put
(
"companyCode"
,
HPSC004
.
getCompanyCode
());
put
(
"projCode"
,
HPSC004
.
getProjCode
());
put
(
"parentId"
,
HPSC004
.
getParentId
());
put
(
"planCommentDate"
,
" "
);
put
(
"planCompletionDate"
,
" "
);
}});
if
(
list
.
size
()
==
0
)
{
List
<
HPSC004
>
list1
=
this
.
dao
.
query
(
"HPSC004.queryDate"
,
new
HashMap
<
String
,
Object
>(){{
put
(
"companyCode"
,
HPSC004
.
getCompanyCode
());
put
(
"projCode"
,
HPSC004
.
getProjCode
());
put
(
"parentId"
,
HPSC004
.
getParentId
());
}});
HPSC003
HPSC003
=
new
HPSC003
();
HPSC003
.
setCompanyCode
(
HPSC004
.
getCompanyCode
());
HPSC003
.
setProjCode
(
HPSC004
.
getProjCode
());
HPSC003
.
setPlanInfoNo
(
HPSC004
.
getParentId
());
HPSC003
.
setPlanCompletionDate
(
list1
.
get
(
0
).
getPlanCompletionDate
());
DaoUtils
.
update
(
"HPSC003.updateDate"
,
HPSC003
.
toMap
());
}
}
}
inInfo
.
setStatus
(
EiConstant
.
STATUS_SUCCESS
);
inInfo
.
setStatus
(
EiConstant
.
STATUS_SUCCESS
);
inInfo
.
setMsg
(
"修改成功!"
);
inInfo
.
setMsg
(
"修改成功!"
);
...
...
src/main/java/com/baosight/hpjx/hp/sc/service/ServiceHPSC004.java
View file @
4358a893
...
@@ -57,26 +57,6 @@ public class ServiceHPSC004 extends ServiceBase {
...
@@ -57,26 +57,6 @@ public class ServiceHPSC004 extends ServiceBase {
Map
<?,
?>
map
=
eiBlock
.
getRow
(
i
);
Map
<?,
?>
map
=
eiBlock
.
getRow
(
i
);
HPSC004
.
fromMap
(
map
);
HPSC004
.
fromMap
(
map
);
DaoUtils
.
insert
(
"HPSC004.insert"
,
HPSC004
.
toMap
());
DaoUtils
.
insert
(
"HPSC004.insert"
,
HPSC004
.
toMap
());
List
list
=
this
.
dao
.
query
(
"HPSC004.query"
,
new
HashMap
<
String
,
Object
>(){{
put
(
"companyCode"
,
HPSC004
.
getCompanyCode
());
put
(
"projCode"
,
HPSC004
.
getPrdtCode
());
put
(
"parentId"
,
HPSC004
.
getParentId
());
put
(
"planCommentDate"
,
""
);
put
(
"planCompletionDate"
,
""
);
}});
if
(
list
==
null
)
{
List
<
Map
>
list1
=
this
.
dao
.
query
(
"HPSC004.query"
,
new
HashMap
<
String
,
Object
>(){{
put
(
"companyCode"
,
HPSC004
.
getCompanyCode
());
put
(
"projCode"
,
HPSC004
.
getPrdtCode
());
put
(
"parentId"
,
HPSC004
.
getParentId
());
}});
HPSC003
HPSC003
=
new
HPSC003
();
HPSC003
.
setCompanyCode
(
HPSC004
.
getCompanyCode
());
HPSC003
.
setPrdtCode
(
HPSC004
.
getPrdtCode
());
HPSC003
.
setPlanInfoNo
(
HPSC004
.
getParentId
());
HPSC003
.
setPlanCompletionDate
(
list1
.
get
(
0
).
get
(
"planCompletionDate"
).
toString
());
DaoUtils
.
update
(
"HPSC003.updateDate"
,
HPSC003
.
toMap
());
}
}
}
inInfo
.
setStatus
(
EiConstant
.
STATUS_SUCCESS
);
inInfo
.
setStatus
(
EiConstant
.
STATUS_SUCCESS
);
inInfo
.
setMsg
(
"新增成功!"
);
inInfo
.
setMsg
(
"新增成功!"
);
...
...
src/main/webapp/HP/SC/HPSC002.js
View file @
4358a893
var
inventNameGlobalData
=
[];
var
inventNameGlobalData
=
[];
var
prdtNameGlobalData
=
[];
// 传递参数 将附件ID与当前记录ID进行绑定
// 传递参数 将附件ID与当前记录ID进行绑定
// let rowId = '';
// let rowId = '';
let
parentId
=
''
;
let
parentId
=
''
;
...
@@ -41,7 +42,11 @@ $(function () {
...
@@ -41,7 +42,11 @@ $(function () {
select
:
function
(
e
)
{
select
:
function
(
e
)
{
var
nodeData
=
this
.
dataItem
(
e
.
node
);
var
nodeData
=
this
.
dataItem
(
e
.
node
);
let
eiInfo
=
new
EiInfo
();
let
eiInfo
=
new
EiInfo
();
eiInfo
.
set
(
"inqu_status-0-inventTypes"
,
[
3
,
4
]);
if
(
nodeData
.
lv
==
1
){
eiInfo
.
set
(
"inqu_status-0-inventTypes"
,
[
4
]);
}
else
if
(
nodeData
.
lv
==
2
){
eiInfo
.
set
(
"inqu_status-0-inventTypes"
,
[
3
]);
}
var
dataSource
;
var
dataSource
;
EiCommunicator
.
send
(
"HPPZ006"
,
"queryPrdtComboBox"
,
eiInfo
,
{
EiCommunicator
.
send
(
"HPPZ006"
,
"queryPrdtComboBox"
,
eiInfo
,
{
onSuccess
:
function
(
ei
)
{
onSuccess
:
function
(
ei
)
{
...
@@ -56,6 +61,7 @@ $(function () {
...
@@ -56,6 +61,7 @@ $(function () {
IPLATUI
.
EFTree
.
materialTree
.
selectTreeNode
.
projCode
=
nodeData
.
projCode
;
IPLATUI
.
EFTree
.
materialTree
.
selectTreeNode
.
projCode
=
nodeData
.
projCode
;
IPLATUI
.
EFTree
.
materialTree
.
selectTreeNode
.
prdtName
=
nodeData
.
prdtName
;
IPLATUI
.
EFTree
.
materialTree
.
selectTreeNode
.
prdtName
=
nodeData
.
prdtName
;
IPLATUI
.
EFTree
.
materialTree
.
selectTreeNode
.
projName
=
nodeData
.
projName
;
IPLATUI
.
EFTree
.
materialTree
.
selectTreeNode
.
projName
=
nodeData
.
projName
;
IPLATUI
.
EFTree
.
materialTree
.
selectTreeNode
.
lv
=
nodeData
.
lv
;
// 重新查询EFGrid
// 重新查询EFGrid
parentId
=
nodeData
.
nodeId
;
parentId
=
nodeData
.
nodeId
;
query
();
query
();
...
@@ -150,11 +156,18 @@ $(function () {
...
@@ -150,11 +156,18 @@ $(function () {
onAdd
:
function
(
e
)
{
onAdd
:
function
(
e
)
{
// 动态设置默认邮箱
// 动态设置默认邮箱
let
selectTreeNode
=
IPLATUI
.
EFTree
.
materialTree
.
selectTreeNode
;
let
selectTreeNode
=
IPLATUI
.
EFTree
.
materialTree
.
selectTreeNode
;
//e.items[0]['prdtType'] = selectTreeNode.lv = 4;
$
.
each
(
e
.
items
,
function
(
index
,
item
)
{
$
.
each
(
e
.
items
,
function
(
index
,
item
)
{
item
[
'projCode'
]
=
selectTreeNode
.
projCode
;
item
[
'projCode'
]
=
selectTreeNode
.
projCode
;
item
[
'projName'
]
=
selectTreeNode
.
projName
;
item
[
'projName'
]
=
selectTreeNode
.
projName
;
item
[
'parentId'
]
=
selectTreeNode
.
nodeId
;
item
[
'parentId'
]
=
selectTreeNode
.
nodeId
;
item
[
'parentPrdtName'
]
=
selectTreeNode
.
prdtName
;
item
[
'parentPrdtName'
]
=
selectTreeNode
.
prdtName
;
if
(
selectTreeNode
.
lv
==
1
){
item
[
'prdtType'
]
=
4
;
}
else
if
(
selectTreeNode
.
lv
==
2
){
item
[
'prdtType'
]
=
3
;
}
//item['id'] = null
});
});
},
},
/**
/**
...
@@ -205,26 +218,69 @@ $(function () {
...
@@ -205,26 +218,69 @@ $(function () {
let
template
=
''
;
let
template
=
''
;
// template += '<a style="cursor: pointer;display: inline-flex;justify-content: center;margin:auto 5px" '
// template += '<a style="cursor: pointer;display: inline-flex;justify-content: center;margin:auto 5px" '
// + 'onclick="openUploadFile(' + item.id + ',1)" >附件上传</a>';
// + 'onclick="openUploadFile(' + item.id + ',1)" >附件上传</a>';
if
(
item
.
id
){
template
+=
'<a style="cursor: pointer;display: inline-flex;justify-content: center;margin:auto 5px" '
template
+=
'<a style="cursor: pointer;display: inline-flex;justify-content: center;margin:auto 5px" '
+
'onclick="showUploadFile('
+
item
.
id
+
')" >附件清单</a>'
;
+
'onclick="showUploadFile('
+
item
.
id
+
')" >附件清单</a>'
;
}
if
(
lv
===
'3'
)
{
if
(
lv
===
'3'
)
{
if
(
auditStatus
==
0
)
{
if
(
auditStatus
==
0
)
{
template
+=
'<a style="cursor: pointer;display: inline-flex;justify-content: center;margin:auto 5px" '
+
template
+=
'<a style="cursor: pointer;display: inline-flex;justify-content: center;margin:auto 5px" '
+
'onclick="check('
+
item
.
id
+
',1)" >提交</a>'
;
'onclick="check('
+
item
.
id
+
',1)" >提交</a>'
;
}
else
{
}
/*
else {
template += '<a style="cursor: pointer;display: inline-flex;justify-content: center;margin:auto 5px" ' +
template += '<a style="cursor: pointer;display: inline-flex;justify-content: center;margin:auto 5px" ' +
'onclick="check(' + item.id + ',0)" >撤回</a>';
'onclick="check(' + item.id + ',0)" >撤回</a>';
}
}
*/
}
}
return
template
;
return
template
;
}
}
},{
},{
field
:
"prdtName"
,
field
:
"prdtName"
,
query
:
function
(
container
,
options
)
{
/*
query: function (container, options) {
let eiInfo = new EiInfo();
let eiInfo = new EiInfo();
eiInfo.set("inqu_status-0-inventTypes", [3, 4]);
eiInfo.set("inqu_status-0-inventTypes", [3, 4]);
eiInfo.set("inqu_status-0-inventType", options.model["prdtType"]);
eiInfo.set("inqu_status-0-inventType", options.model["prdtType"]);
return eiInfo;
return eiInfo;
}*/
template
:
function
(
dataItem
)
{
for
(
let
i
=
0
;
i
<
prdtNameGlobalData
.
length
;
i
++
)
{
if
(
prdtNameGlobalData
[
i
][
'textField'
]
===
dataItem
[
'prdtName'
])
{
//dataItem["prdtCode"] = prdtNameGlobalData[i]['valueField']
resultGrid
.
setCellValue
(
0
,
"prdtCode"
,
prdtNameGlobalData
[
i
][
'valueField'
]);
return
prdtNameGlobalData
[
i
][
'textField'
];
}
}
return
dataItem
[
"prdtName"
];
},
editor
:
function
(
container
,
options
)
{
var
grid
=
container
.
closest
(
".k-grid"
).
data
(
"kendoGrid"
);
var
cellIndex
=
grid
.
cellIndex
(
container
);
var
input
=
$
(
'<input />'
);
input
.
attr
(
"name"
,
options
.
field
);
input
.
attr
(
"id"
,
options
.
field
);
input
.
appendTo
(
container
);
let
eiInfo
=
new
EiInfo
();
eiInfo
.
set
(
"inventType"
,
4
);
eiInfo
.
set
(
"isSplicingSymbol"
,
false
);
var
dataSource
;
EiCommunicator
.
send
(
"HPPZ004"
,
"queryComboBox"
,
eiInfo
,
{
onSuccess
:
function
(
ei
)
{
dataSource
=
ei
.
getBlock
(
"invent_name_block_id"
).
getMappedRows
();
prdtNameGlobalData
=
dataSource
;
},
onFail
:
function
(
ei
)
{
}
},
{
async
:
false
});
input
.
kendoAutoComplete
({
valuePrimitive
:
true
,
dataSource
:
dataSource
,
dataTextField
:
"textField"
,
dataValueField
:
"valueField"
,
required
:
"true"
,
optionLabelTemplate
:
"#:textField#"
,
valueTemplate
:
"#:valueField#"
,
template
:
"#:textField#"
,
filter
:
"contains"
});
}
}
},
{
},
{
field
:
"parentPrdtName"
,
field
:
"parentPrdtName"
,
...
@@ -274,22 +330,7 @@ $(function () {
...
@@ -274,22 +330,7 @@ $(function () {
// });
// });
// }
// }
// }
// }
],
]
loadComplete
:
function
(
grid
)
{
// 此grid对象
// grid.dataSource.bind("change", function(e) {
// if (e.field == "inventRecordId") {
// var tr,index;
// // 获取此model元素信息
// var item = e.items[0];
// for (let i = 0; i < inventNameGlobalData.length; i++) {
// if (inventNameGlobalData[i]['valueField'] === item.inventRecordId) {
// resultGrid.setCellValue(item, 'prdtCode', inventNameGlobalData[i]['textField'])
// }
// }
// }
// });
}
},
},
};
};
...
...
src/main/webapp/HP/SC/HPSC002.jsp
View file @
4358a893
...
@@ -10,11 +10,11 @@
...
@@ -10,11 +10,11 @@
<EF:EFPage
title=
"物料清单"
>
<EF:EFPage
title=
"物料清单"
>
<EF:EFRegion
id=
"inqu"
title=
"查询条件"
>
<EF:EFRegion
id=
"inqu"
title=
"查询条件"
>
<div
class=
"row"
>
<div
class=
"row"
>
<EF:EFSelect
ename=
"inqu_status-0-prdtType"
cname=
"部件类型"
colWidth=
"3"
filter=
"contains"
<
%
--
<
EF:EFSelect
ename=
"inqu_status-0-prdtType"
cname=
"部件类型"
colWidth=
"3"
filter=
"contains"
template=
"#=textField#"
valueTemplate=
"#=textField#"
>
template=
"#=textField#"
valueTemplate=
"#=textField#"
>
<EF:EFOption
label=
"全部"
value=
""
/>
<EF:EFOption
label=
"全部"
value=
""
/>
<EF:EFCodeOption
codeName=
"hpjx.hpkc.inventType"
condition=
"ITEM_CODE IN ('3','4')"
/>
<EF:EFCodeOption
codeName=
"hpjx.hpkc.inventType"
condition=
"ITEM_CODE IN ('3','4')"
/>
</EF:EFSelect>
</EF:EFSelect>
--%>
<EF:EFSelect
cname=
"部件名称"
ename=
"inqu_status-0-prdtCode"
filter=
"contains"
defultValue=
""
>
<EF:EFSelect
cname=
"部件名称"
ename=
"inqu_status-0-prdtCode"
filter=
"contains"
defultValue=
""
>
<EF:EFOption
label=
"全部"
value=
""
/>
<EF:EFOption
label=
"全部"
value=
""
/>
<EF:EFOptions
blockId=
"invent_name_block_id"
textField=
"textField"
valueField=
"valueField"
/>
<EF:EFOptions
blockId=
"invent_name_block_id"
textField=
"textField"
valueField=
"valueField"
/>
...
@@ -46,23 +46,33 @@
...
@@ -46,23 +46,33 @@
<EF:EFColumn
ename=
"level"
cname=
"层级"
hidden=
"true"
/>
<EF:EFColumn
ename=
"level"
cname=
"层级"
hidden=
"true"
/>
<EF:EFColumn
enable=
"false"
ename=
"projCode"
cname=
"项目编码"
/>
<EF:EFColumn
enable=
"false"
ename=
"projCode"
cname=
"项目编码"
/>
<EF:EFColumn
enable=
"false"
ename=
"projName"
cname=
"项目名称"
/>
<EF:EFColumn
enable=
"false"
ename=
"projName"
cname=
"项目名称"
/>
<EF:EFComboColumn
cname=
"部件类型"
ename=
"prdtType"
width=
"90"
align=
"center"
required=
"true"
>
<
%
--
<
EF:EFComboColumn
cname=
"部件类型"
ename=
"prdtType"
width=
"90"
align=
"center"
required=
"true"
columnTemplate=
"#=textField#"
itemTemplate=
"#=textField#"
textField=
"textField"
valueField=
"valueField"
>
<EF:EFCodeOption
codeName=
"hpjx.hpkc.inventType"
condition=
"ITEM_CODE IN ('3','4')"
/>
<EF:EFCodeOption
codeName=
"hpjx.hpkc.inventType"
condition=
"ITEM_CODE IN ('3','4')"
/>
</EF:EFComboColumn>
--%>
<EF:EFComboColumn
ename=
"prdtType"
cname=
"部件类型"
align=
"center"
required=
"true"
filter=
"contains"
width=
"90"
>
<EF:EFOption
label=
"零部件"
value=
"3"
/>
<EF:EFOption
label=
"部件"
value=
"4"
/>
</EF:EFComboColumn>
</EF:EFComboColumn>
<EF:EFPopupColumn
ename=
"prdtName"
cname=
"部件名称"
width=
"200"
popupType=
"ServiceGrid"
<
%
--
<
EF:EFPopupColumn
ename=
"prdtName"
cname=
"部件名称"
width=
"200"
popupType=
"ServiceGrid"
popupTitle=
"部件信息"
serviceName=
"HPPZ006"
methodName=
"queryPrdtComboBox"
resultId=
"invent_prdt_name_block_id"
popupTitle=
"部件信息"
serviceName=
"HPPZ006"
methodName=
"queryPrdtComboBox"
resultId=
"invent_prdt_name_block_id"
columnEnames=
"param1Field,textField"
columnEnames=
"param1Field,textField"
columnCnames=
"部件名称,部件编码"
columnCnames=
"部件名称,部件编码"
backFillColumnIds=
"param1Field,textField"
backFillColumnIds=
"param1Field,textField"
backFillFieldIds=
"prdtName,prdtCode"
backFillFieldIds=
"prdtName,prdtCode"
valueField=
"param1Field"
textField=
"param1Field"
/>
valueField=
"param1Field"
textField=
"param1Field"
/>
--%>
<EF:EFColumn
ename=
"prdtCode"
cname=
"部件编码"
/>
<EF:EFColumn
ename=
"prdtName"
cname=
"部件名称"
width=
"200"
align=
"center"
maxLength=
"50"
/>
<EF:EFColumn
ename=
"prdtCode"
cname=
"部件编码"
hidden =
'true'
/>
<EF:EFColumn
ename=
"length"
cname=
"长"
format=
"{0:N3}"
/>
<EF:EFColumn
ename=
"length"
cname=
"长"
format=
"{0:N3}"
/>
<EF:EFColumn
ename=
"width"
cname=
"宽"
format=
"{0:N3}"
/>
<EF:EFColumn
ename=
"width"
cname=
"宽"
format=
"{0:N3}"
/>
<EF:EFColumn
ename=
"thick"
cname=
"厚"
format=
"{0:N3}"
/>
<EF:EFColumn
ename=
"thick"
cname=
"厚"
format=
"{0:N3}"
/>
<EF:EFColumn
ename=
"remark"
cname=
"备注"
/>
<EF:EFColumn
ename=
"remark"
cname=
"备注"
/>
<EF:EFColumn
enable=
"false"
ename=
"parentId"
hidden=
"true"
cname=
"上级部件名称"
/>
<EF:EFColumn
enable=
"false"
ename=
"parentId"
hidden=
"true"
cname=
"上级部件名称"
/>
<EF:EFColumn
enable=
"false"
ename=
"parentPrdtName"
cname=
"上级部件名称"
/>
<EF:EFColumn
enable=
"false"
ename=
"parentPrdtName"
hidden=
"true"
cname=
"上级部件名称"
/>
<EF:EFColumn
ename=
"num"
required=
"true"
cname=
"数量"
/>
<EF:EFColumn
ename=
"num"
required=
"true"
cname=
"数量"
/>
<EF:EFColumn
ename=
"unitWt"
required=
"true"
format=
"{0:N3}"
cname=
"单重"
/>
<EF:EFColumn
ename=
"unitWt"
required=
"true"
format=
"{0:N3}"
cname=
"单重"
/>
<EF:EFColumn
enable=
"false"
format=
"{0:N3}"
ename=
"totalWt"
cname=
"总重"
/>
<EF:EFColumn
enable=
"false"
format=
"{0:N3}"
ename=
"totalWt"
cname=
"总重"
/>
...
...
src/main/webapp/HP/SC/HPSC003.js
View file @
4358a893
...
@@ -27,10 +27,10 @@ $(function () {
...
@@ -27,10 +27,10 @@ $(function () {
template
+=
'<a style="cursor: pointer;display: inline-flex;justify-content: center;" '
+
template
+=
'<a style="cursor: pointer;display: inline-flex;justify-content: center;" '
+
'onclick="check('
+
item
.
id
+
',1)" >提交</a>'
;
'onclick="check('
+
item
.
id
+
',1)" >提交</a>'
;
}
}
else
{
/*
else {
template += '<a hidden="hidden" style="cursor: pointer;display: inline-flex;justify-content: center;" ' +
template += '<a hidden="hidden" style="cursor: pointer;display: inline-flex;justify-content: center;" ' +
'onclick="check(' + item.id + ',0)" >撤回</a>';
'onclick="check(' + item.id + ',0)" >撤回</a>';
}
}
*/
return
template
;
return
template
;
}
}
},
},
...
...
src/main/webapp/HP/SC/HPSC003.jsp
View file @
4358a893
...
@@ -41,7 +41,7 @@
...
@@ -41,7 +41,7 @@
<EF:EFColumn
enable=
"false"
ename=
"projCode"
cname=
"项目号"
readonly=
"true"
/>
<EF:EFColumn
enable=
"false"
ename=
"projCode"
cname=
"项目号"
readonly=
"true"
/>
<EF:EFColumn
enable=
"false"
ename=
"projName"
cname=
"项目名称"
readonly=
"true"
/>
<EF:EFColumn
enable=
"false"
ename=
"projName"
cname=
"项目名称"
readonly=
"true"
/>
<EF:EFColumn
enable=
"false"
ename=
"planInfoNo"
cname=
"生产计划单号"
readonly=
"true"
/>
<EF:EFColumn
enable=
"false"
ename=
"planInfoNo"
cname=
"生产计划单号"
readonly=
"true"
/>
<EF:EFComboColumn
ename=
"prdtType"
cname=
"部件类型"
width=
"90"
align=
"center"
enable=
"false"
>
<EF:EFComboColumn
ename=
"prdtType"
cname=
"部件类型"
hidden =
'true'
width=
"90"
align=
"center"
enable=
"false"
>
<EF:EFCodeOption
codeName=
"hpjx.hpkc.inventType"
/>
<EF:EFCodeOption
codeName=
"hpjx.hpkc.inventType"
/>
</EF:EFComboColumn>
</EF:EFComboColumn>
<EF:EFColumn
enable=
"false"
ename=
"prdtCode"
cname=
"部件编码"
readonly=
"true"
hidden =
"true"
/>
<EF:EFColumn
enable=
"false"
ename=
"prdtCode"
cname=
"部件编码"
readonly=
"true"
hidden =
"true"
/>
...
@@ -63,12 +63,14 @@
...
@@ -63,12 +63,14 @@
<EF:EFRegion
id=
"detail"
title=
"明细信息"
>
<EF:EFRegion
id=
"detail"
title=
"明细信息"
>
<EF:EFGrid
blockId=
"detail"
autoDraw=
"no"
>
<EF:EFGrid
blockId=
"detail"
autoDraw=
"no"
>
<EF:EFColumn
ename=
"id"
cname=
"主键"
hidden=
"true"
/>
<EF:EFColumn
ename=
"id"
cname=
"主键"
hidden=
"true"
/>
<EF:EFColumn
ename=
"companyCode"
cname=
"企业编码"
hidden=
"true"
/>
<EF:EFColumn
ename=
"projCode"
cname=
"项目编码"
hidden=
"true"
/>
<EF:EFColumn
ename=
"parentId"
cname=
"父ID"
hidden=
"true"
/>
<EF:EFColumn
ename=
"parentId"
cname=
"父ID"
hidden=
"true"
/>
<EF:EFComboColumn
ename=
"prdtType"
cname=
"零件类型"
width=
"90"
align=
"center"
readonly=
"true"
>
<EF:EFComboColumn
ename=
"prdtType"
cname=
"零件类型"
width=
"90"
align=
"center"
readonly=
"true"
>
<EF:EFCodeOption
codeName=
"hpjx.hpkc.inventType"
/>
<EF:EFCodeOption
codeName=
"hpjx.hpkc.inventType"
/>
</EF:EFComboColumn>
</EF:EFComboColumn>
<EF:EFColumn
enable=
"false"
ename=
"prdtCode"
cname=
"零件编码"
hidden =
"true"
/>
<EF:EFColumn
enable=
"false"
ename=
"prdtCode"
cname=
"零
部
件编码"
hidden =
"true"
/>
<EF:EFColumn
enable=
"false"
ename=
"prdtName"
readonly=
"true"
cname=
"零件名称"
/>
<EF:EFColumn
enable=
"false"
ename=
"prdtName"
readonly=
"true"
cname=
"零
部
件名称"
/>
<EF:EFColumn
enable=
"false"
ename=
"spec"
cname=
"规格"
readonly=
"true"
/>
<EF:EFColumn
enable=
"false"
ename=
"spec"
cname=
"规格"
readonly=
"true"
/>
<EF:EFColumn
enable=
"false"
ename=
"remark"
cname=
"备注"
readonly=
"true"
/>
<EF:EFColumn
enable=
"false"
ename=
"remark"
cname=
"备注"
readonly=
"true"
/>
<
%
--
<
EF:EFComboColumn
enable=
"false"
ename=
"delStatus"
cname=
"状态"
>
--%>
<
%
--
<
EF:EFComboColumn
enable=
"false"
ename=
"delStatus"
cname=
"状态"
>
--%>
...
...
src/main/webapp/HP/SC/HPSC006.js
View file @
4358a893
...
@@ -211,10 +211,10 @@ $(function () {
...
@@ -211,10 +211,10 @@ $(function () {
if
(
auditStatus
==
0
)
{
if
(
auditStatus
==
0
)
{
template
+=
'<a style="cursor: pointer;display: inline-flex;justify-content: center;margin:auto 5px" '
+
template
+=
'<a style="cursor: pointer;display: inline-flex;justify-content: center;margin:auto 5px" '
+
'onclick="check('
+
item
.
id
+
',1)" >提交</a>'
;
'onclick="check('
+
item
.
id
+
',1)" >提交</a>'
;
}
else
{
}
/*
else {
template += '<a style="cursor: pointer;display: inline-flex;justify-content: center;margin:auto 5px" ' +
template += '<a style="cursor: pointer;display: inline-flex;justify-content: center;margin:auto 5px" ' +
'onclick="check(' + item.id + ',0)" >撤回</a>';
'onclick="check(' + item.id + ',0)" >撤回</a>';
}
}
*/
}
}
return
template
;
return
template
;
}
}
...
...
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