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
f053bca3
Commit
f053bca3
authored
Mar 13, 2024
by
wasx8023
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/dev' into dev
parents
2b136631
60b4e99f
Hide whitespace changes
Inline
Side-by-side
Showing
19 changed files
with
58 additions
and
37 deletions
+58
-37
ServiceHPKC005A.java
...java/com/baosight/hpjx/hp/kc/service/ServiceHPKC005A.java
+11
-5
HPKC001.jsp
src/main/webapp/HP/KC/HPKC001.jsp
+1
-1
HPKC002.jsp
src/main/webapp/HP/KC/HPKC002.jsp
+1
-1
HPKC002B.jsp
src/main/webapp/HP/KC/HPKC002B.jsp
+1
-0
HPKC003.jsp
src/main/webapp/HP/KC/HPKC003.jsp
+1
-1
HPKC003A.jsp
src/main/webapp/HP/KC/HPKC003A.jsp
+7
-2
HPKC005A.jsp
src/main/webapp/HP/KC/HPKC005A.jsp
+1
-1
HPKC006.jsp
src/main/webapp/HP/KC/HPKC006.jsp
+1
-1
HPKC007.jsp
src/main/webapp/HP/KC/HPKC007.jsp
+1
-1
HPKC010.jsp
src/main/webapp/HP/KC/HPKC010.jsp
+1
-1
HPKC011.jsp
src/main/webapp/HP/KC/HPKC011.jsp
+10
-9
HPPZ014.jsp
src/main/webapp/HP/PZ/HPPZ014.jsp
+2
-2
HPSC003A.jsp
src/main/webapp/HP/SC/HPSC003A.jsp
+0
-1
HPSC003B.jsp
src/main/webapp/HP/SC/HPSC003B.jsp
+1
-1
HPSC005.jsp
src/main/webapp/HP/SC/HPSC005.jsp
+1
-1
HPSC005B.jsp
src/main/webapp/HP/SC/HPSC005B.jsp
+1
-1
HPSC007.js
src/main/webapp/HP/SC/HPSC007.js
+9
-0
HPSC007.jsp
src/main/webapp/HP/SC/HPSC007.jsp
+3
-3
HPSC098.jsp
src/main/webapp/HP/SC/HPSC098.jsp
+5
-5
No files found.
src/main/java/com/baosight/hpjx/hp/kc/service/ServiceHPKC005A.java
View file @
f053bca3
...
...
@@ -2,6 +2,7 @@ package com.baosight.hpjx.hp.kc.service;
import
com.baosight.hpjx.aspect.annotation.OperationLogAnnotation
;
import
com.baosight.hpjx.common.DdynamicEnum
;
import
com.baosight.hpjx.common.InventTypeEnum
;
import
com.baosight.hpjx.core.constant.CommonConstant
;
import
com.baosight.hpjx.core.dao.DaoUtils
;
import
com.baosight.hpjx.hp.constant.HPConstant
;
...
...
@@ -23,6 +24,7 @@ import com.baosight.iplat4j.ed.util.SequenceGenerator;
import
java.math.BigDecimal
;
import
java.util.Arrays
;
import
java.util.HashMap
;
import
java.util.List
;
import
java.util.Map
;
...
...
@@ -33,7 +35,9 @@ import java.util.Map;
* @date:2022/7/11,11:08
*/
public
class
ServiceHPKC005A
extends
ServiceEPBase
{
// 指定存货类型
private
static
final
Integer
[]
DEFAULT_INVENT_CODE
=
{
InventTypeEnum
.
RAW
.
getCode
(),
InventTypeEnum
.
CONSUMABLE
.
getCode
(),
InventTypeEnum
.
WASTE
.
getCode
()};
/**
* 初始化
*
...
...
@@ -44,10 +48,12 @@ public class ServiceHPKC005A extends ServiceEPBase {
@OperationLogAnnotation
(
operModul
=
"库存查询"
,
operType
=
"查询"
,
operDesc
=
"初始化"
)
public
EiInfo
initLoad
(
EiInfo
inInfo
)
{
try
{
CommonMethod
.
initBlock
(
inInfo
,
Arrays
.
asList
(
DdynamicEnum
.
WH_RECORD_BLOCK_ID
),
null
);
CommonMethod
.
initBlock
(
inInfo
,
Arrays
.
asList
(
DdynamicEnum
.
INVENT_NAME_BLOCK_ID
),
null
);
CommonMethod
.
initBlock
(
inInfo
,
Arrays
.
asList
(
DdynamicEnum
.
INVENT_SPEC_BLOCK_ID
),
null
,
false
);
CommonMethod
.
initBlock
(
inInfo
,
Arrays
.
asList
(
DdynamicEnum
.
SPEC_NAME_BLOCK_ID
),
null
,
false
);
Map
queryMap
=
new
HashMap
();
queryMap
.
put
(
"inventTypes"
,
DEFAULT_INVENT_CODE
);
CommonMethod
.
initBlock
(
inInfo
,
Arrays
.
asList
(
DdynamicEnum
.
WH_RECORD_BLOCK_ID
),
queryMap
,
false
);
CommonMethod
.
initBlock
(
inInfo
,
Arrays
.
asList
(
DdynamicEnum
.
INVENT_NAME_BLOCK_ID
),
queryMap
);
CommonMethod
.
initBlock
(
inInfo
,
Arrays
.
asList
(
DdynamicEnum
.
INVENT_SPEC_BLOCK_ID
),
queryMap
);
CommonMethod
.
initBlock
(
inInfo
,
Arrays
.
asList
(
DdynamicEnum
.
SPEC_NAME_BLOCK_ID
),
queryMap
,
false
);
inInfo
.
addBlock
(
EiConstant
.
resultBlock
).
addBlockMeta
(
new
HPKC010
().
eiMetadata
);
}
catch
(
Exception
e
)
{
LogUtils
.
setDetailMsg
(
inInfo
,
e
,
"初始化失败"
);
...
...
src/main/webapp/HP/KC/HPKC001.jsp
View file @
f053bca3
...
...
@@ -61,7 +61,7 @@
<EF:EFColumn
ename=
"amount"
cname=
"数量"
format=
"{0:N0}"
maxLength=
"20"
width=
"100"
align=
"right"
required=
"true"
readonly=
"true"
/>
<EF:EFColumn
ename=
"unitWeight"
cname=
"单重(KG)"
enable=
"false"
width=
"120"
align=
"right"
format=
"{0:N3}"
/>
<EF:EFColumn
ename=
"weight"
cname=
"
重量
(KG)"
enable=
"false"
width=
"120"
align=
"right"
format=
"{0:N3}"
/>
<EF:EFColumn
ename=
"weight"
cname=
"
总重
(KG)"
enable=
"false"
width=
"120"
align=
"right"
format=
"{0:N3}"
/>
<EF:EFColumn
ename=
"length"
cname=
"长(MM)"
width=
"80"
align=
"right"
format=
"{0:N3}"
readonly=
"true"
/>
<EF:EFColumn
ename=
"width"
cname=
"宽(MM)"
width=
"80"
align=
"right"
format=
"{0:N3}"
readonly=
"true"
/>
<EF:EFColumn
ename=
"thick"
cname=
"厚(MM)"
width=
"80"
align=
"right"
format=
"{0:N3}"
readonly=
"true"
/>
...
...
src/main/webapp/HP/KC/HPKC002.jsp
View file @
f053bca3
...
...
@@ -72,7 +72,7 @@
align=
"right"
/>
<EF:EFColumn
ename=
"unitWeight"
cname=
"单重(KG)"
enable=
"false"
format=
"{0:N3}"
maxLength=
"20"
width=
"100"
align=
"right"
/>
<EF:EFColumn
ename=
"weight"
cname=
"
重量
(KG)"
enable=
"false"
format=
"{0:N3}"
maxLength=
"20"
width=
"100"
<EF:EFColumn
ename=
"weight"
cname=
"
总重
(KG)"
enable=
"false"
format=
"{0:N3}"
maxLength=
"20"
width=
"100"
align=
"right"
/>
<EF:EFColumn
ename=
"remark"
cname=
"备注"
enable=
"false"
width=
"100"
align=
"center"
/>
<EF:EFColumn
ename=
"oldReqNo"
cname=
"原领料单号"
enable=
"false"
width=
"140"
align=
"center"
/>
...
...
src/main/webapp/HP/KC/HPKC002B.jsp
View file @
f053bca3
...
...
@@ -30,6 +30,7 @@
<EF:EFRegion
id=
"result"
title=
"记录集"
>
<EF:EFInput
ename=
"inqu_result-0-hpsc006Id"
type=
"hidden"
/>
<EF:EFGrid
blockId=
"result"
autoDraw=
"override"
autoFit=
"true"
checkMode=
"row"
>
<EF:EFColumn
ename=
"id"
cname=
"库存ID"
enable=
"false"
width=
"60"
align=
"center"
hidden=
"true"
/>
<EF:EFComboColumn
ename=
"inventType"
cname=
"存货类型"
enable=
"false"
width=
"10"
align=
"center"
>
<EF:EFCodeOption
codeName=
"hpjx.hpkc.inventType"
/>
</EF:EFComboColumn>
...
...
src/main/webapp/HP/KC/HPKC003.jsp
View file @
f053bca3
...
...
@@ -51,7 +51,7 @@
<EF:EFColumn
ename=
"partName"
cname=
"零件名称"
enable=
"false"
width=
"120"
align=
"center"
/>
<EF:EFColumn
ename=
"partSpec"
cname=
"零件规格"
enable=
"false"
width=
"150"
align=
"center"
/>
<EF:EFColumn
ename=
"amount"
cname=
"数量"
enable=
"false"
width=
"120"
align=
"right"
format=
"{0:N0}"
/>
<EF:EFColumn
ename=
"weight"
cname=
"
重量
(T)"
enable=
"false"
width=
"120"
align=
"right"
format=
"{0:N3}"
/>
<EF:EFColumn
ename=
"weight"
cname=
"
总重
(T)"
enable=
"false"
width=
"120"
align=
"right"
format=
"{0:N3}"
/>
<EF:EFColumn
ename=
"remark"
cname=
"备注"
enable=
"false"
width=
"150"
/>
<EF:EFColumn
ename=
"prdtCode"
cname=
"部件编码"
enable=
"false"
width=
"120"
align=
"center"
hidden=
"true"
/>
<EF:EFColumn
ename=
"partCode"
cname=
"零件编码"
enable=
"false"
width=
"120"
align=
"center"
hidden=
"true"
/>
...
...
src/main/webapp/HP/KC/HPKC003A.jsp
View file @
f053bca3
...
...
@@ -14,10 +14,15 @@
<EF:EFInput
cname=
"项目名称"
ename=
"projName"
blockId=
"inqu_status"
row=
"0"
colWidth=
"3"
/>
<EF:EFInput
cname=
"部件名称"
ename=
"prdtName"
blockId=
"inqu_status"
row=
"0"
colWidth=
"3"
/>
<EF:EFInput
cname=
"零件名称"
ename=
"partName"
blockId=
"inqu_status"
row=
"0"
colWidth=
"3"
/>
<EF:EFInput
cname=
"厂区名称"
ename=
"factoryName"
blockId=
"inqu_status"
row=
"0"
colWidth=
"3"
/>
<EF:EFComboColumn
ename=
"factoryCode"
cname=
"工厂"
enable=
"false"
width=
"110"
align=
"center"
>
<EF:EFOptions
blockId=
"factory_record_block_id"
valueField=
"valueField"
textField=
"textField"
/>
</EF:EFComboColumn>
</div>
<div
class=
"row"
>
<EF:EFInput
cname=
"生产组名称"
ename=
"orgName"
blockId=
"inqu_status"
row=
"0"
colWidth=
"3"
/>
<
%
--
<
EF:EFInput
cname=
"生产组名称"
ename=
"orgName"
blockId=
"inqu_status"
row=
"0"
colWidth=
"3"
/>
--%>
<EF:EFComboColumn
ename=
"groupCode"
cname=
"生产组"
enable=
"false"
width=
"110"
align=
"center"
>
<EF:EFOptions
blockId=
"group_record_block_id"
valueField=
"valueField"
textField=
"textField"
/>
</EF:EFComboColumn>
</div>
</div>
</EF:EFRegion>
...
...
src/main/webapp/HP/KC/HPKC005A.jsp
View file @
f053bca3
...
...
@@ -10,7 +10,7 @@
<div
class=
"row"
>
<EF:EFSelect
cname=
"存货类型"
ename=
"inqu_status-0-inventType"
colWidth=
"3"
filter=
"contains"
>
<EF:EFOption
label=
"全部"
value=
""
/>
<EF:EFCodeOption
codeName=
"hpjx.hpkc.inventType"
/>
<EF:EFCodeOption
codeName=
"hpjx.hpkc.inventType"
condition=
"ITEM_CODE IN ('1', '2', '5')"
/>
</EF:EFSelect>
<EF:EFSelect
cname=
"仓库名称"
ename=
"inqu_status-0-whCode"
colWidth=
"3"
filter=
"contains"
>
<EF:EFOption
label=
"全部"
value=
""
/>
...
...
src/main/webapp/HP/KC/HPKC006.jsp
View file @
f053bca3
...
...
@@ -60,7 +60,7 @@
<EF:EFColumn
ename=
"amount"
cname=
"数量"
format=
"{0:N0}"
maxLength=
"20"
width=
"100"
align=
"right"
sumType=
"all"
required=
"true"
readonly=
"true"
/>
<EF:EFColumn
ename=
"unitWeight"
cname=
"单重"
enable=
"false"
width=
"120"
align=
"right"
format=
"{0:N3}"
/>
<EF:EFColumn
ename=
"weight"
cname=
"
重量
"
enable=
"false"
width=
"120"
align=
"right"
format=
"{0:N3}"
<EF:EFColumn
ename=
"weight"
cname=
"
总重
"
enable=
"false"
width=
"120"
align=
"right"
format=
"{0:N3}"
sumType=
"all"
/>
<EF:EFColumn
ename=
"length"
cname=
"长"
width=
"100"
align=
"center"
format=
"{0:N3}"
required=
"false"
readonly=
"true"
/>
...
...
src/main/webapp/HP/KC/HPKC007.jsp
View file @
f053bca3
...
...
@@ -66,7 +66,7 @@
<EF:EFColumn
ename=
"amount"
cname=
"数量"
enable=
"false"
format=
"{0:N0}"
width=
"100"
align=
"right"
sumType=
"all"
/>
<EF:EFColumn
ename=
"unitWeight"
cname=
"单重(KG)"
enable=
"false"
format=
"{0:N3}"
width=
"100"
align=
"right"
/>
<EF:EFColumn
ename=
"weight"
cname=
"
重量
(KG)"
enable=
"false"
format=
"{0:N3}"
width=
"100"
align=
"right"
<EF:EFColumn
ename=
"weight"
cname=
"
总重
(KG)"
enable=
"false"
format=
"{0:N3}"
width=
"100"
align=
"right"
sumType=
"all"
/>
<EF:EFColumn
ename=
"remark"
cname=
"备注"
enable=
"false"
width=
"150"
/>
<EF:EFColumn
ename=
"oldOuterNo"
cname=
"原出库单号"
enable=
"false"
width=
"140"
align=
"center"
/>
...
...
src/main/webapp/HP/KC/HPKC010.jsp
View file @
f053bca3
...
...
@@ -46,7 +46,7 @@
<EF:EFColumn
ename=
"unit"
cname=
"单位"
width=
"120"
align=
"center"
enable=
"false"
/>
<EF:EFColumn
ename=
"amount"
cname=
"数量"
enable=
"false"
width=
"100"
align=
"right"
format=
"{0:N0}"
/>
<EF:EFColumn
ename=
"unitWeight"
cname=
"单重(KG)"
enable=
"false"
width=
"100"
align=
"right"
format=
"{0:N3}"
/>
<EF:EFColumn
ename=
"weight"
cname=
"
重量
(KG)"
enable=
"false"
width=
"100"
align=
"right"
format=
"{0:N3}"
/>
<EF:EFColumn
ename=
"weight"
cname=
"
总重
(KG)"
enable=
"false"
width=
"100"
align=
"right"
format=
"{0:N3}"
/>
<EF:EFColumn
ename=
"createdName"
cname=
"创建人"
enable=
"false"
width=
"100"
align=
"center"
/>
<EF:EFColumn
ename=
"createdTime"
cname=
"创建时刻"
enable=
"false"
width=
"140"
align=
"center"
editType=
"datetime"
parseFormats=
"['yyyyMMddHHmmss']"
/>
...
...
src/main/webapp/HP/KC/HPKC011.jsp
View file @
f053bca3
...
...
@@ -15,16 +15,17 @@
<EF:EFOption
label=
"全部"
value=
""
/>
<EF:EFOptions
blockId=
"wh_record_block_id"
textField=
"textField"
valueField=
"valueField"
/>
</EF:EFSelect>
<EF:EFSelect
ename=
"inqu_status-0-inventCode"
cname=
"部件名称"
colWidth=
"3"
filter=
"contains"
defultValue=
""
>
<EF:EFOption
label=
"全部"
value=
""
/>
<EF:EFOptions
blockId=
"material_record_block_id"
textField=
"textField"
valueField=
"valueField"
/>
</EF:EFSelect>
<EF:EFSelect
ename=
"inqu_status-0-subInventCode"
cname=
"零件名称"
colWidth=
"3"
filter=
"contains"
defultValue=
""
>
<EF:EFOption
label=
"全部"
value=
""
/>
<EF:EFOptions
blockId=
"material_record_block_id"
textField=
"textField"
valueField=
"valueField"
/>
</EF:EFSelect>
</div>
<div
class=
"row"
>
<EF:EFSelect
ename=
"inqu_status-0-inventCode"
cname=
"部件名称"
colWidth=
"3"
filter=
"contains"
defultValue=
""
>
<EF:EFOption
label=
"全部"
value=
""
/>
<EF:EFOptions
blockId=
"material_record_block_id"
textField=
"textField"
valueField=
"valueField"
/>
</EF:EFSelect>
<EF:EFSelect
ename=
"inqu_status-0-subInventCode"
cname=
"零件名称"
colWidth=
"3"
filter=
"contains"
defultValue=
""
>
<EF:EFOption
label=
"全部"
value=
""
/>
<EF:EFOptions
blockId=
"material_record_block_id"
textField=
"textField"
valueField=
"valueField"
/>
</EF:EFSelect>
</div>
</EF:EFRegion>
...
...
@@ -47,7 +48,7 @@
<EF:EFColumn
ename=
"prdtSpec"
cname=
"规格"
enable=
"false"
width=
"150"
align=
"center"
/>
<EF:EFColumn
ename=
"amount"
cname=
"数量"
format=
"{0:N0}"
maxLength=
"20"
width=
"90"
align=
"right"
required=
"true"
enable=
"false"
/>
<EF:EFColumn
ename=
"unitWeight"
cname=
"单重(T)"
format=
"{0:N3}"
maxLength=
"20"
width=
"90"
align=
"right"
enable=
"false"
/>
<EF:EFColumn
ename=
"weight"
cname=
"
重量
(T)"
format=
"{0:N3}"
maxLength=
"20"
width=
"90"
align=
"right"
enable=
"false"
/>
<EF:EFColumn
ename=
"weight"
cname=
"
总重
(T)"
format=
"{0:N3}"
maxLength=
"20"
width=
"90"
align=
"right"
enable=
"false"
/>
<
%
--
<
EF:EFColumn
ename=
"remark"
cname=
"备注"
width=
"120"
align=
"center"
enable=
"false"
/>
--%>
<EF:EFColumn
ename=
"createdBy"
cname=
"创建人"
enable=
"false"
width=
"100"
align=
"center"
/>
<EF:EFColumn
ename=
"createdTime"
cname=
"创建时刻"
enable=
"false"
width=
"140"
align=
"center"
...
...
src/main/webapp/HP/PZ/HPPZ014.jsp
View file @
f053bca3
...
...
@@ -39,7 +39,8 @@
<EF:EFRegion
id=
"result"
title=
"记录集"
>
<EF:EFGrid
blockId=
"result"
autoDraw=
"override"
checkMode=
"row"
>
<EF:EFColumn
ename=
"id"
cname=
"主键"
hidden=
"true"
/>
<EF:EFComboColumn
ename=
"factoryCode"
cname=
"厂区"
enable=
"false"
width=
"110"
align=
"center"
>
<EF:EFColumn
ename=
"userId"
cname=
"工号"
enable=
"false"
width=
"120"
align=
"center"
/>
<EF:EFComboColumn
ename=
"factoryCode"
cname=
"工厂"
enable=
"false"
width=
"110"
align=
"center"
>
<EF:EFOptions
blockId=
"factory_record_block_id"
valueField=
"valueField"
textField=
"textField"
/>
</EF:EFComboColumn>
<EF:EFComboColumn
ename=
"groupType"
cname=
"部门类型"
enable=
"false"
width=
"80"
align=
"center"
>
...
...
@@ -48,7 +49,6 @@
<EF:EFComboColumn
ename=
"groupCode"
cname=
"生产部门"
enable=
"false"
width=
"110"
align=
"center"
>
<EF:EFOptions
blockId=
"group_record_block_id"
valueField=
"valueField"
textField=
"textField"
/>
</EF:EFComboColumn>
<EF:EFColumn
ename=
"userId"
cname=
"工号"
enable=
"false"
width=
"120"
align=
"center"
/>
<EF:EFColumn
ename=
"userName"
cname=
"姓名"
enable=
"false"
width=
"120"
align=
"center"
/>
<EF:EFComboColumn
ename=
"gender"
cname=
"性别"
enable=
"false"
width=
"80"
align=
"center"
valueField=
"valueField"
textField=
"textField"
>
...
...
src/main/webapp/HP/SC/HPSC003A.jsp
View file @
f053bca3
...
...
@@ -10,7 +10,6 @@
<EF:EFInput
ename=
"inqu_status-0-planInfoNo"
cname=
"生产计划单号"
type=
"hidden"
/>
<div
class=
"row"
>
<EF:EFSelect
cname=
"厂区"
ename=
"factoryCode"
blockId=
"inqu_status"
row=
"0"
colWidth=
"3"
filter=
"contains"
>
<EF:EFOption
label=
"全部"
value=
""
/>
<EF:EFOptions
blockId=
"factory_record_block_id"
textField=
"textField"
valueField=
"valueField"
/>
</EF:EFSelect>
</div>
...
...
src/main/webapp/HP/SC/HPSC003B.jsp
View file @
f053bca3
...
...
@@ -20,7 +20,7 @@
<EF:EFColumn
ename=
"num"
cname=
"数量"
enable=
"false"
width=
"100"
align=
"right"
format=
"{0:N0}"
/>
<EF:EFColumn
ename=
"unitWt"
cname=
"单重(T)"
enable=
"false"
width=
"100"
align=
"right"
format=
"{0:N3}"
/>
<EF:EFColumn
ename=
"totalWt"
cname=
"重量(T)"
enable=
"false"
width=
"100"
align=
"right"
format=
"{0:N3}"
/>
<EF:EFColumn
ename=
"remark1"
cname=
"零件备注"
/>
<EF:EFColumn
ename=
"remark1"
cname=
"零件备注"
width=
"100"
align=
"right"
enable=
"false"
/>
<EF:EFColumn
ename=
"factoryName"
cname=
"厂区"
enable=
"false"
width=
"140"
align=
"center"
/>
<EF:EFColumn
ename=
"factoryCode"
cname=
"厂区"
enable=
"false"
width=
"140"
align=
"center"
hidden=
"true"
/>
<EF:EFColumn
ename=
"orgName"
cname=
"生产组"
enable=
"false"
width=
"140"
align=
"center"
hidden=
"true"
/>
...
...
src/main/webapp/HP/SC/HPSC005.jsp
View file @
f053bca3
...
...
@@ -44,7 +44,7 @@
<EF:EFColumn
ename=
"assignedNum"
cname=
"派工数量"
enable=
"false"
width=
"80"
align=
"right"
format=
"{0:N0}"
/>
<EF:EFColumn
ename=
"unassignedNum"
cname=
"剩余数量"
enable=
"false"
width=
"80"
align=
"right"
format=
"{0:N0}"
/>
<EF:EFColumn
ename=
"num"
cname=
"数量"
enable=
"false"
width=
"80"
align=
"right"
format=
"{0:N0}"
/>
<EF:EFColumn
ename=
"totalWt"
cname=
"
重量
(T)"
enable=
"false"
width=
"80"
align=
"right"
format=
"{0:N3}"
/>
<EF:EFColumn
ename=
"totalWt"
cname=
"
总重
(T)"
enable=
"false"
width=
"80"
align=
"right"
format=
"{0:N3}"
/>
<
%
--
<
EF:EFColumn
ename=
"remark"
cname=
"部件备注"
enable=
"false"
/>
--%>
<EF:EFColumn
ename=
"remark1"
cname=
"零件备注"
enable=
"false"
/>
<EF:EFColumn
ename=
"projCode"
cname=
"项目号"
enable=
"false"
width=
"100"
align=
"center"
hidden=
"true"
/>
...
...
src/main/webapp/HP/SC/HPSC005B.jsp
View file @
f053bca3
...
...
@@ -42,7 +42,7 @@
<EF:EFColumn
ename=
"completeNum"
cname=
"完成数量"
enable=
"false"
width=
"100"
align=
"right"
format=
"{0:N0}"
/>
<EF:EFColumn
ename=
"unCompleteNum"
cname=
"剩余数量"
enable=
"false"
width=
"100"
align=
"right"
format=
"{0:N0}"
/>
<EF:EFColumn
ename=
"num"
cname=
"数量"
enable=
"false"
width=
"100"
align=
"right"
format=
"{0:N0}"
/>
<EF:EFColumn
ename=
"totalWt"
cname=
"
重量
(T)"
enable=
"false"
width=
"100"
align=
"right"
format=
"{0:N3}"
/>
<EF:EFColumn
ename=
"totalWt"
cname=
"
总重
(T)"
enable=
"false"
width=
"100"
align=
"right"
format=
"{0:N3}"
/>
<EF:EFColumn
ename=
"factoryName"
cname=
"厂区名称"
enable=
"false"
width=
"140"
align=
"center"
/>
<EF:EFColumn
ename=
"orgName"
cname=
"生产组名称"
enable=
"false"
width=
"140"
align=
"center"
/>
<EF:EFColumn
ename=
"prodOrderNo"
cname=
"生产订单号"
enable=
"false"
width=
"140"
align=
"center"
hidden=
"true"
/>
...
...
src/main/webapp/HP/SC/HPSC007.js
View file @
f053bca3
...
...
@@ -6,6 +6,15 @@ $(function () {
pageSize
:
20
,
pageSizes
:
[
10
,
20
,
50
,
70
,
100
],
},
columns
:[{
field
:
"actualCompletionDate"
,
attributes
:
{
class
:
"i-input-readonly"
,
},
defaultValue
:
function
()
{
return
currDate
();
}
}],
onDelete
:
function
(
e
)
{
// 阻止后台删除请求,使用自定义删除
e
.
preventDefault
();
...
...
src/main/webapp/HP/SC/HPSC007.jsp
View file @
f053bca3
...
...
@@ -43,17 +43,17 @@
<EF:EFInput
ename=
"productionOrderNo"
type=
"hidden"
/>
<EF:EFGrid
blockId=
"result"
autoDraw=
"override"
checkMode=
"row"
>
<EF:EFColumn
ename=
"id"
cname=
"主键"
hidden=
"true"
/>
<EF:EFColumn
ename=
"actualCompletionDate"
editType=
"date"
required=
"true"
cname=
"完成日期"
dateFormat=
"yyyy-MM-dd"
parseFormats=
"['yyyyMMdd']"
/>
<EF:EFColumn
ename=
"actualCompletionDate"
editType=
"date"
required=
"true"
align=
"center"
cname=
"完成日期"
dateFormat=
"yyyy-MM-dd"
parseFormats=
"['yyyyMMdd']"
/>
<EF:EFColumn
ename=
"hpsc006Id"
cname=
"生产下料ID"
hidden=
"true"
/>
<EF:EFComboColumn
ename=
"userId"
cname=
"完成人"
width=
"100"
align=
"center"
filter=
"contains"
readonly=
"true"
required=
"true"
>
<EF:EFOptions
blockId=
"worker_block_id"
valueField=
"valueField"
textField=
"textField"
/>
</EF:EFComboColumn>
<EF:EFColumn
ename=
"userName"
cname=
"完成名称"
hidden=
"true"
/>
<EF:EFColumn
ename=
"actualCompletionNum"
cname=
"完成数量"
required=
"true"
format=
"{0:N3}"
maxLength=
"12"
displayType=
"0.000"
<EF:EFColumn
ename=
"actualCompletionNum"
cname=
"完成数量"
required=
"true"
format=
"{0:N3}"
maxLength=
"12"
displayType=
"0.000"
align=
"center"
data-regex=
"/^-?[0-9]{1,9}$/"
data-errorprompt=
"请输入数字,该值最大可设置9位整数!"
/>
<EF:EFColumn
ename=
"actualCompletionTotalWt"
cname=
"完成重量(T)"
enable=
"false"
format=
"{0:N3}"
maxLength=
"12"
displayType=
"0.000"
<EF:EFColumn
ename=
"actualCompletionTotalWt"
cname=
"完成重量(T)"
enable=
"false"
format=
"{0:N3}"
maxLength=
"12"
displayType=
"0.000"
align=
"center"
data-regex=
"/^-?[0-9]{1,9}([.][0-9]{1,3})?$/"
data-errorprompt=
"请输入数字,该值最大可设置9位整数和3位小数!"
/>
</EF:EFGrid>
...
...
src/main/webapp/HP/SC/HPSC098.jsp
View file @
f053bca3
...
...
@@ -12,12 +12,12 @@
<
%
--
<
EF:EFInput
cname=
"厂区名称"
ename=
"factoryName"
blockId=
"inqu_status"
row=
"0"
colWidth=
"3"
/>
--%>
<
%
--
<
EF:EFInput
cname=
"组织名称"
ename=
"groupName"
blockId=
"inqu_status"
row=
"0"
colWidth=
"3"
/>
--%>
<EF:EFSelect
ename=
"inqu_status-0-factoryCode"
cname=
"厂区名称"
colWidth=
"
3
"
filter=
"contains"
<EF:EFSelect
ename=
"inqu_status-0-factoryCode"
cname=
"厂区名称"
colWidth=
"
2
"
filter=
"contains"
template=
"#=textField#"
valueTemplate=
"#=textField#"
>
<EF:EFOption
label=
"全部"
value=
""
/>
<EF:EFOptions
blockId=
"factory_record_block_id"
textField=
"textField"
valueField=
"valueField"
/>
</EF:EFSelect>
<EF:EFSelect
ename=
"inqu_status-0-groupCode"
cname=
"组织名称"
filter=
"contains"
required=
"false"
colWidth=
"
3
"
<EF:EFSelect
ename=
"inqu_status-0-groupCode"
cname=
"组织名称"
filter=
"contains"
required=
"false"
colWidth=
"
2
"
template=
"#=textField#"
valueTemplate=
"#=valueField#"
defaultValue=
"请选择"
>
<EF:EFOption
label=
"请选择"
value=
""
/>
<EF:EFOptions
blockId=
"group_record_block_id"
textField=
"textField"
valueField=
"valueField"
/>
...
...
@@ -27,9 +27,9 @@
<EF:EFRegion
id=
"result"
title=
"明细信息"
>
<EF:EFGrid
blockId=
"result"
autoDraw=
"override"
isFloat=
"true"
checkMode=
"single,row"
>
<EF:EFColumn
ename=
"factoryCode"
cname=
"厂区编码"
enable=
"false"
width=
"120"
align=
"center"
/>
<EF:EFColumn
ename=
"factoryName"
cname=
"厂区名称"
enable=
"false"
width=
"120"
align=
"center"
/>
<EF:EFColumn
ename=
"groupCode"
cname=
"组织编码"
enable=
"false"
width=
"120"
align=
"center"
/>
<EF:EFColumn
ename=
"factoryCode"
cname=
"厂区编码"
enable=
"false"
width=
"120"
align=
"center"
hidden=
"true"
/>
<EF:EFColumn
ename=
"factoryName"
cname=
"厂区名称"
enable=
"false"
width=
"120"
align=
"center"
/>
<EF:EFColumn
ename=
"groupCode"
cname=
"组织编码"
enable=
"false"
width=
"120"
align=
"center"
hidden=
"true"
/>
<EF:EFColumn
ename=
"groupName"
cname=
"组织名称"
enable=
"false"
width=
"120"
align=
"center"
/>
</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