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
47bdd0f4
Commit
47bdd0f4
authored
Jan 12, 2024
by
971729
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of
ssh://10.70.33.7:32359/smart/hp-smart
into dev
parents
c9d96d36
71518ff2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
5 deletions
+14
-5
ServiceHPKC003.java
.../java/com/baosight/hpjx/hp/kc/service/ServiceHPKC003.java
+5
-2
HPKC003.jsp
src/main/webapp/HP/KC/HPKC003.jsp
+9
-3
No files found.
src/main/java/com/baosight/hpjx/hp/kc/service/ServiceHPKC003.java
View file @
47bdd0f4
...
...
@@ -6,6 +6,7 @@ import com.baosight.hpjx.common.InventTypeEnun;
import
com.baosight.hpjx.hp.kc.domain.THpkc003
;
import
com.baosight.hpjx.hp.pz.domain.THppz006
;
import
com.baosight.hpjx.util.CommonMethod
;
import
com.baosight.hpjx.util.StringUtil
;
import
com.baosight.iplat4j.core.ei.EiBlock
;
import
com.baosight.iplat4j.core.ei.EiConstant
;
import
com.baosight.iplat4j.core.ei.EiInfo
;
...
...
@@ -31,7 +32,6 @@ public class ServiceHPKC003 extends ServiceBase {
EiInfo
outInfo
=
new
EiInfo
();
outInfo
.
addBlock
(
EiConstant
.
resultBlock
);
outInfo
.
getBlock
(
EiConstant
.
resultBlock
).
addBlockMeta
(
hpkc003
.
eiMetadata
);
return
outInfo
;
}
...
...
@@ -59,6 +59,8 @@ public class ServiceHPKC003 extends ServiceBase {
// String[] str = inventName.split("-");
// inInfo.setCell(EiConstant.resultBlock,i,"inventCode", str[0]);
// inInfo.setCell(EiConstant.resultBlock,i,"inventName", str[1]);
String
documentDate
=
inInfo
.
getCellStr
(
EiConstant
.
resultBlock
,
i
,
"documentDate"
);
inInfo
.
setCell
(
EiConstant
.
resultBlock
,
i
,
"documentDate"
,
StringUtil
.
removeHorizontalLine
(
documentDate
));
}
inInfo
.
setStatus
(
EiConstant
.
STATUS_SUCCESS
);
...
...
@@ -87,7 +89,8 @@ public class ServiceHPKC003 extends ServiceBase {
for
(
int
i
=
0
;
i
<
eiBlock
.
getRowCount
();
i
++)
{
Map
<?,
?>
map
=
eiBlock
.
getRow
(
i
);
hpkc003
.
fromMap
(
map
);
String
documentDate
=
inInfo
.
getCellStr
(
EiConstant
.
resultBlock
,
i
,
"documentDate"
);
inInfo
.
setCell
(
EiConstant
.
resultBlock
,
i
,
"documentDate"
,
StringUtil
.
removeHorizontalLine
(
documentDate
));
this
.
dao
.
update
(
"HPKC003.update"
,
hpkc003
.
toMap
());
}
inInfo
.
setStatus
(
EiConstant
.
STATUS_SUCCESS
);
...
...
src/main/webapp/HP/KC/HPKC003.jsp
View file @
47bdd0f4
...
...
@@ -10,7 +10,7 @@
<EF:EFRegion
id=
"inqu"
title=
"查询条件"
>
<div
class=
"row"
>
<EF:EFDatePicker
ename=
"inqu_status-0-documentDate"
cname=
"单据日期"
format=
"yyyy-MM-dd"
required=
"true"
/>
format=
"yyyy-MM-dd"
/>
<EF:EFInput
ename=
"inqu_status-0-productionNumber"
cname=
"生产入库单号"
colWidth=
"4"
readonly=
"false"
/>
<EF:EFInput
ename=
"inqu_status-0-warehouseName"
cname=
"仓库名称"
colWidth=
"4"
readonly=
"false"
/>
</div>
...
...
@@ -25,12 +25,18 @@
<EF:EFColumn
ename=
"productionNumber"
cname=
"生产入库单号"
width=
"100"
readonly=
"false"
required=
"true"
/>
<EF:EFColumn
ename=
"warehouseCode"
cname=
"仓库编码"
width=
"100"
readonly=
"false"
required=
"true"
/>
<EF:EFColumn
ename=
"warehouseName"
cname=
"仓库名称"
width=
"100"
readonly=
"false"
required=
"true"
/>
<EF:EFColumn
ename=
"materialType"
cname=
"物料类型"
width=
"100"
readonly=
"false"
required=
"true"
/>
<EF:EFComboColumn
ename=
"materialType"
cname=
"物料类型"
align=
"center"
columnTemplate=
"#=valueField#-#=textField#"
optionLabel=
" "
itemTemplate=
"#=valueField#-#=textField#"
textField=
"textField"
valueField=
"valueField"
width=
"100"
>
<EF:EFOption
label=
"--请选择--"
value=
""
></EF:EFOption>
<EF:EFOption
label=
"待补充"
value=
"1"
></EF:EFOption>
</EF:EFComboColumn>
<EF:EFColumn
ename=
"materialCode"
cname=
"物料编码"
width=
"100"
readonly=
"false"
required=
"true"
/>
<EF:EFColumn
ename=
"materialName"
cname=
"物料名称"
width=
"100"
readonly=
"false"
required=
"true"
/>
<EF:EFColumn
ename=
"number"
cname=
"数量"
width=
"100"
readonly=
"false"
required=
"true"
/>
<EF:EFColumn
ename=
"weight"
cname=
"重量"
width=
"100"
readonly=
"false"
required=
"true"
/>
<EF:EFColumn
ename=
"remark"
cname=
"备注"
width=
"100"
readonly=
"false"
required=
"true"
/>
<EF:EFColumn
ename=
"remark"
cname=
"备注"
width=
"100"
readonly=
"false"
/>
</EF:EFGrid>
</EF:EFRegion>
...
...
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