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
8fef1e5d
Commit
8fef1e5d
authored
Feb 22, 2024
by
liulei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
生产计划、生产订单
parent
11ffad45
Hide whitespace changes
Inline
Side-by-side
Showing
34 changed files
with
372 additions
and
147 deletions
+372
-147
DdynamicEnum.java
src/main/java/com/baosight/hpjx/common/DdynamicEnum.java
+2
-2
InventTypeEnum.java
src/main/java/com/baosight/hpjx/common/InventTypeEnum.java
+1
-1
ProdOrderStatusEnum.java
...in/java/com/baosight/hpjx/common/ProdOrderStatusEnum.java
+1
-1
HPKC004.java
src/main/java/com/baosight/hpjx/hp/kc/domain/HPKC004.java
+14
-14
HPKC011.java
src/main/java/com/baosight/hpjx/hp/kc/domain/HPKC011.java
+8
-8
HPKC004.xml
src/main/java/com/baosight/hpjx/hp/kc/sql/HPKC004.xml
+6
-6
HPKC011.xml
src/main/java/com/baosight/hpjx/hp/kc/sql/HPKC011.xml
+4
-4
ServiceHPSC005A.java
...java/com/baosight/hpjx/hp/sc/service/ServiceHPSC005A.java
+7
-2
ServiceHPSC005C.java
...java/com/baosight/hpjx/hp/sc/service/ServiceHPSC005C.java
+69
-0
HPSC004.xml
src/main/java/com/baosight/hpjx/hp/sc/sql/HPSC004.xml
+1
-1
HPSCTools.java
src/main/java/com/baosight/hpjx/hp/sc/tools/HPSCTools.java
+32
-1
HPZL001.java
src/main/java/com/baosight/hpjx/hp/zl/domain/HPZL001.java
+14
-14
ServiceHPZL001.java
.../java/com/baosight/hpjx/hp/zl/service/ServiceHPZL001.java
+1
-1
HPZL001.xml
src/main/java/com/baosight/hpjx/hp/zl/sql/HPZL001.xml
+4
-4
HPKC003.jsp
src/main/webapp/HP/KC/HPKC003.jsp
+4
-4
HPKC003A.jsp
src/main/webapp/HP/KC/HPKC003A.jsp
+4
-4
HPKC004.jsp
src/main/webapp/HP/KC/HPKC004.jsp
+3
-3
HPKC004A.jsp
src/main/webapp/HP/KC/HPKC004A.jsp
+4
-4
HPKC011.jsp
src/main/webapp/HP/KC/HPKC011.jsp
+2
-2
HPSC002.js
src/main/webapp/HP/SC/HPSC002.js
+1
-1
HPSC002.jsp
src/main/webapp/HP/SC/HPSC002.jsp
+1
-1
HPSC003.js
src/main/webapp/HP/SC/HPSC003.js
+3
-3
HPSC003.jsp
src/main/webapp/HP/SC/HPSC003.jsp
+20
-21
HPSC005.js
src/main/webapp/HP/SC/HPSC005.js
+16
-1
HPSC005.jsp
src/main/webapp/HP/SC/HPSC005.jsp
+16
-15
HPSC005A.jsp
src/main/webapp/HP/SC/HPSC005A.jsp
+1
-1
HPSC005B.jsp
src/main/webapp/HP/SC/HPSC005B.jsp
+1
-1
HPSC005C.js
src/main/webapp/HP/SC/HPSC005C.js
+56
-0
HPSC005C.jsp
src/main/webapp/HP/SC/HPSC005C.jsp
+56
-0
HPSC007.jsp
src/main/webapp/HP/SC/HPSC007.jsp
+11
-18
HPZL001.js
src/main/webapp/HP/ZL/HPZL001.js
+1
-1
HPZL001.jsp
src/main/webapp/HP/ZL/HPZL001.jsp
+3
-3
HPZL001A.jsp
src/main/webapp/HP/ZL/HPZL001A.jsp
+1
-1
HPZL001B.jsp
src/main/webapp/HP/ZL/HPZL001B.jsp
+4
-4
No files found.
src/main/java/com/baosight/hpjx/common/DdynamicEnum.java
View file @
8fef1e5d
...
@@ -141,7 +141,7 @@ public enum DdynamicEnum {
...
@@ -141,7 +141,7 @@ public enum DdynamicEnum {
INVENT_RECORD_BLOCK_ID
(
"invent_record_block_id"
,
"prdtCode"
,
"prdtName"
,
"HPSC003.queryInventComboBox"
),
INVENT_RECORD_BLOCK_ID
(
"invent_record_block_id"
,
"prdtCode"
,
"prdtName"
,
"HPSC003.queryInventComboBox"
),
/**
/**
* 模块:零
部
件档案
* 模块:零件档案
* 用途:项目档案下拉框
* 用途:项目档案下拉框
* 编写:wwl
* 编写:wwl
*/
*/
...
@@ -181,7 +181,7 @@ public enum DdynamicEnum {
...
@@ -181,7 +181,7 @@ public enum DdynamicEnum {
/**
/**
* 模块:物料清单
* 模块:物料清单
* 用途:物料清单部件类型 耗材 零
部
件 部件
* 用途:物料清单部件类型 耗材 零件 部件
* 编写:ly
* 编写:ly
*/
*/
CODESET_CODE_BLOCK_ID
(
"codeset_code_block_id"
,
"itemCode"
,
"itemCname"
,
"HPSC002.querySmallCode"
);
CODESET_CODE_BLOCK_ID
(
"codeset_code_block_id"
,
"itemCode"
,
"itemCname"
,
"HPSC002.querySmallCode"
);
...
...
src/main/java/com/baosight/hpjx/common/InventTypeEnum.java
View file @
8fef1e5d
...
@@ -11,7 +11,7 @@ import java.util.*;
...
@@ -11,7 +11,7 @@ import java.util.*;
public
enum
InventTypeEnum
{
public
enum
InventTypeEnum
{
RAW
(
1
,
"原料"
),
RAW
(
1
,
"原料"
),
CONSUMABLE
(
2
,
"耗材"
),
CONSUMABLE
(
2
,
"耗材"
),
SEMI_FINISHED_PRODUCT
(
3
,
"零
部
件"
),
SEMI_FINISHED_PRODUCT
(
3
,
"零件"
),
FINISHED_PRODUCT
(
4
,
"部件"
),
FINISHED_PRODUCT
(
4
,
"部件"
),
WASTE
(
5
,
"废料"
),
WASTE
(
5
,
"废料"
),
OTHER
(
6
,
"其他"
),
OTHER
(
6
,
"其他"
),
...
...
src/main/java/com/baosight/hpjx/common/ProdOrderStatusEnum.java
View file @
8fef1e5d
...
@@ -7,7 +7,7 @@ package com.baosight.hpjx.common;
...
@@ -7,7 +7,7 @@ package com.baosight.hpjx.common;
public
enum
ProdOrderStatusEnum
{
public
enum
ProdOrderStatusEnum
{
NOT_ASSIGN
(
0
,
"未分派"
),
NOT_ASSIGN
(
0
,
"未分派"
),
PART_ASSIGN
(
1
,
"部分分派"
),
PART_ASSIGN
(
1
,
"部分分派"
),
ALL_ASSIGN
(
1
,
"全部分派"
);
ALL_ASSIGN
(
2
,
"全部分派"
);
private
Integer
code
;
private
Integer
code
;
private
String
value
;
private
String
value
;
...
...
src/main/java/com/baosight/hpjx/hp/kc/domain/HPKC004.java
View file @
8fef1e5d
...
@@ -34,8 +34,8 @@ public class HPKC004 extends DaoEPBase {
...
@@ -34,8 +34,8 @@ public class HPKC004 extends DaoEPBase {
public
static
final
String
FIELD_PROJ_NAME
=
"projName"
;
/* 项目名称*/
public
static
final
String
FIELD_PROJ_NAME
=
"projName"
;
/* 项目名称*/
public
static
final
String
FIELD_INVENT_CODE
=
"inventCode"
;
/* 部件编码*/
public
static
final
String
FIELD_INVENT_CODE
=
"inventCode"
;
/* 部件编码*/
public
static
final
String
FIELD_INVENT_NAME
=
"inventName"
;
/* 部件名称*/
public
static
final
String
FIELD_INVENT_NAME
=
"inventName"
;
/* 部件名称*/
public
static
final
String
FIELD_SUB_INVENT_CODE
=
"subInventCode"
;
/* 零
部
件编码*/
public
static
final
String
FIELD_SUB_INVENT_CODE
=
"subInventCode"
;
/* 零件编码*/
public
static
final
String
FIELD_SUB_INVENT_NAME
=
"subInventName"
;
/* 零
部
件名称*/
public
static
final
String
FIELD_SUB_INVENT_NAME
=
"subInventName"
;
/* 零件名称*/
public
static
final
String
FIELD_LENGTH
=
"length"
;
/* 长*/
public
static
final
String
FIELD_LENGTH
=
"length"
;
/* 长*/
public
static
final
String
FIELD_WIDTH
=
"width"
;
/* 宽*/
public
static
final
String
FIELD_WIDTH
=
"width"
;
/* 宽*/
public
static
final
String
FIELD_THICK
=
"thick"
;
/* 厚*/
public
static
final
String
FIELD_THICK
=
"thick"
;
/* 厚*/
...
@@ -66,8 +66,8 @@ public class HPKC004 extends DaoEPBase {
...
@@ -66,8 +66,8 @@ public class HPKC004 extends DaoEPBase {
public
static
final
String
COL_PROJ_NAME
=
"PROJ_NAME"
;
/* 项目名称*/
public
static
final
String
COL_PROJ_NAME
=
"PROJ_NAME"
;
/* 项目名称*/
public
static
final
String
COL_INVENT_CODE
=
"INVENT_CODE"
;
/* 部件编码*/
public
static
final
String
COL_INVENT_CODE
=
"INVENT_CODE"
;
/* 部件编码*/
public
static
final
String
COL_INVENT_NAME
=
"INVENT_NAME"
;
/* 部件名称*/
public
static
final
String
COL_INVENT_NAME
=
"INVENT_NAME"
;
/* 部件名称*/
public
static
final
String
COL_SUB_INVENT_CODE
=
"SUB_INVENT_CODE"
;
/* 零
部
件编码*/
public
static
final
String
COL_SUB_INVENT_CODE
=
"SUB_INVENT_CODE"
;
/* 零件编码*/
public
static
final
String
COL_SUB_INVENT_NAME
=
"SUB_INVENT_NAME"
;
/* 零
部
件名称*/
public
static
final
String
COL_SUB_INVENT_NAME
=
"SUB_INVENT_NAME"
;
/* 零件名称*/
public
static
final
String
COL_LENGTH
=
"LENGTH"
;
/* 长*/
public
static
final
String
COL_LENGTH
=
"LENGTH"
;
/* 长*/
public
static
final
String
COL_WIDTH
=
"WIDTH"
;
/* 宽*/
public
static
final
String
COL_WIDTH
=
"WIDTH"
;
/* 宽*/
public
static
final
String
COL_THICK
=
"THICK"
;
/* 厚*/
public
static
final
String
COL_THICK
=
"THICK"
;
/* 厚*/
...
@@ -104,8 +104,8 @@ public class HPKC004 extends DaoEPBase {
...
@@ -104,8 +104,8 @@ public class HPKC004 extends DaoEPBase {
private
String
projName
=
" "
;
/* 项目名称*/
private
String
projName
=
" "
;
/* 项目名称*/
private
String
inventCode
=
" "
;
/* 部件编码*/
private
String
inventCode
=
" "
;
/* 部件编码*/
private
String
inventName
=
" "
;
/* 部件名称*/
private
String
inventName
=
" "
;
/* 部件名称*/
private
String
subInventCode
=
" "
;
/* 零
部
件编码*/
private
String
subInventCode
=
" "
;
/* 零件编码*/
private
String
subInventName
=
" "
;
/* 零
部
件名称*/
private
String
subInventName
=
" "
;
/* 零件名称*/
private
BigDecimal
length
=
new
BigDecimal
(
"0"
);
/* 长*/
private
BigDecimal
length
=
new
BigDecimal
(
"0"
);
/* 长*/
private
BigDecimal
width
=
new
BigDecimal
(
"0"
);
/* 宽*/
private
BigDecimal
width
=
new
BigDecimal
(
"0"
);
/* 宽*/
private
BigDecimal
thick
=
new
BigDecimal
(
"0"
);
/* 厚*/
private
BigDecimal
thick
=
new
BigDecimal
(
"0"
);
/* 厚*/
...
@@ -180,11 +180,11 @@ public class HPKC004 extends DaoEPBase {
...
@@ -180,11 +180,11 @@ public class HPKC004 extends DaoEPBase {
eiMetadata
.
addMeta
(
eiColumn
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
FIELD_SUB_INVENT_CODE
);
eiColumn
=
new
EiColumn
(
FIELD_SUB_INVENT_CODE
);
eiColumn
.
setDescName
(
"零
部
件编码"
);
eiColumn
.
setDescName
(
"零件编码"
);
eiMetadata
.
addMeta
(
eiColumn
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
FIELD_SUB_INVENT_NAME
);
eiColumn
=
new
EiColumn
(
FIELD_SUB_INVENT_NAME
);
eiColumn
.
setDescName
(
"零
部
件名称"
);
eiColumn
.
setDescName
(
"零件名称"
);
eiMetadata
.
addMeta
(
eiColumn
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
FIELD_LENGTH
);
eiColumn
=
new
EiColumn
(
FIELD_LENGTH
);
...
@@ -476,7 +476,7 @@ public class HPKC004 extends DaoEPBase {
...
@@ -476,7 +476,7 @@ public class HPKC004 extends DaoEPBase {
this
.
inventName
=
inventName
;
this
.
inventName
=
inventName
;
}
}
/**
/**
* get the subInventCode - 零
部
件编码.
* get the subInventCode - 零件编码.
* @return the subInventCode
* @return the subInventCode
*/
*/
public
String
getSubInventCode
()
{
public
String
getSubInventCode
()
{
...
@@ -484,15 +484,15 @@ public class HPKC004 extends DaoEPBase {
...
@@ -484,15 +484,15 @@ public class HPKC004 extends DaoEPBase {
}
}
/**
/**
* set the subInventCode - 零
部
件编码.
* set the subInventCode - 零件编码.
*
*
* @param subInventCode - 零
部
件编码
* @param subInventCode - 零件编码
*/
*/
public
void
setSubInventCode
(
String
subInventCode
)
{
public
void
setSubInventCode
(
String
subInventCode
)
{
this
.
subInventCode
=
subInventCode
;
this
.
subInventCode
=
subInventCode
;
}
}
/**
/**
* get the subInventName - 零
部
件名称.
* get the subInventName - 零件名称.
* @return the subInventName
* @return the subInventName
*/
*/
public
String
getSubInventName
()
{
public
String
getSubInventName
()
{
...
@@ -500,9 +500,9 @@ public class HPKC004 extends DaoEPBase {
...
@@ -500,9 +500,9 @@ public class HPKC004 extends DaoEPBase {
}
}
/**
/**
* set the subInventName - 零
部
件名称.
* set the subInventName - 零件名称.
*
*
* @param subInventName - 零
部
件名称
* @param subInventName - 零件名称
*/
*/
public
void
setSubInventName
(
String
subInventName
)
{
public
void
setSubInventName
(
String
subInventName
)
{
this
.
subInventName
=
subInventName
;
this
.
subInventName
=
subInventName
;
...
...
src/main/java/com/baosight/hpjx/hp/kc/domain/HPKC011.java
View file @
8fef1e5d
...
@@ -33,8 +33,8 @@ public class HPKC011 extends DaoEPBase {
...
@@ -33,8 +33,8 @@ public class HPKC011 extends DaoEPBase {
public
static
final
String
FIELD_PROJ_NAME
=
"projName"
;
/* 项目名称*/
public
static
final
String
FIELD_PROJ_NAME
=
"projName"
;
/* 项目名称*/
public
static
final
String
FIELD_INVENT_CODE
=
"inventCode"
;
/* 部件编码*/
public
static
final
String
FIELD_INVENT_CODE
=
"inventCode"
;
/* 部件编码*/
public
static
final
String
FIELD_INVENT_NAME
=
"inventName"
;
/* 部件名称*/
public
static
final
String
FIELD_INVENT_NAME
=
"inventName"
;
/* 部件名称*/
public
static
final
String
FIELD_SUB_INVENT_CODE
=
"subInventCode"
;
/* 零
部
件编码*/
public
static
final
String
FIELD_SUB_INVENT_CODE
=
"subInventCode"
;
/* 零件编码*/
public
static
final
String
FIELD_SUB_INVENT_NAME
=
"subInventName"
;
/* 零
部
件名称*/
public
static
final
String
FIELD_SUB_INVENT_NAME
=
"subInventName"
;
/* 零件名称*/
public
static
final
String
FIELD_LENGTH
=
"length"
;
/* 长*/
public
static
final
String
FIELD_LENGTH
=
"length"
;
/* 长*/
public
static
final
String
FIELD_WIDTH
=
"width"
;
/* 宽*/
public
static
final
String
FIELD_WIDTH
=
"width"
;
/* 宽*/
public
static
final
String
FIELD_THICK
=
"thick"
;
/* 厚*/
public
static
final
String
FIELD_THICK
=
"thick"
;
/* 厚*/
...
@@ -60,8 +60,8 @@ public class HPKC011 extends DaoEPBase {
...
@@ -60,8 +60,8 @@ public class HPKC011 extends DaoEPBase {
public
static
final
String
COL_PROJ_NAME
=
"FIELD_PROJ_NAME"
;
/* 项目名称*/
public
static
final
String
COL_PROJ_NAME
=
"FIELD_PROJ_NAME"
;
/* 项目名称*/
public
static
final
String
COL_INVENT_CODE
=
"FIELD_INVENT_CODE"
;
/* 部件编码*/
public
static
final
String
COL_INVENT_CODE
=
"FIELD_INVENT_CODE"
;
/* 部件编码*/
public
static
final
String
COL_INVENT_NAME
=
"FIELD_INVENT_NAME"
;
/* 部件名称*/
public
static
final
String
COL_INVENT_NAME
=
"FIELD_INVENT_NAME"
;
/* 部件名称*/
public
static
final
String
COL_SUB_INVENT_CODE
=
"FIELD_SUB_INVENT_CODE"
;
/* 零
部
件编码*/
public
static
final
String
COL_SUB_INVENT_CODE
=
"FIELD_SUB_INVENT_CODE"
;
/* 零件编码*/
public
static
final
String
COL_SUB_INVENT_NAME
=
"FIELD_SUB_INVENT_NAME"
;
/* 零
部
件名称*/
public
static
final
String
COL_SUB_INVENT_NAME
=
"FIELD_SUB_INVENT_NAME"
;
/* 零件名称*/
public
static
final
String
COL_LENGTH
=
"FIELD_LENGTH"
;
/* 长*/
public
static
final
String
COL_LENGTH
=
"FIELD_LENGTH"
;
/* 长*/
public
static
final
String
COL_WIDTH
=
"FIELD_WIDTH"
;
/* 宽*/
public
static
final
String
COL_WIDTH
=
"FIELD_WIDTH"
;
/* 宽*/
public
static
final
String
COL_THICK
=
"FIELD_THICK"
;
/* 厚*/
public
static
final
String
COL_THICK
=
"FIELD_THICK"
;
/* 厚*/
...
@@ -93,8 +93,8 @@ public class HPKC011 extends DaoEPBase {
...
@@ -93,8 +93,8 @@ public class HPKC011 extends DaoEPBase {
private
String
projName
=
" "
;
/* 项目名称*/
private
String
projName
=
" "
;
/* 项目名称*/
private
String
inventCode
=
" "
;
/* 物料编码*/
private
String
inventCode
=
" "
;
/* 物料编码*/
private
String
inventName
=
" "
;
/* 物料名称*/
private
String
inventName
=
" "
;
/* 物料名称*/
private
String
subInventCode
=
" "
;
/* 零
部
件编码*/
private
String
subInventCode
=
" "
;
/* 零件编码*/
private
String
subInventName
=
" "
;
/* 零
部
件名称*/
private
String
subInventName
=
" "
;
/* 零件名称*/
private
BigDecimal
length
=
new
BigDecimal
(
"0"
);
/* 长*/
private
BigDecimal
length
=
new
BigDecimal
(
"0"
);
/* 长*/
private
BigDecimal
width
=
new
BigDecimal
(
"0"
);
/* 宽*/
private
BigDecimal
width
=
new
BigDecimal
(
"0"
);
/* 宽*/
private
BigDecimal
thick
=
new
BigDecimal
(
"0"
);
/* 厚*/
private
BigDecimal
thick
=
new
BigDecimal
(
"0"
);
/* 厚*/
...
@@ -158,11 +158,11 @@ public class HPKC011 extends DaoEPBase {
...
@@ -158,11 +158,11 @@ public class HPKC011 extends DaoEPBase {
eiMetadata
.
addMeta
(
eiColumn
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
FIELD_SUB_INVENT_CODE
);
eiColumn
=
new
EiColumn
(
FIELD_SUB_INVENT_CODE
);
eiColumn
.
setDescName
(
"零
部
件编码"
);
eiColumn
.
setDescName
(
"零件编码"
);
eiMetadata
.
addMeta
(
eiColumn
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
FIELD_SUB_INVENT_NAME
);
eiColumn
=
new
EiColumn
(
FIELD_SUB_INVENT_NAME
);
eiColumn
.
setDescName
(
"零
部
件名称"
);
eiColumn
.
setDescName
(
"零件名称"
);
eiMetadata
.
addMeta
(
eiColumn
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
FIELD_LENGTH
);
eiColumn
=
new
EiColumn
(
FIELD_LENGTH
);
...
...
src/main/java/com/baosight/hpjx/hp/kc/sql/HPKC004.xml
View file @
8fef1e5d
...
@@ -15,8 +15,8 @@
...
@@ -15,8 +15,8 @@
PROJ_NAME as "projName",
<!-- 项目名称 -->
PROJ_NAME as "projName",
<!-- 项目名称 -->
INVENT_CODE as "inventCode",
<!-- 部件编码 -->
INVENT_CODE as "inventCode",
<!-- 部件编码 -->
INVENT_NAME as "inventName",
<!-- 部件名称 -->
INVENT_NAME as "inventName",
<!-- 部件名称 -->
SUB_INVENT_CODE as "subInventCode",
<!-- 零
部
件编码 -->
SUB_INVENT_CODE as "subInventCode",
<!-- 零件编码 -->
SUB_INVENT_NAME as "subInventName",
<!-- 零
部
件名称 -->
SUB_INVENT_NAME as "subInventName",
<!-- 零件名称 -->
LENGTH as "length",
<!-- 长 -->
LENGTH as "length",
<!-- 长 -->
WIDTH as "width",
<!-- 宽 -->
WIDTH as "width",
<!-- 宽 -->
THICK as "thick",
<!-- 厚 -->
THICK as "thick",
<!-- 厚 -->
...
@@ -157,8 +157,8 @@
...
@@ -157,8 +157,8 @@
PROJ_NAME,
<!-- 项目名称 -->
PROJ_NAME,
<!-- 项目名称 -->
INVENT_CODE,
<!-- 部件编码 -->
INVENT_CODE,
<!-- 部件编码 -->
INVENT_NAME,
<!-- 部件名称 -->
INVENT_NAME,
<!-- 部件名称 -->
SUB_INVENT_CODE,
<!-- 零
部
件编码 -->
SUB_INVENT_CODE,
<!-- 零件编码 -->
SUB_INVENT_NAME,
<!-- 零
部
件名称 -->
SUB_INVENT_NAME,
<!-- 零件名称 -->
LENGTH,
<!-- 长 -->
LENGTH,
<!-- 长 -->
WIDTH,
<!-- 宽 -->
WIDTH,
<!-- 宽 -->
THICK,
<!-- 厚 -->
THICK,
<!-- 厚 -->
...
@@ -196,8 +196,8 @@
...
@@ -196,8 +196,8 @@
PROJ_NAME = #projName#,
<!-- 项目名称 -->
PROJ_NAME = #projName#,
<!-- 项目名称 -->
INVENT_CODE = #inventCode#,
<!-- 部件编码 -->
INVENT_CODE = #inventCode#,
<!-- 部件编码 -->
INVENT_NAME = #inventName#,
<!-- 部件名称 -->
INVENT_NAME = #inventName#,
<!-- 部件名称 -->
SUB_INVENT_CODE = #subInventCode#,
<!-- 零
部
件编码 -->
SUB_INVENT_CODE = #subInventCode#,
<!-- 零件编码 -->
SUB_INVENT_NAME = #subInventName#,
<!-- 零
部
件名称 -->
SUB_INVENT_NAME = #subInventName#,
<!-- 零件名称 -->
LENGTH = #length#,
<!-- 长 -->
LENGTH = #length#,
<!-- 长 -->
WIDTH = #width#,
<!-- 宽 -->
WIDTH = #width#,
<!-- 宽 -->
THICK = #thick#,
<!-- 厚 -->
THICK = #thick#,
<!-- 厚 -->
...
...
src/main/java/com/baosight/hpjx/hp/kc/sql/HPKC011.xml
View file @
8fef1e5d
...
@@ -13,8 +13,8 @@
...
@@ -13,8 +13,8 @@
PROJ_NAME as "projName",
<!-- 生产单号 -->
PROJ_NAME as "projName",
<!-- 生产单号 -->
INVENT_CODE as "inventCode",
<!-- 部件编码 -->
INVENT_CODE as "inventCode",
<!-- 部件编码 -->
INVENT_NAME as "inventName",
<!-- 部件名称 -->
INVENT_NAME as "inventName",
<!-- 部件名称 -->
SUB_INVENT_CODE as "subInventCode",
<!-- 零
部
件编码 -->
SUB_INVENT_CODE as "subInventCode",
<!-- 零件编码 -->
SUB_INVENT_NAME as "subInventName",
<!-- 零
部
件名称 -->
SUB_INVENT_NAME as "subInventName",
<!-- 零件名称 -->
LENGTH as "length",
<!-- 长 -->
LENGTH as "length",
<!-- 长 -->
WIDTH as "width",
<!-- 宽 -->
WIDTH as "width",
<!-- 宽 -->
THICK as "thick",
<!-- 厚 -->
THICK as "thick",
<!-- 厚 -->
...
@@ -131,8 +131,8 @@
...
@@ -131,8 +131,8 @@
PROJ_NAME,
<!-- 生产单号 -->
PROJ_NAME,
<!-- 生产单号 -->
INVENT_CODE,
<!-- 部件编码 -->
INVENT_CODE,
<!-- 部件编码 -->
INVENT_NAME,
<!-- 部件名称 -->
INVENT_NAME,
<!-- 部件名称 -->
SUB_INVENT_CODE,
<!-- 零
部
件编码 -->
SUB_INVENT_CODE,
<!-- 零件编码 -->
SUB_INVENT_NAME,
<!-- 零
部
件名称 -->
SUB_INVENT_NAME,
<!-- 零件名称 -->
LENGTH,
<!-- 长 -->
LENGTH,
<!-- 长 -->
WIDTH,
<!-- 宽 -->
WIDTH,
<!-- 宽 -->
THICK,
<!-- 厚 -->
THICK,
<!-- 厚 -->
...
...
src/main/java/com/baosight/hpjx/hp/sc/service/ServiceHPSC005A.java
View file @
8fef1e5d
...
@@ -175,7 +175,7 @@ public class ServiceHPSC005A extends ServiceBase {
...
@@ -175,7 +175,7 @@ public class ServiceHPSC005A extends ServiceBase {
fSc005a
.
fromMap
(
resultRow
);
fSc005a
.
fromMap
(
resultRow
);
HPSC005A
dbSc005a
=
HPSCTools
.
HpSc005a
.
getById
(
fSc005a
.
getId
());
HPSC005A
dbSc005a
=
HPSCTools
.
HpSc005a
.
getById
(
fSc005a
.
getId
());
AssertUtils
.
isGt
(
dbSc005a
.
getCompleteNum
(),
BigDecimal
.
ZERO
,
AssertUtils
.
isGt
(
dbSc005a
.
getCompleteNum
(),
BigDecimal
.
ZERO
,
String
.
format
(
"任务[%s]已存在完工数量不能删除"
,
fSc005a
.
getId
()));
String
.
format
(
"任务[%s]已存在完工数量不能删除"
,
fSc005a
.
getId
()));
// 更新订单主表数量
// 更新订单主表数量
HPSCTools
.
checkAssignedNum
(
fSc005a
.
getProdOrderNo
(),
fSc005a
.
getNum
().
negate
());
HPSCTools
.
checkAssignedNum
(
fSc005a
.
getProdOrderNo
(),
fSc005a
.
getNum
().
negate
());
// 删除子单
// 删除子单
...
@@ -219,16 +219,21 @@ public class ServiceHPSC005A extends ServiceBase {
...
@@ -219,16 +219,21 @@ public class ServiceHPSC005A extends ServiceBase {
for
(
String
orderId
:
orderIds
)
{
for
(
String
orderId
:
orderIds
)
{
// 校验主订单是否已分派
// 校验主订单是否已分派
HPSC005
dbSc005
=
HPSCTools
.
HpSc005
.
getById
(
Long
.
parseLong
(
orderId
));
HPSC005
dbSc005
=
HPSCTools
.
HpSc005
.
getById
(
Long
.
parseLong
(
orderId
));
AssertUtils
.
isTrue
(
!
ProdOrderStatusEnum
.
NOT
_ASSIGN
.
getCode
().
equals
(
dbSc005
.
getStatus
()),
AssertUtils
.
isTrue
(
ProdOrderStatusEnum
.
ALL
_ASSIGN
.
getCode
().
equals
(
dbSc005
.
getStatus
()),
String
.
format
(
"生产订单[%s]已分派,不能在进行批量分派,请检查!"
,
dbSc005
.
getProductionOrderNo
()));
String
.
format
(
"生产订单[%s]已分派,不能在进行批量分派,请检查!"
,
dbSc005
.
getProductionOrderNo
()));
HPSC005A
newSc005a
=
new
HPSC005A
();
HPSC005A
newSc005a
=
new
HPSC005A
();
// 更新订单主表数量
// 更新订单主表数量
if
(
ProdOrderStatusEnum
.
NOT_ASSIGN
.
getCode
().
equals
(
dbSc005
.
getStatus
()))
HPSCTools
.
checkAssignedNum
(
dbSc005
.
getProductionOrderNo
(),
dbSc005
.
getNum
());
HPSCTools
.
checkAssignedNum
(
dbSc005
.
getProductionOrderNo
(),
dbSc005
.
getNum
());
else
HPSCTools
.
checkAssignedNum2
(
dbSc005
.
getProductionOrderNo
(),
dbSc005
.
getUnassignedNum
());
// 写入子表数据
// 写入子表数据
newSc005a
.
setProdTaskNo
(
SequenceGenerator
.
getNextSequence
(
HPConstant
.
SequenceId
.
PROD_TASK_NO
,
newSc005a
.
setProdTaskNo
(
SequenceGenerator
.
getNextSequence
(
HPConstant
.
SequenceId
.
PROD_TASK_NO
,
new
String
[]{
dbSc005
.
getProductionOrderNo
()}));
new
String
[]{
dbSc005
.
getProductionOrderNo
()}));
newSc005a
.
setProdOrderNo
(
dbSc005
.
getProductionOrderNo
());
newSc005a
.
setProdOrderNo
(
dbSc005
.
getProductionOrderNo
());
//区分未派单与部分派单
if
(
ProdOrderStatusEnum
.
NOT_ASSIGN
.
getCode
().
equals
(
dbSc005
.
getStatus
()))
newSc005a
.
setNum
(
dbSc005
.
getNum
());
newSc005a
.
setNum
(
dbSc005
.
getNum
());
else
newSc005a
.
setNum
(
dbSc005
.
getUnassignedNum
());
newSc005a
.
setTotalWt
(
newSc005a
.
getNum
().
multiply
(
dbSc005
.
getUnitWt
()));
newSc005a
.
setTotalWt
(
newSc005a
.
getNum
().
multiply
(
dbSc005
.
getUnitWt
()));
newSc005a
.
setOrgNo
(
dbPz011
.
getGroupCode
());
newSc005a
.
setOrgNo
(
dbPz011
.
getGroupCode
());
newSc005a
.
setOrgName
(
dbPz011
.
getGroupName
());
newSc005a
.
setOrgName
(
dbPz011
.
getGroupName
());
...
...
src/main/java/com/baosight/hpjx/hp/sc/service/ServiceHPSC005C.java
0 → 100644
View file @
8fef1e5d
package
com
.
baosight
.
hpjx
.
hp
.
sc
.
service
;
import
com.baosight.hpjx.common.DdynamicEnum
;
import
com.baosight.hpjx.core.dao.DaoUtils
;
import
com.baosight.hpjx.hp.pz.domain.HPPZ011
;
import
com.baosight.hpjx.hp.sc.domain.HPSC005
;
import
com.baosight.hpjx.hp.sc.domain.HPSC005A
;
import
com.baosight.hpjx.hp.sc.tools.HPSCTools
;
import
com.baosight.hpjx.util.CommonMethod
;
import
com.baosight.hpjx.util.EiInfoUtils
;
import
com.baosight.hpjx.util.LogUtils
;
import
com.baosight.hpjx.util.MapUtils
;
import
com.baosight.iplat4j.core.ei.EiBlock
;
import
com.baosight.iplat4j.core.ei.EiConstant
;
import
com.baosight.iplat4j.core.ei.EiInfo
;
import
com.baosight.iplat4j.core.exception.PlatException
;
import
com.baosight.iplat4j.core.service.impl.ServiceBase
;
import
com.baosight.iplat4j.core.util.NumberUtils
;
import
java.util.ArrayList
;
import
java.util.Arrays
;
import
java.util.List
;
import
java.util.Map
;
/**
* @author:songx
* @date:2024/2/6,10:39
*/
public
class
ServiceHPSC005C
extends
ServiceBase
{
/**
* 画面初始化
*
* @param inInfo
* @return
*/
public
EiInfo
initLoad
(
EiInfo
inInfo
)
{
try
{
Map
queryMap
=
EiInfoUtils
.
getFirstRow
(
inInfo
);
String
prodOrderNo
=
MapUtils
.
getString
(
queryMap
,
"prodOrderNo"
);
HPSC005
dbSc005
=
HPSCTools
.
HpSc005
.
get
(
prodOrderNo
);
inInfo
.
addBlock
(
"detail"
).
addRow
(
dbSc005
);
CommonMethod
.
initBlock
(
inInfo
,
Arrays
.
asList
(
DdynamicEnum
.
FACTORY_RECORD_BLOCK_ID
),
null
,
false
);
inInfo
.
addBlock
(
EiConstant
.
resultBlock
).
addBlockMeta
(
new
HPSC005A
().
eiMetadata
);
}
catch
(
Exception
e
)
{
LogUtils
.
setMsg
(
inInfo
,
e
,
"初始化失败"
);
}
return
inInfo
;
}
/**
* 查询操作.
*
* @param inInfo
* @return
*/
@Override
public
EiInfo
query
(
EiInfo
inInfo
)
{
try
{
Map
queryRow
=
EiInfoUtils
.
getFirstRow
(
inInfo
);
inInfo
=
super
.
query
(
inInfo
,
HPSC005
.
QUERY
,
new
HPSC005
());
}
catch
(
Throwable
e
)
{
LogUtils
.
setDetailMsg
(
inInfo
,
e
,
"查询失败"
);
}
return
inInfo
;
}
}
src/main/java/com/baosight/hpjx/hp/sc/sql/HPSC004.xml
View file @
8fef1e5d
...
@@ -376,7 +376,7 @@
...
@@ -376,7 +376,7 @@
</isNotEmpty>
</isNotEmpty>
</update>
</update>
<!-- 零
部
件下拉框 -->
<!-- 零件下拉框 -->
<select
id=
"queryInventComboBox"
parameterClass=
"java.util.HashMap"
resultClass=
"java.util.HashMap"
>
<select
id=
"queryInventComboBox"
parameterClass=
"java.util.HashMap"
resultClass=
"java.util.HashMap"
>
SELECT DISTINCT
SELECT DISTINCT
A.PRDT_CODE as "prdtCode",
A.PRDT_CODE as "prdtCode",
...
...
src/main/java/com/baosight/hpjx/hp/sc/tools/HPSCTools.java
View file @
8fef1e5d
...
@@ -57,7 +57,7 @@ public class HPSCTools {
...
@@ -57,7 +57,7 @@ public class HPSCTools {
updateMap
.
put
(
"assignedNum"
,
totalNum
);
updateMap
.
put
(
"assignedNum"
,
totalNum
);
updateMap
.
put
(
"unassignedNum"
,
jhNum
.
subtract
(
totalNum
));
updateMap
.
put
(
"unassignedNum"
,
jhNum
.
subtract
(
totalNum
));
// 0.未派工,1.部分派工,2.全部派工
// 0.未派工,1.部分派工,2.全部派工
if
(
jhNum
.
compareTo
(
assignNum
)
==
0
)
{
if
(
jhNum
.
subtract
(
totalNum
).
compareTo
(
BigDecimal
.
ZERO
)==
0
)
{
updateMap
.
put
(
"status"
,
2
);
updateMap
.
put
(
"status"
,
2
);
}
else
if
(
totalNum
.
compareTo
(
BigDecimal
.
ZERO
)
==
1
)
{
}
else
if
(
totalNum
.
compareTo
(
BigDecimal
.
ZERO
)
==
1
)
{
updateMap
.
put
(
"status"
,
1
);
updateMap
.
put
(
"status"
,
1
);
...
@@ -66,6 +66,37 @@ public class HPSCTools {
...
@@ -66,6 +66,37 @@ public class HPSCTools {
}
}
DaoUtils
.
update
(
HPSqlConstant
.
HPSC005
.
UPDATE_ASSIGN_NUM
,
updateMap
);
DaoUtils
.
update
(
HPSqlConstant
.
HPSC005
.
UPDATE_ASSIGN_NUM
,
updateMap
);
}
}
/**
* 拆单数量校正(部分派单)
*
* @param prodOrderNo 生产订单号
* @param assignNum 剩余数量
*/
public
static
void
checkAssignedNum2
(
String
prodOrderNo
,
BigDecimal
assignNum
)
{
// 生产订单
HPSC005
dbSc005
=
HPSCTools
.
HpSc005
.
get
(
prodOrderNo
);
BigDecimal
jhNum
=
dbSc005
.
getNum
();
//生产订单总单
// 子单
Map
queryMap
=
new
HashMap
();
queryMap
.
put
(
"prodOrderNo"
,
prodOrderNo
);
List
<
HPSC005A
>
dbSc005as
=
DaoBase
.
getInstance
().
query
(
HPSC005A
.
QUERY
,
queryMap
,
0
,
-
999999
);
BigDecimal
totalNum
=
assignNum
;
if
(
CollectionUtils
.
isNotEmpty
(
dbSc005as
))
{
for
(
HPSC005A
dbSc005a
:
dbSc005as
)
{
totalNum
=
totalNum
.
add
(
dbSc005a
.
getNum
());
}
}
// 判断重量是否超过订单重量
AssertUtils
.
isGt
(
totalNum
,
jhNum
,
"拆单的分派数量不能大于计划数量!"
);
Map
updateMap
=
new
HashMap
();
updateMap
.
put
(
"id"
,
dbSc005
.
getId
());
updateMap
.
put
(
"assignedNum"
,
jhNum
);
updateMap
.
put
(
"unassignedNum"
,
0
);
//分派剩余数量变为0
// 部分派工变为全部派工
updateMap
.
put
(
"status"
,
2
);
DaoUtils
.
update
(
HPSqlConstant
.
HPSC005
.
UPDATE_ASSIGN_NUM
,
updateMap
);
}
/**
/**
* 新增入库及删除入库单做同步计划订单
* 新增入库及删除入库单做同步计划订单
...
...
src/main/java/com/baosight/hpjx/hp/zl/domain/HPZL001.java
View file @
8fef1e5d
...
@@ -32,8 +32,8 @@ public class HPZL001 extends DaoEPBase {
...
@@ -32,8 +32,8 @@ public class HPZL001 extends DaoEPBase {
public
static
final
String
FIELD_PROJ_NAME
=
"projName"
;
/* 项目名称*/
public
static
final
String
FIELD_PROJ_NAME
=
"projName"
;
/* 项目名称*/
public
static
final
String
FIELD_INVENT_CODE
=
"inventCode"
;
/* 部件编码*/
public
static
final
String
FIELD_INVENT_CODE
=
"inventCode"
;
/* 部件编码*/
public
static
final
String
FIELD_INVENT_NAME
=
"inventName"
;
/* 部件名称*/
public
static
final
String
FIELD_INVENT_NAME
=
"inventName"
;
/* 部件名称*/
public
static
final
String
FIELD_SUB_INVENT_CODE
=
"subInventCode"
;
/* 零
部
件编码*/
public
static
final
String
FIELD_SUB_INVENT_CODE
=
"subInventCode"
;
/* 零件编码*/
public
static
final
String
FIELD_SUB_INVENT_NAME
=
"subInventName"
;
/* 零
部
件名称*/
public
static
final
String
FIELD_SUB_INVENT_NAME
=
"subInventName"
;
/* 零件名称*/
public
static
final
String
FIELD_ORG_NO
=
"orgNo"
;
/* 生产组编码*/
public
static
final
String
FIELD_ORG_NO
=
"orgNo"
;
/* 生产组编码*/
public
static
final
String
FIELD_ORG_NAME
=
"orgName"
;
/* 生产组名称*/
public
static
final
String
FIELD_ORG_NAME
=
"orgName"
;
/* 生产组名称*/
public
static
final
String
FIELD_POOR_TYPE
=
"poorType"
;
/* 不良品类*/
public
static
final
String
FIELD_POOR_TYPE
=
"poorType"
;
/* 不良品类*/
...
@@ -60,8 +60,8 @@ public class HPZL001 extends DaoEPBase {
...
@@ -60,8 +60,8 @@ public class HPZL001 extends DaoEPBase {
public
static
final
String
COL_PROJ_NAME
=
"PROJ_NAME"
;
/* 项目名称*/
public
static
final
String
COL_PROJ_NAME
=
"PROJ_NAME"
;
/* 项目名称*/
public
static
final
String
COL_INVENT_CODE
=
"INVENT_CODE"
;
/* 部件编码*/
public
static
final
String
COL_INVENT_CODE
=
"INVENT_CODE"
;
/* 部件编码*/
public
static
final
String
COL_INVENT_NAME
=
"INVENT_NAME"
;
/* 部件名称*/
public
static
final
String
COL_INVENT_NAME
=
"INVENT_NAME"
;
/* 部件名称*/
public
static
final
String
COL_SUB_INVENT_CODE
=
"SUB_INVENT_CODE"
;
/* 零
部
件编码*/
public
static
final
String
COL_SUB_INVENT_CODE
=
"SUB_INVENT_CODE"
;
/* 零件编码*/
public
static
final
String
COL_SUB_INVENT_NAME
=
"SUB_INVENT_NAME"
;
/* 零
部
件名称*/
public
static
final
String
COL_SUB_INVENT_NAME
=
"SUB_INVENT_NAME"
;
/* 零件名称*/
public
static
final
String
COL_ORG_NO
=
"ORG_NO"
;
/* 生产组编码*/
public
static
final
String
COL_ORG_NO
=
"ORG_NO"
;
/* 生产组编码*/
public
static
final
String
COL_ORG_NAME
=
"ORG_NAME"
;
/* 生产组名称*/
public
static
final
String
COL_ORG_NAME
=
"ORG_NAME"
;
/* 生产组名称*/
public
static
final
String
COL_POOR_TYPE
=
"POOR_TYPE"
;
/* 不良品类*/
public
static
final
String
COL_POOR_TYPE
=
"POOR_TYPE"
;
/* 不良品类*/
...
@@ -94,8 +94,8 @@ public class HPZL001 extends DaoEPBase {
...
@@ -94,8 +94,8 @@ public class HPZL001 extends DaoEPBase {
private
String
projName
=
" "
;
/* 项目名称*/
private
String
projName
=
" "
;
/* 项目名称*/
private
String
inventCode
=
" "
;
/* 部件编码*/
private
String
inventCode
=
" "
;
/* 部件编码*/
private
String
inventName
=
" "
;
/* 部件名称*/
private
String
inventName
=
" "
;
/* 部件名称*/
private
String
subInventCode
=
" "
;
/* 零
部
件编码*/
private
String
subInventCode
=
" "
;
/* 零件编码*/
private
String
subInventName
=
" "
;
/* 零
部
件名称*/
private
String
subInventName
=
" "
;
/* 零件名称*/
private
String
orgNo
=
" "
;
/* 生产组编码*/
private
String
orgNo
=
" "
;
/* 生产组编码*/
private
String
orgName
=
" "
;
/* 生产组名称*/
private
String
orgName
=
" "
;
/* 生产组名称*/
private
Integer
poorType
;
/* 不良品类*/
private
Integer
poorType
;
/* 不良品类*/
...
@@ -163,11 +163,11 @@ public class HPZL001 extends DaoEPBase {
...
@@ -163,11 +163,11 @@ public class HPZL001 extends DaoEPBase {
eiMetadata
.
addMeta
(
eiColumn
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
FIELD_SUB_INVENT_CODE
);
eiColumn
=
new
EiColumn
(
FIELD_SUB_INVENT_CODE
);
eiColumn
.
setDescName
(
"零
部
件编码"
);
eiColumn
.
setDescName
(
"零件编码"
);
eiMetadata
.
addMeta
(
eiColumn
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
FIELD_SUB_INVENT_NAME
);
eiColumn
=
new
EiColumn
(
FIELD_SUB_INVENT_NAME
);
eiColumn
.
setDescName
(
"零
部
件名称"
);
eiColumn
.
setDescName
(
"零件名称"
);
eiMetadata
.
addMeta
(
eiColumn
);
eiMetadata
.
addMeta
(
eiColumn
);
eiColumn
=
new
EiColumn
(
FIELD_ORG_NO
);
eiColumn
=
new
EiColumn
(
FIELD_ORG_NO
);
...
@@ -413,7 +413,7 @@ public class HPZL001 extends DaoEPBase {
...
@@ -413,7 +413,7 @@ public class HPZL001 extends DaoEPBase {
this
.
inventName
=
inventName
;
this
.
inventName
=
inventName
;
}
}
/**
/**
* get the subInventCode - 零
部
件编码.
* get the subInventCode - 零件编码.
* @return the subInventCode
* @return the subInventCode
*/
*/
public
String
getSubInventCode
()
{
public
String
getSubInventCode
()
{
...
@@ -421,15 +421,15 @@ public class HPZL001 extends DaoEPBase {
...
@@ -421,15 +421,15 @@ public class HPZL001 extends DaoEPBase {
}
}
/**
/**
* set the subInventCode - 零
部
件编码.
* set the subInventCode - 零件编码.
*
*
* @param subInventCode - 零
部
件编码
* @param subInventCode - 零件编码
*/
*/
public
void
setSubInventCode
(
String
subInventCode
)
{
public
void
setSubInventCode
(
String
subInventCode
)
{
this
.
subInventCode
=
subInventCode
;
this
.
subInventCode
=
subInventCode
;
}
}
/**
/**
* get the subInventName - 零
部
件名称.
* get the subInventName - 零件名称.
* @return the subInventName
* @return the subInventName
*/
*/
public
String
getSubInventName
()
{
public
String
getSubInventName
()
{
...
@@ -437,9 +437,9 @@ public class HPZL001 extends DaoEPBase {
...
@@ -437,9 +437,9 @@ public class HPZL001 extends DaoEPBase {
}
}
/**
/**
* set the subInventName - 零
部
件名称.
* set the subInventName - 零件名称.
*
*
* @param subInventName - 零
部
件名称
* @param subInventName - 零件名称
*/
*/
public
void
setSubInventName
(
String
subInventName
)
{
public
void
setSubInventName
(
String
subInventName
)
{
this
.
subInventName
=
subInventName
;
this
.
subInventName
=
subInventName
;
...
...
src/main/java/com/baosight/hpjx/hp/zl/service/ServiceHPZL001.java
View file @
8fef1e5d
...
@@ -141,7 +141,7 @@ public class ServiceHPZL001 extends ServiceBase {
...
@@ -141,7 +141,7 @@ public class ServiceHPZL001 extends ServiceBase {
// fZl001.setProjName(HPSCTools.HpSc001.get(fZl001.getProjCode()).getProjName());
// fZl001.setProjName(HPSCTools.HpSc001.get(fZl001.getProjCode()).getProjName());
// 部件名称
// 部件名称
// fZl001.setInventName(HPSCTools.HpSc002.get(fZl001.getInventCode()).getPrdtName());
// fZl001.setInventName(HPSCTools.HpSc002.get(fZl001.getInventCode()).getPrdtName());
// 零
部
件名称
// 零件名称
// fZl001.setSubInventName(HPSCTools.HpSc002.get(fZl001.getSubInventCode()).getPrdtName());
// fZl001.setSubInventName(HPSCTools.HpSc002.get(fZl001.getSubInventCode()).getPrdtName());
// 生产组名称
// 生产组名称
// fZl001.setOrgName(HPXSTools.XsOrg.get(fZl001.getOrgNo()).getOrgCname());
// fZl001.setOrgName(HPXSTools.XsOrg.get(fZl001.getOrgNo()).getOrgCname());
...
...
src/main/java/com/baosight/hpjx/hp/zl/sql/HPZL001.xml
View file @
8fef1e5d
...
@@ -14,8 +14,8 @@
...
@@ -14,8 +14,8 @@
PROJ_NAME as "projName",
<!-- 项目名称 -->
PROJ_NAME as "projName",
<!-- 项目名称 -->
INVENT_CODE as "inventCode",
<!-- 部件编码 -->
INVENT_CODE as "inventCode",
<!-- 部件编码 -->
INVENT_NAME as "inventName",
<!-- 部件名称 -->
INVENT_NAME as "inventName",
<!-- 部件名称 -->
SUB_INVENT_CODE as "subInventCode",
<!-- 零
部
件编码 -->
SUB_INVENT_CODE as "subInventCode",
<!-- 零件编码 -->
SUB_INVENT_NAME as "subInventName",
<!-- 零
部
件名称 -->
SUB_INVENT_NAME as "subInventName",
<!-- 零件名称 -->
ORG_NO as "orgNo",
<!-- 生产组编码 -->
ORG_NO as "orgNo",
<!-- 生产组编码 -->
ORG_NAME as "orgName",
<!-- 生产组名称 -->
ORG_NAME as "orgName",
<!-- 生产组名称 -->
POOR_TYPE as "poorType",
<!-- 不良品类 -->
POOR_TYPE as "poorType",
<!-- 不良品类 -->
...
@@ -136,8 +136,8 @@
...
@@ -136,8 +136,8 @@
PROJ_NAME,
<!-- 项目名称 -->
PROJ_NAME,
<!-- 项目名称 -->
INVENT_CODE,
<!-- 部件编码 -->
INVENT_CODE,
<!-- 部件编码 -->
INVENT_NAME,
<!-- 部件名称 -->
INVENT_NAME,
<!-- 部件名称 -->
SUB_INVENT_CODE,
<!-- 零
部
件编码 -->
SUB_INVENT_CODE,
<!-- 零件编码 -->
SUB_INVENT_NAME,
<!-- 零
部
件名称 -->
SUB_INVENT_NAME,
<!-- 零件名称 -->
ORG_NO,
<!-- 生产组编码 -->
ORG_NO,
<!-- 生产组编码 -->
ORG_NAME,
<!-- 生产组名称 -->
ORG_NAME,
<!-- 生产组名称 -->
POOR_TYPE,
<!-- 不良品类 -->
POOR_TYPE,
<!-- 不良品类 -->
...
...
src/main/webapp/HP/KC/HPKC003.jsp
View file @
8fef1e5d
...
@@ -20,7 +20,7 @@
...
@@ -20,7 +20,7 @@
</div>
</div>
<div
class=
"row"
>
<div
class=
"row"
>
<EF:EFInput
cname=
"部件名称"
ename=
"prdtName"
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=
"partName"
blockId=
"inqu_status"
row=
"0"
colWidth=
"3"
/>
<EF:EFInput
cname=
"生产订单号"
ename=
"prodOrderNo"
blockId=
"inqu_status"
row=
"0"
colWidth=
"3"
/>
<EF:EFInput
cname=
"生产订单号"
ename=
"prodOrderNo"
blockId=
"inqu_status"
row=
"0"
colWidth=
"3"
/>
<EF:EFInput
cname=
"生产任务号"
ename=
"prodTaskNo"
blockId=
"inqu_status"
row=
"0"
colWidth=
"3"
/>
<EF:EFInput
cname=
"生产任务号"
ename=
"prodTaskNo"
blockId=
"inqu_status"
row=
"0"
colWidth=
"3"
/>
</div>
</div>
...
@@ -48,13 +48,13 @@
...
@@ -48,13 +48,13 @@
columnTemplate=
"#=textField#"
itemTemplate=
"#=textField#"
>
columnTemplate=
"#=textField#"
itemTemplate=
"#=textField#"
>
</EF:EFComboColumn>
</EF:EFComboColumn>
<EF:EFColumn
ename=
"prdtName"
cname=
"部件名称"
enable=
"false"
width=
"120"
align=
"center"
/>
<EF:EFColumn
ename=
"prdtName"
cname=
"部件名称"
enable=
"false"
width=
"120"
align=
"center"
/>
<EF:EFColumn
ename=
"partName"
cname=
"零
部
件名称"
enable=
"false"
width=
"120"
align=
"center"
/>
<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=
"partSpec"
cname=
"零件规格"
enable=
"false"
width=
"150"
align=
"center"
/>
<EF:EFColumn
ename=
"amount"
cname=
"数量"
enable=
"false"
width=
"120"
align=
"right"
format=
"{0:N3}"
/>
<EF:EFColumn
ename=
"amount"
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}"
/>
<EF:EFColumn
ename=
"remark"
cname=
"备注"
enable=
"false"
width=
"150"
/>
<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=
"prdtCode"
cname=
"部件编码"
enable=
"false"
width=
"120"
align=
"center"
hidden=
"true"
/>
<EF:EFColumn
ename=
"partCode"
cname=
"零
部
件编码"
enable=
"false"
width=
"120"
align=
"center"
hidden=
"true"
/>
<EF:EFColumn
ename=
"partCode"
cname=
"零件编码"
enable=
"false"
width=
"120"
align=
"center"
hidden=
"true"
/>
<EF:EFColumn
ename=
"prodTaskNo"
cname=
"生产任务号"
enable=
"false"
width=
"150"
align=
"center"
/>
<EF:EFColumn
ename=
"prodTaskNo"
cname=
"生产任务号"
enable=
"false"
width=
"150"
align=
"center"
/>
<EF:EFColumn
ename=
"prodOrderNo"
cname=
"生产订单号"
enable=
"false"
width=
"140"
align=
"center"
/>
<EF:EFColumn
ename=
"prodOrderNo"
cname=
"生产订单号"
enable=
"false"
width=
"140"
align=
"center"
/>
</EF:EFGrid>
</EF:EFGrid>
...
...
src/main/webapp/HP/KC/HPKC003A.jsp
View file @
8fef1e5d
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
<EF:EFInput
cname=
"部件名称"
ename=
"prdtName"
blockId=
"inqu_status"
row=
"0"
colWidth=
"3"
/>
<EF:EFInput
cname=
"部件名称"
ename=
"prdtName"
blockId=
"inqu_status"
row=
"0"
colWidth=
"3"
/>
</div>
</div>
<div
class=
"row"
>
<div
class=
"row"
>
<EF:EFInput
cname=
"零
部
件名称"
ename=
"partName"
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:EFInput
cname=
"厂区名称"
ename=
"factoryName"
blockId=
"inqu_status"
row=
"0"
colWidth=
"3"
/>
<EF:EFInput
cname=
"生产组名称"
ename=
"orgName"
blockId=
"inqu_status"
row=
"0"
colWidth=
"3"
/>
<EF:EFInput
cname=
"生产组名称"
ename=
"orgName"
blockId=
"inqu_status"
row=
"0"
colWidth=
"3"
/>
</div>
</div>
...
@@ -28,8 +28,8 @@
...
@@ -28,8 +28,8 @@
<EF:EFColumn
ename=
"childId"
cname=
"生产任务ID"
enable=
"false"
width=
"90"
align=
"center"
hidden=
"true"
/>
<EF:EFColumn
ename=
"childId"
cname=
"生产任务ID"
enable=
"false"
width=
"90"
align=
"center"
hidden=
"true"
/>
<EF:EFColumn
ename=
"projName"
cname=
"项目名称"
enable=
"false"
width=
"140"
align=
"center"
/>
<EF:EFColumn
ename=
"projName"
cname=
"项目名称"
enable=
"false"
width=
"140"
align=
"center"
/>
<EF:EFColumn
ename=
"prdtName"
cname=
"部件名称"
enable=
"false"
width=
"120"
align=
"center"
/>
<EF:EFColumn
ename=
"prdtName"
cname=
"部件名称"
enable=
"false"
width=
"120"
align=
"center"
/>
<EF:EFColumn
ename=
"partName"
cname=
"零
部
件名称"
enable=
"false"
width=
"120"
align=
"center"
/>
<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=
"partSpec"
cname=
"零件规格"
enable=
"false"
width=
"150"
align=
"center"
/>
<EF:EFComboColumn
ename=
"whCode"
cname=
"仓库名称"
width=
"120"
align=
"center"
<EF:EFComboColumn
ename=
"whCode"
cname=
"仓库名称"
width=
"120"
align=
"center"
blockName=
"wh_record_block_id"
textField=
"textField"
valueField=
"valueField"
blockName=
"wh_record_block_id"
textField=
"textField"
valueField=
"valueField"
columnTemplate=
"#=textField#"
itemTemplate=
"#=textField#"
required=
"true"
>
columnTemplate=
"#=textField#"
itemTemplate=
"#=textField#"
required=
"true"
>
...
@@ -45,7 +45,7 @@
...
@@ -45,7 +45,7 @@
<EF:EFColumn
ename=
"prodTaskNo"
cname=
"生产任务号"
enable=
"false"
width=
"150"
align=
"center"
/>
<EF:EFColumn
ename=
"prodTaskNo"
cname=
"生产任务号"
enable=
"false"
width=
"150"
align=
"center"
/>
<EF:EFColumn
ename=
"prodOrderNo"
cname=
"生产订单号"
enable=
"false"
width=
"140"
align=
"center"
/>
<EF:EFColumn
ename=
"prodOrderNo"
cname=
"生产订单号"
enable=
"false"
width=
"140"
align=
"center"
/>
<EF:EFColumn
ename=
"prdtCode"
cname=
"部件编码"
enable=
"false"
width=
"120"
align=
"center"
hidden=
"true"
/>
<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"
/>
<EF:EFColumn
ename=
"partCode"
cname=
"零件编码"
enable=
"false"
width=
"120"
align=
"center"
hidden=
"true"
/>
<EF:EFColumn
ename=
"factoryCode"
cname=
"厂区编码"
enable=
"false"
width=
"150"
hidden=
"true"
/>
<EF:EFColumn
ename=
"factoryCode"
cname=
"厂区编码"
enable=
"false"
width=
"150"
hidden=
"true"
/>
<EF:EFColumn
ename=
"orgNo"
cname=
"生产组编码"
enable=
"false"
width=
"150"
hidden=
"true"
/>
<EF:EFColumn
ename=
"orgNo"
cname=
"生产组编码"
enable=
"false"
width=
"150"
hidden=
"true"
/>
</EF:EFGrid>
</EF:EFGrid>
...
...
src/main/webapp/HP/KC/HPKC004.jsp
View file @
8fef1e5d
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
</div>
</div>
<div
class=
"row"
>
<div
class=
"row"
>
<EF:EFInput
cname=
"部件名称"
ename=
"inventName"
blockId=
"inqu_status"
row=
"0"
colWidth=
"3"
/>
<EF:EFInput
cname=
"部件名称"
ename=
"inventName"
blockId=
"inqu_status"
row=
"0"
colWidth=
"3"
/>
<EF:EFInput
cname=
"零
部
件名称"
ename=
"subInventName"
blockId=
"inqu_status"
row=
"0"
colWidth=
"3"
/>
<EF:EFInput
cname=
"零件名称"
ename=
"subInventName"
blockId=
"inqu_status"
row=
"0"
colWidth=
"3"
/>
<EF:EFSelect
cname=
"是否打印"
ename=
"isPrint"
blockId=
"inqu_status"
row=
"0"
colWidth=
"3"
defaultValue=
""
>
<EF:EFSelect
cname=
"是否打印"
ename=
"isPrint"
blockId=
"inqu_status"
row=
"0"
colWidth=
"3"
defaultValue=
""
>
<EF:EFOption
label=
"全部"
value=
""
/>
<EF:EFOption
label=
"全部"
value=
""
/>
<EF:EFCodeOption
codeName=
"hpjx.hpjx.isPrint"
/>
<EF:EFCodeOption
codeName=
"hpjx.hpjx.isPrint"
/>
...
@@ -41,7 +41,7 @@
...
@@ -41,7 +41,7 @@
editType=
"date"
dateFormat=
"yyyy-MM-dd"
parseFormats=
"['yyyyMMdd']"
/>
editType=
"date"
dateFormat=
"yyyy-MM-dd"
parseFormats=
"['yyyyMMdd']"
/>
<EF:EFColumn
ename=
"projName"
cname=
"项目名称"
enable=
"false"
width=
"140"
align=
"center"
/>
<EF:EFColumn
ename=
"projName"
cname=
"项目名称"
enable=
"false"
width=
"140"
align=
"center"
/>
<EF:EFColumn
ename=
"inventName"
cname=
"部件名称"
enable=
"false"
width=
"120"
align=
"center"
/>
<EF:EFColumn
ename=
"inventName"
cname=
"部件名称"
enable=
"false"
width=
"120"
align=
"center"
/>
<EF:EFColumn
ename=
"subInventName"
cname=
"零
部
件名称"
enable=
"false"
width=
"120"
align=
"center"
/>
<EF:EFColumn
ename=
"subInventName"
cname=
"零件名称"
enable=
"false"
width=
"120"
align=
"center"
/>
<EF:EFColumn
ename=
"amount"
cname=
"数量"
enable=
"false"
format=
"{0:N3}"
maxLength=
"20"
width=
"100"
<EF:EFColumn
ename=
"amount"
cname=
"数量"
enable=
"false"
format=
"{0:N3}"
maxLength=
"20"
width=
"100"
align=
"center"
/>
align=
"center"
/>
<EF:EFColumn
ename=
"length"
cname=
"长"
enable=
"false"
format=
"{0:N3}"
maxLength=
"20"
width=
"100"
<EF:EFColumn
ename=
"length"
cname=
"长"
enable=
"false"
format=
"{0:N3}"
maxLength=
"20"
width=
"100"
...
@@ -63,7 +63,7 @@
...
@@ -63,7 +63,7 @@
<EF:EFColumn
ename=
"saleNo"
cname=
"销售单号"
enable=
"false"
width=
"140"
align=
"center"
/>
<EF:EFColumn
ename=
"saleNo"
cname=
"销售单号"
enable=
"false"
width=
"140"
align=
"center"
/>
<EF:EFColumn
ename=
"oldSaleNo"
cname=
"原销售单号"
enable=
"false"
width=
"140"
align=
"center"
/>
<EF:EFColumn
ename=
"oldSaleNo"
cname=
"原销售单号"
enable=
"false"
width=
"140"
align=
"center"
/>
<EF:EFColumn
ename=
"inventCode"
cname=
"部件编码"
enable=
"false"
width=
"120"
align=
"center"
hidden=
"true"
/>
<EF:EFColumn
ename=
"inventCode"
cname=
"部件编码"
enable=
"false"
width=
"120"
align=
"center"
hidden=
"true"
/>
<EF:EFColumn
ename=
"subInventCode"
cname=
"零
部
件编码"
enable=
"false"
width=
"120"
align=
"center"
hidden=
"true"
/>
<EF:EFColumn
ename=
"subInventCode"
cname=
"零件编码"
enable=
"false"
width=
"120"
align=
"center"
hidden=
"true"
/>
<EF:EFColumn
ename=
"createdName"
cname=
"创建人"
enable=
"false"
width=
"120"
align=
"center"
/>
<EF:EFColumn
ename=
"createdName"
cname=
"创建人"
enable=
"false"
width=
"120"
align=
"center"
/>
<EF:EFColumn
ename=
"createdTime"
cname=
"创建时间"
enable=
"false"
width=
"140"
align=
"center"
<EF:EFColumn
ename=
"createdTime"
cname=
"创建时间"
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/HP/KC/HPKC004A.jsp
View file @
8fef1e5d
...
@@ -15,8 +15,8 @@
...
@@ -15,8 +15,8 @@
<EF:EFInput
cname=
"部件名称"
ename=
"inventName"
blockId=
"inqu_status"
row=
"0"
colWidth=
"3"
/>
<EF:EFInput
cname=
"部件名称"
ename=
"inventName"
blockId=
"inqu_status"
row=
"0"
colWidth=
"3"
/>
</div>
</div>
<div
class=
"row"
>
<div
class=
"row"
>
<EF:EFInput
cname=
"零
部
件编码"
ename=
"subInventCode"
blockId=
"inqu_status"
row=
"0"
colWidth=
"3"
/>
<EF:EFInput
cname=
"零件编码"
ename=
"subInventCode"
blockId=
"inqu_status"
row=
"0"
colWidth=
"3"
/>
<EF:EFInput
cname=
"零
部
件名称"
ename=
"subInventName"
blockId=
"inqu_status"
row=
"0"
colWidth=
"3"
/>
<EF:EFInput
cname=
"零件名称"
ename=
"subInventName"
blockId=
"inqu_status"
row=
"0"
colWidth=
"3"
/>
</div>
</div>
</div>
</div>
</EF:EFRegion>
</EF:EFRegion>
...
@@ -27,7 +27,7 @@
...
@@ -27,7 +27,7 @@
<EF:EFColumn
ename=
"whName"
cname=
"仓库名称"
enable=
"false"
width=
"140"
align=
"center"
/>
<EF:EFColumn
ename=
"whName"
cname=
"仓库名称"
enable=
"false"
width=
"140"
align=
"center"
/>
<EF:EFColumn
ename=
"projName"
cname=
"项目名称"
enable=
"false"
width=
"140"
align=
"center"
/>
<EF:EFColumn
ename=
"projName"
cname=
"项目名称"
enable=
"false"
width=
"140"
align=
"center"
/>
<EF:EFColumn
ename=
"inventName"
cname=
"部件名称"
enable=
"false"
width=
"120"
align=
"center"
/>
<EF:EFColumn
ename=
"inventName"
cname=
"部件名称"
enable=
"false"
width=
"120"
align=
"center"
/>
<EF:EFColumn
ename=
"subInventName"
cname=
"零
部
件名称"
enable=
"false"
width=
"120"
align=
"center"
/>
<EF:EFColumn
ename=
"subInventName"
cname=
"零件名称"
enable=
"false"
width=
"120"
align=
"center"
/>
<EF:EFColumn
ename=
"applyAmount"
cname=
"申请数量"
width=
"120"
align=
"right"
format=
"{0:N3}"
required=
"true"
/>
<EF:EFColumn
ename=
"applyAmount"
cname=
"申请数量"
width=
"120"
align=
"right"
format=
"{0:N3}"
required=
"true"
/>
<EF:EFColumn
ename=
"applyRemark"
cname=
"说明"
width=
"150"
editType=
"textarea"
copy=
"true"
/>
<EF:EFColumn
ename=
"applyRemark"
cname=
"说明"
width=
"150"
editType=
"textarea"
copy=
"true"
/>
<EF:EFColumn
ename=
"amount"
cname=
"库存数量"
enable=
"false"
width=
"120"
align=
"right"
format=
"{0:N3}"
/>
<EF:EFColumn
ename=
"amount"
cname=
"库存数量"
enable=
"false"
width=
"120"
align=
"right"
format=
"{0:N3}"
/>
...
@@ -36,7 +36,7 @@
...
@@ -36,7 +36,7 @@
<EF:EFColumn
ename=
"whCode"
cname=
"仓库编码"
enable=
"false"
width=
"140"
align=
"center"
/>
<EF:EFColumn
ename=
"whCode"
cname=
"仓库编码"
enable=
"false"
width=
"140"
align=
"center"
/>
<EF:EFColumn
ename=
"projCode"
cname=
"项目号"
enable=
"false"
width=
"140"
align=
"center"
/>
<EF:EFColumn
ename=
"projCode"
cname=
"项目号"
enable=
"false"
width=
"140"
align=
"center"
/>
<EF:EFColumn
ename=
"inventCode"
cname=
"部件编码"
enable=
"false"
width=
"120"
align=
"center"
/>
<EF:EFColumn
ename=
"inventCode"
cname=
"部件编码"
enable=
"false"
width=
"120"
align=
"center"
/>
<EF:EFColumn
ename=
"subInventCode"
cname=
"零
部
件编码"
enable=
"false"
width=
"120"
align=
"center"
/>
<EF:EFColumn
ename=
"subInventCode"
cname=
"零件编码"
enable=
"false"
width=
"120"
align=
"center"
/>
<EF:EFColumn
ename=
"prodNo"
cname=
"生产订单号"
enable=
"false"
width=
"140"
align=
"center"
/>
<EF:EFColumn
ename=
"prodNo"
cname=
"生产订单号"
enable=
"false"
width=
"140"
align=
"center"
/>
</EF:EFGrid>
</EF:EFGrid>
</EF:EFRegion>
</EF:EFRegion>
...
...
src/main/webapp/HP/KC/HPKC011.jsp
View file @
8fef1e5d
...
@@ -21,7 +21,7 @@
...
@@ -21,7 +21,7 @@
<EF:EFOption
label=
"全部"
value=
""
/>
<EF:EFOption
label=
"全部"
value=
""
/>
<EF:EFOptions
blockId=
"material_record_block_id"
textField=
"textField"
valueField=
"valueField"
/>
<EF:EFOptions
blockId=
"material_record_block_id"
textField=
"textField"
valueField=
"valueField"
/>
</EF:EFSelect>
</EF:EFSelect>
<EF:EFSelect
ename=
"inqu_status-0-subInventCode"
cname=
"零
部
件名称"
colWidth=
"3"
filter=
"contains"
defultValue=
""
>
<EF:EFSelect
ename=
"inqu_status-0-subInventCode"
cname=
"零件名称"
colWidth=
"3"
filter=
"contains"
defultValue=
""
>
<EF:EFOption
label=
"全部"
value=
""
/>
<EF:EFOption
label=
"全部"
value=
""
/>
<EF:EFOptions
blockId=
"material_record_block_id"
textField=
"textField"
valueField=
"valueField"
/>
<EF:EFOptions
blockId=
"material_record_block_id"
textField=
"textField"
valueField=
"valueField"
/>
</EF:EFSelect>
</EF:EFSelect>
...
@@ -40,7 +40,7 @@
...
@@ -40,7 +40,7 @@
<EF:EFColumn
ename=
"projCode"
cname=
"项目编号"
width=
"120"
align=
"center"
required=
"true"
enable=
"false"
/>
<EF:EFColumn
ename=
"projCode"
cname=
"项目编号"
width=
"120"
align=
"center"
required=
"true"
enable=
"false"
/>
<EF:EFColumn
ename=
"projName"
cname=
"项目名称"
width=
"120"
align=
"center"
required=
"true"
enable=
"false"
/>
<EF:EFColumn
ename=
"projName"
cname=
"项目名称"
width=
"120"
align=
"center"
required=
"true"
enable=
"false"
/>
<EF:EFColumn
ename=
"inventCode"
cname=
"部件名称"
width=
"120"
align=
"center"
required=
"true"
enable=
"false"
/>
<EF:EFColumn
ename=
"inventCode"
cname=
"部件名称"
width=
"120"
align=
"center"
required=
"true"
enable=
"false"
/>
<EF:EFColumn
ename=
"subInventCode"
cname=
"零
部
件名称"
width=
"120"
align=
"center"
required=
"true"
enable=
"false"
/>
<EF:EFColumn
ename=
"subInventCode"
cname=
"零件名称"
width=
"120"
align=
"center"
required=
"true"
enable=
"false"
/>
<EF:EFColumn
ename=
"length"
cname=
"长"
format=
"{0:N3}"
maxLength=
"20"
width=
"90"
align=
"right"
enable=
"false"
/>
<EF:EFColumn
ename=
"length"
cname=
"长"
format=
"{0:N3}"
maxLength=
"20"
width=
"90"
align=
"right"
enable=
"false"
/>
<EF:EFColumn
ename=
"width"
cname=
"宽"
format=
"{0:N3}"
maxLength=
"20"
width=
"90"
align=
"right"
enable=
"false"
/>
<EF:EFColumn
ename=
"width"
cname=
"宽"
format=
"{0:N3}"
maxLength=
"20"
width=
"90"
align=
"right"
enable=
"false"
/>
<EF:EFColumn
ename=
"thick"
cname=
"厚"
format=
"{0:N3}"
maxLength=
"20"
width=
"90"
align=
"right"
enable=
"false"
/>
<EF:EFColumn
ename=
"thick"
cname=
"厚"
format=
"{0:N3}"
maxLength=
"20"
width=
"90"
align=
"right"
enable=
"false"
/>
...
...
src/main/webapp/HP/SC/HPSC002.js
View file @
8fef1e5d
...
@@ -181,7 +181,7 @@ $(function () {
...
@@ -181,7 +181,7 @@ $(function () {
var
inInfo
=
new
EiInfo
();
var
inInfo
=
new
EiInfo
();
EiCommunicator
.
send
(
"HPSC002"
,
"queryTreeNode"
,
inInfo
,
{
//传入参数
EiCommunicator
.
send
(
"HPSC002"
,
"queryTreeNode"
,
inInfo
,
{
//传入参数
onSuccess
:
function
(
inInfo
)
{
onSuccess
:
function
(
inInfo
)
{
tree
.
reload
(
"root"
);
//更新树
setTimeout
(
function
(){
tree
.
reload
(
"root"
);},
500
);
//更新树
}
}
});
});
},
},
...
...
src/main/webapp/HP/SC/HPSC002.jsp
View file @
8fef1e5d
...
@@ -41,7 +41,7 @@
...
@@ -41,7 +41,7 @@
<div
id=
"right-pane"
class=
"i-fit-height"
style=
"width: 80%;float: right"
>
<div
id=
"right-pane"
class=
"i-fit-height"
style=
"width: 80%;float: right"
>
<EF:EFRegion
id=
"result"
title=
"明细信息"
>
<EF:EFRegion
id=
"result"
title=
"明细信息"
>
<EF:EFGrid
blockId=
"result"
autoDraw=
"override"
checkMode=
"single"
>
<EF:EFGrid
blockId=
"result"
autoDraw=
"override"
>
<EF:EFColumn
ename=
"id"
cname=
"主键"
hidden=
"true"
/>
<EF:EFColumn
ename=
"id"
cname=
"主键"
hidden=
"true"
/>
<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=
"项目编码"
/>
...
...
src/main/webapp/HP/SC/HPSC003.js
View file @
8fef1e5d
...
@@ -20,7 +20,7 @@ $(function () {
...
@@ -20,7 +20,7 @@ $(function () {
let
auditStatus
=
item
.
status
;
let
auditStatus
=
item
.
status
;
let
template
=
''
;
let
template
=
''
;
if
(
item
.
matId
!=
null
){
if
(
item
.
matId
!=
null
){
template
+=
'<a style="cursor: pointer;display: inline-flex;justify-content: center;margin:auto
5
px" '
template
+=
'<a style="cursor: pointer;display: inline-flex;justify-content: center;margin:auto
10
px" '
+
'onclick="showUploadFile('
+
item
.
matId
+
')" >附件清单</a>'
;
+
'onclick="showUploadFile('
+
item
.
matId
+
')" >附件清单</a>'
;
}
}
if
(
auditStatus
==
0
)
{
if
(
auditStatus
==
0
)
{
...
@@ -114,7 +114,7 @@ $(function () {
...
@@ -114,7 +114,7 @@ $(function () {
// 绑定grid
// 绑定grid
detailGrid
.
setEiInfo
(
ei
);
detailGrid
.
setEiInfo
(
ei
);
query
(
);
resultGrid
.
dataSource
.
page
(
resultGrid
.
dataSource
.
_page
);
}
}
//释放禁用按钮
//释放禁用按钮
btnNode
.
attr
(
"disabled"
,
false
);
btnNode
.
attr
(
"disabled"
,
false
);
...
@@ -149,7 +149,7 @@ $(function () {
...
@@ -149,7 +149,7 @@ $(function () {
let
filePath1
=
item
.
filePath1
;
let
filePath1
=
item
.
filePath1
;
let
template
=
''
;
let
template
=
''
;
if
(
filePath1
)
{
if
(
filePath1
)
{
template
+=
'<a style="cursor: pointer;display: inline-flex;justify-content: center;margin:auto
5
px" '
template
+=
'<a style="cursor: pointer;display: inline-flex;justify-content: center;margin:auto
30
px" '
+
'onclick="showUploadFile('
+
filePath1
+
')" >附件清单</a>'
;
+
'onclick="showUploadFile('
+
filePath1
+
')" >附件清单</a>'
;
}
}
return
template
return
template
...
...
src/main/webapp/HP/SC/HPSC003.jsp
View file @
8fef1e5d
...
@@ -12,7 +12,7 @@
...
@@ -12,7 +12,7 @@
<EF:EFRegion
id=
"inqu"
title=
"查询条件"
align-item=
"center"
><
%
--
type=
"query"
efRegionShowClear=
"true"
efRegionSave=
"true"
--
%
>
<EF:EFRegion
id=
"inqu"
title=
"查询条件"
align-item=
"center"
><
%
--
type=
"query"
efRegionShowClear=
"true"
efRegionSave=
"true"
--
%
>
<div
class=
"row"
>
<
%
--
blockId=
"inqu_status"
--
%
>
<div
class=
"row"
>
<
%
--
blockId=
"inqu_status"
--
%
>
<
EF:EFInput
blockId=
"inqu_status"
ename=
"projCode"
colWidth=
"3"
cname=
"项目编号:"
/
>
<
%
--
<
EF:EFInput
blockId=
"inqu_status"
ename=
"projCode"
colWidth=
"3"
cname=
"项目编号:"
/>
--%
>
<EF:EFInput
blockId=
"inqu_status"
ename=
"projName"
colWidth=
"3"
cname=
"项目名称:"
/>
<EF:EFInput
blockId=
"inqu_status"
ename=
"projName"
colWidth=
"3"
cname=
"项目名称:"
/>
<
%
--
<
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#"
>
...
@@ -38,24 +38,24 @@
...
@@ -38,24 +38,24 @@
<EF:EFRegion
id=
"result"
title=
"基本信息"
>
<EF:EFRegion
id=
"result"
title=
"基本信息"
>
<EF:EFGrid
blockId=
"result"
autoDraw=
"no"
>
<EF:EFGrid
blockId=
"result"
autoDraw=
"no"
>
<EF:EFColumn
ename=
"id"
cname=
"主键"
hidden=
"true"
/>
<EF:EFColumn
ename=
"id"
cname=
"主键"
hidden=
"true"
/>
<EF:EFColumn
enable=
"false"
ename=
"projCode"
cname=
"项目号"
readonly=
"true"
/
>
<
%
--
<
EF:EFColumn
enable=
"false"
ename=
"projCode"
cname=
"项目号"
readonly=
"true"
width=
"100"
/>
--%
>
<EF:EFColumn
enable=
"false"
ename=
"p
rojName"
cname=
"项目名称"
readonly=
"true
"
/>
<EF:EFColumn
enable=
"false"
ename=
"p
lanInfoNo"
cname=
"生产计划单号"
readonly=
"true"
width=
"100
"
/>
<EF:EFColumn
enable=
"false"
ename=
"p
lanInfoNo"
cname=
"生产计划单号"
readonly=
"true
"
/>
<EF:EFColumn
enable=
"false"
ename=
"p
rojName"
cname=
"项目名称"
readonly=
"true"
idth=
"150
"
/>
<EF:EFComboColumn
ename=
"prdtType"
cname=
"部件类型"
hidden =
'true'
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"
width=
"100"
/>
<EF:EFColumn
enable=
"false"
ename=
"prdtName"
cname=
"部件名称"
readonly=
"true"
/>
<EF:EFColumn
enable=
"false"
ename=
"prdtName"
cname=
"部件名称"
readonly=
"true"
width=
"100"
/>
<EF:EFColumn
enable=
"false"
ename=
"spec"
cname=
"规格"
readonly=
"true"
/>
<EF:EFColumn
enable=
"false"
ename=
"spec"
cname=
"规格"
readonly=
"true"
width=
"100"
align=
"center"
/>
<EF:EFColumn
enable=
"false"
ename=
"remark"
cname=
"备注"
readonly=
"true"
/>
<EF:EFColumn
enable=
"false"
ename=
"remark"
cname=
"备注"
readonly=
"true"
width=
"100"
/>
<EF:EFColumn
ename=
"planCompletionDate"
cname=
"计划完成日期"
editType=
"date"
dateFormat=
"yyyy/MM/dd"
width=
"1
5
0"
<EF:EFColumn
ename=
"planCompletionDate"
cname=
"计划完成日期"
editType=
"date"
dateFormat=
"yyyy/MM/dd"
width=
"1
0
0"
required=
'true'
/>
align=
"center"
required=
'true'
/>
<EF:EFColumn
enable=
"false"
ename=
"schedule"
cname=
"生产完工进度"
format=
"{0:N2}"
readonly=
"true
"
/>
<EF:EFColumn
enable=
"false"
ename=
"schedule"
cname=
"生产完工进度"
format=
"{0:N2}"
width=
"60"
readonly=
"true"
align=
"center
"
/>
<EF:EFComboColumn
enable=
"false"
ename=
"status"
cname=
"状态"
>
<EF:EFComboColumn
enable=
"false"
ename=
"status"
width=
"60"
align=
"center"
cname=
"状态"
>
<EF:EFOption
label=
"未提交"
value=
"0"
/>
<EF:EFOption
label=
"未提交"
value=
"0"
/>
<EF:EFOption
label=
"已提交"
value=
"1"
/>
<EF:EFOption
label=
"已提交"
value=
"1"
/>
</EF:EFComboColumn>
</EF:EFComboColumn>
<EF:EFColumn
ename=
"operator"
cname=
"操作"
width=
"
10
0"
enable=
"false"
readonly=
"false"
/>
<EF:EFColumn
ename=
"operator"
cname=
"操作"
width=
"
6
0"
enable=
"false"
readonly=
"false"
/>
</EF:EFGrid>
</EF:EFGrid>
</EF:EFRegion>
</EF:EFRegion>
...
@@ -69,23 +69,22 @@
...
@@ -69,23 +69,22 @@
<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=
"状态"
>
--%>
<
%
--
<
EF:EFOption
label=
"已删除"
value=
"0"
/>
--%>
<
%
--
<
EF:EFOption
label=
"已删除"
value=
"0"
/>
--%>
<
%
--
<
EF:EFOption
label=
"启用"
value=
"1"
/>
--%>
<
%
--
<
EF:EFOption
label=
"启用"
value=
"1"
/>
--%>
<
%
--
</
EF:EFComboColumn
>
--%>
<
%
--
</
EF:EFComboColumn
>
--%>
<EF:EFColumn
enable=
"false"
ename=
"num"
readonly=
"true"
cname=
"数量"
/>
<EF:EFColumn
enable=
"false"
ename=
"num"
readonly=
"true"
cname=
"计划数量"
align=
"right"
/>
<EF:EFColumn
enable=
"false"
ename=
"unitWt"
readonly=
"true"
cname=
"单重"
/>
<EF:EFColumn
enable=
"false"
ename=
"unitWt"
readonly=
"true"
cname=
"计划重量"
align=
"right"
/>
<EF:EFColumn
ename=
"totalWt"
cname=
"总重"
enable=
"false"
/>
<EF:EFColumn
ename=
"planCommentDate"
required=
'true'
cname=
"计划开始时间"
editType=
"date"
dateFormat=
"yyyy/MM/dd"
width=
"150"
/>
<EF:EFColumn
ename=
"planCommentDate"
required=
'true'
cname=
"计划开始时间"
editType=
"date"
dateFormat=
"yyyy/MM/dd"
width=
"150"
/>
<EF:EFColumn
ename=
"planCompletionDate"
required=
'true'
cname=
"计划结束时间"
editType=
"date"
dateFormat=
"yyyy/MM/dd"
width=
"150"
/>
<EF:EFColumn
ename=
"planCompletionDate"
required=
'true'
cname=
"计划结束时间"
editType=
"date"
dateFormat=
"yyyy/MM/dd"
width=
"150"
/>
<EF:EFColumn
ename=
"actualCompletionDate"
cname=
"完成时间"
editType=
"date"
dateFormat=
"yyyy/MM/dd"
width=
"150"
<EF:EFColumn
ename=
"actualCompletionDate"
cname=
"
实际
完成时间"
editType=
"date"
dateFormat=
"yyyy/MM/dd"
width=
"150"
enable=
"false"
/>
enable=
"false"
/>
<EF:EFColumn
enable=
"false"
ename=
"actualCompletionNum"
cname=
"
完成数量
"
readonly=
"true"
/>
<EF:EFColumn
enable=
"false"
ename=
"actualCompletionNum"
cname=
"
实际完工数量"
align=
"right
"
readonly=
"true"
/>
<EF:EFColumn
enable=
"false"
ename=
"actualCompletionUnitWt"
cname=
"
完成总重
"
readonly=
"true"
/>
<EF:EFColumn
enable=
"false"
ename=
"actualCompletionUnitWt"
cname=
"
实际完工重量"
align=
"right
"
readonly=
"true"
/>
<EF:EFColumn
ename=
"operator"
cname=
"操作"
width=
"100"
enable=
"false"
readonly=
"false"
/>
<EF:EFColumn
ename=
"operator"
cname=
"操作"
width=
"100"
enable=
"false"
readonly=
"false"
/>
</EF:EFGrid>
</EF:EFGrid>
</EF:EFRegion>
</EF:EFRegion>
...
...
src/main/webapp/HP/SC/HPSC005.js
View file @
8fef1e5d
...
@@ -28,7 +28,7 @@ $(function () {
...
@@ -28,7 +28,7 @@ $(function () {
+
'onclick="tearAssign(
\'
'
+
prodOrderNo
+
'
\'
)" >拆单派工</a>'
;
+
'onclick="tearAssign(
\'
'
+
prodOrderNo
+
'
\'
)" >拆单派工</a>'
;
}
}
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="showGroupDetail(
\'
'
+
prodOrderNo
+
'
\'
)" >详情</a>'
;
+
'onclick="showGroupDetail(
\'
'
+
prodOrderNo
+
'
\'
)" >
任务
详情</a>'
;
if
(
filePath1
)
{
if
(
filePath1
)
{
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('
+
filePath1
+
')" >附件</a>'
;
+
'onclick="showUploadFile('
+
filePath1
+
')" >附件</a>'
;
...
@@ -62,6 +62,21 @@ function tearAssign(prodOrderNo) {
...
@@ -62,6 +62,21 @@ function tearAssign(prodOrderNo) {
}
}
/**
/**
* 生产订单详情
*
* @param productionOrderNo
*/
function
tearDetails
(
prodOrderNo
)
{
JSColorbox
.
open
({
href
:
"HPSC005C?methodName=initLoad&inqu_status-0-prodOrderNo="
+
prodOrderNo
",
title: "
<
div
style
=
'text-align: center;'
>
生产订单详情
<
/div>"
,
width
:
"80%"
,
height
:
"90%"
,
callbackName
:
tearAssignCallback
});
}
/**
* 拆单分派回调
* 拆单分派回调
*/
*/
function
tearAssignCallback
()
{
function
tearAssignCallback
()
{
...
...
src/main/webapp/HP/SC/HPSC005.jsp
View file @
8fef1e5d
...
@@ -9,12 +9,12 @@
...
@@ -9,12 +9,12 @@
<EF:EFRegion
id=
"inqu"
title=
"查询条件"
>
<EF:EFRegion
id=
"inqu"
title=
"查询条件"
>
<div
class=
"row"
>
<div
class=
"row"
>
<EF:EFInput
cname=
"生产订单号"
blockId=
"inqu_status"
ename=
"productionOrderNo"
row=
"0"
colWidth=
"3"
/>
<EF:EFInput
cname=
"生产订单号"
blockId=
"inqu_status"
ename=
"productionOrderNo"
row=
"0"
colWidth=
"3"
/>
<
EF:EFInput
cname=
"项目号"
blockId=
"inqu_status"
ename=
"projCode"
row=
"0"
colWidth=
"3"
/
>
<
%
--
<
EF:EFInput
cname=
"项目号"
blockId=
"inqu_status"
ename=
"projCode"
row=
"0"
colWidth=
"3"
/>
--%
>
<EF:EFInput
cname=
"项目名称"
blockId=
"inqu_status"
ename=
"projName"
row=
"0"
colWidth=
"3"
/>
<EF:EFInput
cname=
"项目名称"
blockId=
"inqu_status"
ename=
"projName"
row=
"0"
colWidth=
"3"
/>
<EF:EFInput
cname=
"部件名称"
blockId=
"inqu_status"
ename=
"prdtName"
row=
"0"
colWidth=
"3"
/>
<EF:EFInput
cname=
"部件名称"
blockId=
"inqu_status"
ename=
"prdtName"
row=
"0"
colWidth=
"3"
/>
</div>
</div>
<div
class=
"row"
>
<div
class=
"row"
>
<EF:EFInput
cname=
"零
部
件名称"
blockId=
"inqu_status"
ename=
"partName"
row=
"0"
colWidth=
"3"
/>
<EF:EFInput
cname=
"零件名称"
blockId=
"inqu_status"
ename=
"partName"
row=
"0"
colWidth=
"3"
/>
<EF:EFDatePicker
cname=
"计划完成日期:"
blockId=
"inqu_status"
ename=
"planCompletionDate"
row=
"0"
colWidth=
"3"
<EF:EFDatePicker
cname=
"计划完成日期:"
blockId=
"inqu_status"
ename=
"planCompletionDate"
row=
"0"
colWidth=
"3"
format=
"yyyy/MM/dd"
readonly=
"true"
/>
format=
"yyyy/MM/dd"
readonly=
"true"
/>
<EF:EFSelect
cname=
"状态:"
optionLabel=
"全部"
blockId=
"inqu_status"
ename=
"status"
row=
"0"
colWidth=
"3"
>
<EF:EFSelect
cname=
"状态:"
optionLabel=
"全部"
blockId=
"inqu_status"
ename=
"status"
row=
"0"
colWidth=
"3"
>
...
@@ -28,25 +28,26 @@
...
@@ -28,25 +28,26 @@
<EF:EFRegion
id=
"result"
title=
"记录集"
>
<EF:EFRegion
id=
"result"
title=
"记录集"
>
<EF:EFGrid
blockId=
"result"
autoDraw=
"override"
>
<EF:EFGrid
blockId=
"result"
autoDraw=
"override"
>
<EF:EFColumn
ename=
"id"
cname=
"主键"
hidden=
"true"
/>
<EF:EFColumn
ename=
"id"
cname=
"主键"
hidden=
"true"
/>
<EF:EFColumn
ename=
"operator"
cname=
"操作"
enable=
"false"
width=
"150"
align=
"center"
/>
<EF:EFColumn
ename=
"operator"
cname=
"操作"
enable=
"false"
width=
"170"
locked=
"true"
align=
"center"
/>
<EF:EFColumn
ename=
"productionOrderNo"
cname=
"生产订单号"
enable=
"false"
width=
"140"
align=
"center"
onclick=
"tearDetails()"
/>
<EF:EFComboColumn
ename=
"status"
cname=
"状态"
enable=
"false"
width=
"90"
align=
"center"
>
<EF:EFComboColumn
ename=
"status"
cname=
"状态"
enable=
"false"
width=
"90"
align=
"center"
>
<EF:EFOption
label=
"未派工"
value=
"0"
/>
<EF:EFOption
label=
"未派工"
value=
"0"
/>
<EF:EFOption
label=
"部分派工"
value=
"1"
/>
<EF:EFOption
label=
"部分派工"
value=
"1"
/>
<EF:EFOption
label=
"全部派工"
value=
"2"
/>
<EF:EFOption
label=
"全部派工"
value=
"2"
/>
</EF:EFComboColumn>
</EF:EFComboColumn>
<
%
--
<
EF:EFColumn
ename=
"projCode"
cname=
"项目号"
enable=
"false"
width=
"140"
align=
"center"
/>
--%>
<EF:EFColumn
ename=
"projName"
cname=
"项目名称"
enable=
"false"
width=
"140"
align=
"center"
/>
<EF:EFColumn
ename=
"projName"
cname=
"项目名称"
enable=
"false"
width=
"140"
align=
"center"
/>
<EF:EFColumn
ename=
"prdtName"
cname=
"部件名称"
enable=
"false"
width=
"120"
align=
"center"
/>
<EF:EFColumn
ename=
"prdtName"
cname=
"部件名称"
enable=
"false"
width=
"100"
align=
"center"
/>
<EF:EFColumn
ename=
"prdtSpec"
cname=
"部件规格"
enable=
"false"
width=
"120"
align=
"center"
/>
<
%
--
<
EF:EFColumn
ename=
"prdtSpec"
cname=
"部件规格"
enable=
"false"
width=
"100"
align=
"center"
/>
<EF:EFColumn
ename=
"partName"
cname=
"零件名称"
enable=
"false"
width=
"120"
align=
"center"
/>
<EF:EFColumn
ename=
"remark"
cname=
"部件备注"
enable=
"false"
/>
--%>
<EF:EFColumn
ename=
"partSpec"
cname=
"零件规格"
enable=
"false"
width=
"120"
align=
"center"
/>
<EF:EFColumn
ename=
"partName"
cname=
"零件名称"
enable=
"false"
width=
"100"
align=
"center"
/>
<EF:EFColumn
ename=
"planCompletionDate"
cname=
"计划完成日期"
enable=
"false"
width=
"120"
align=
"center"
/>
<EF:EFColumn
ename=
"partSpec"
cname=
"零件规格"
enable=
"false"
width=
"100"
align=
"center"
/>
<EF:EFColumn
ename=
"assignedNum"
cname=
"已派工数量"
enable=
"false"
width=
"120"
align=
"right"
format=
"{0:N3}"
/>
<EF:EFColumn
ename=
"remark1"
cname=
"零件备注"
/>
<EF:EFColumn
ename=
"num"
cname=
"计划数量"
enable=
"false"
width=
"120"
align=
"right"
format=
"{0:N3}"
/>
<EF:EFColumn
ename=
"planCompletionDate"
cname=
"计划完成日期"
enable=
"false"
width=
"100"
align=
"center"
/>
<EF:EFColumn
ename=
"totalWt"
cname=
"计划重量"
enable=
"false"
width=
"120"
align=
"right"
format=
"{0:N3}"
/>
<EF:EFColumn
ename=
"assignedNum"
cname=
"派工数量"
enable=
"false"
width=
"100"
align=
"right"
format=
"{0:N3}"
/>
<EF:EFColumn
ename=
"remark"
cname=
"部件备注"
enable=
"false"
/>
<EF:EFColumn
ename=
"unassignedNum"
cname=
"剩余数量"
enable=
"false"
width=
"100"
align=
"right"
format=
"{0:N3}"
/>
<EF:EFColumn
ename=
"remark1"
cname=
"零件备注"
enable=
"false"
/>
<EF:EFColumn
ename=
"num"
cname=
"数量"
enable=
"false"
width=
"100"
align=
"right"
format=
"{0:N3}"
/>
<EF:EFColumn
ename=
"projCode"
cname=
"项目号"
enable=
"false"
width=
"140"
align=
"center"
/>
<EF:EFColumn
ename=
"totalWt"
cname=
"重量"
enable=
"false"
width=
"100"
align=
"right"
format=
"{0:N3}"
/>
<EF:EFColumn
ename=
"productionOrderNo"
cname=
"生产订单号"
enable=
"false"
width=
"140"
align=
"center"
/>
<EF:EFColumn
ename=
"prdtCode"
cname=
"部件编码"
enable=
"false"
width=
"120"
align=
"center"
hidden=
"true"
/>
<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"
/>
<EF:EFColumn
ename=
"partCode"
cname=
"零件编码"
enable=
"false"
width=
"120"
align=
"center"
hidden=
"true"
/>
</EF:EFGrid>
</EF:EFGrid>
...
...
src/main/webapp/HP/SC/HPSC005A.jsp
View file @
8fef1e5d
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
</div>
</div>
<div
class=
"row"
>
<div
class=
"row"
>
<EF:EFInput
ename=
"detail-0-prdtName"
cname=
"部件名称"
colWidth=
"4"
readonly=
"true"
/>
<EF:EFInput
ename=
"detail-0-prdtName"
cname=
"部件名称"
colWidth=
"4"
readonly=
"true"
/>
<EF:EFInput
ename=
"detail-0-partName"
cname=
"零
部
件名称"
colWidth=
"4"
readonly=
"true"
/>
<EF:EFInput
ename=
"detail-0-partName"
cname=
"零件名称"
colWidth=
"4"
readonly=
"true"
/>
<EF:EFInput
ename=
"detail-0-planCompletionDate"
cname=
"计划完成日期"
colWidth=
"4"
readonly=
"true"
/>
<EF:EFInput
ename=
"detail-0-planCompletionDate"
cname=
"计划完成日期"
colWidth=
"4"
readonly=
"true"
/>
</div>
</div>
<div
class=
"row"
>
<div
class=
"row"
>
...
...
src/main/webapp/HP/SC/HPSC005B.jsp
View file @
8fef1e5d
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
<EF:EFInput
cname=
"部件名称"
ename=
"prdtName"
blockId=
"inqu_status"
row=
"0"
colWidth=
"3"
/>
<EF:EFInput
cname=
"部件名称"
ename=
"prdtName"
blockId=
"inqu_status"
row=
"0"
colWidth=
"3"
/>
</div>
</div>
<div
class=
"row"
>
<div
class=
"row"
>
<EF:EFInput
cname=
"零
部
件名称"
ename=
"partName"
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:EFInput
cname=
"厂区名称"
ename=
"factoryName"
blockId=
"inqu_status"
row=
"0"
colWidth=
"3"
/>
<EF:EFInput
cname=
"生产组名称"
ename=
"orgName"
blockId=
"inqu_status"
row=
"0"
colWidth=
"3"
/>
<EF:EFInput
cname=
"生产组名称"
ename=
"orgName"
blockId=
"inqu_status"
row=
"0"
colWidth=
"3"
/>
</div>
</div>
...
...
src/main/webapp/HP/SC/HPSC005C.js
0 → 100644
View file @
8fef1e5d
let
factoryGroupGlobalData
=
[];
$
(
function
()
{
IPLATUI
.
EFGrid
=
{
"result"
:
{
pageable
:
{
pageSize
:
20
,
pageSizes
:
[
10
,
20
,
50
,
70
,
100
],
},
columns
:
[{
field
:
"orgName"
,
attributes
:
{
class
:
"i-input-readonly"
}
},
{
field
:
"orgNo"
,
template
:
function
(
dataItem
)
{
for
(
let
i
=
0
;
i
<
factoryGroupGlobalData
.
length
;
i
++
)
{
if
(
factoryGroupGlobalData
[
i
][
'valueField'
]
===
dataItem
[
'orgNo'
])
{
return
factoryGroupGlobalData
[
i
][
'textField'
];
}
}
return
""
;
},
editor
:
function
(
container
,
options
)
{
let
inInfo
=
new
EiInfo
();
inInfo
.
set
(
"inqu_status-0-factoryCode"
,
options
.
model
[
"factoryCode"
]);
// 1:生产组
inInfo
.
set
(
"inqu_status-0-groupType"
,
1
);
inInfo
.
set
(
"serviceName"
,
"HPPZ011"
);
inInfo
.
set
(
"methodName"
,
"queryGroupComboBox"
);
inInfo
.
set
(
"blockId"
,
"group_record_block_id"
);
inInfo
.
set
(
"field"
,
options
.
field
);
refreshSelect
(
container
,
inInfo
);
}
}],
onSave
:
function
(
e
)
{
// 阻止后台保存请求,使用自定义保存
e
.
preventDefault
();
save
();
},
onDelete
:
function
(
e
)
{
// 阻止后台删除请求,使用自定义删除
e
.
preventDefault
();
deleteFunc
();
}
}
}
$
(
"#QUERY"
).
on
(
"click"
,
query
);
});
src/main/webapp/HP/SC/HPSC005C.jsp
0 → 100644
View file @
8fef1e5d
<!DOCTYPE html>
<
%@
page
contentType=
"text/html; charset=UTF-8"
%
>
<
%@
taglib
uri=
"http://java.sun.com/jsp/jstl/core"
prefix=
"c"
%
>
<
%@
taglib
prefix=
"EF"
tagdir=
"/WEB-INF/tags/EF"
%
>
<c:set
var=
"ctx"
value=
"${pageContext.request.contextPath}"
/>
<EF:EFPage
title=
"拆单派工"
>
<EF:EFRegion
id=
"inqu"
title=
"订单详情"
>
<EF:EFInput
ename=
"inqu_status-0-prodOrderNo"
cname=
"项目号"
type=
"hidden"
/>
<div
class=
"row"
>
<EF:EFInput
ename=
"detail-0-productionOrderNo"
cname=
"生产订单号"
colWidth=
"4"
readonly=
"true"
/>
<EF:EFInput
ename=
"detail-0-projCode"
cname=
"项目号"
colWidth=
"4"
readonly=
"true"
/>
<EF:EFInput
ename=
"detail-0-projName"
cname=
"项目名称"
colWidth=
"4"
readonly=
"true"
/>
</div>
<div
class=
"row"
>
<EF:EFInput
ename=
"detail-0-prdtName"
cname=
"部件名称"
colWidth=
"4"
readonly=
"true"
/>
<EF:EFInput
ename=
"detail-0-partLength"
cname=
"部件长"
colWidth=
"4"
readonly=
"true"
/>
<EF:EFInput
ename=
"detail-0-partWidth"
cname=
"部件宽"
colWidth=
"4"
readonly=
"true"
/>
</div>
<div
class=
"row"
>
<EF:EFInput
ename=
"detail-0-partThick"
cname=
"部件厚"
colWidth=
"4"
readonly=
"true"
/>
<EF:EFInput
ename=
"detail-0-num"
cname=
"部件数量"
colWidth=
"4"
readonly=
"true"
/>
<EF:EFInput
ename=
"detail-0-unitWt"
cname=
"部件重量"
colWidth=
"4"
readonly=
"true"
/>
</div>
<div
class=
"row"
>
<EF:EFInput
ename=
"detail-0-remark"
cname=
"部件备注"
colWidth=
"4"
readonly=
"true"
/>
<EF:EFInput
ename=
"detail-0-partType"
cname=
"零件类型"
colWidth=
"4"
readonly=
"true"
/>
<EF:EFInput
ename=
"detail-0-partName"
cname=
"零件名称"
colWidth=
"4"
readonly=
"true"
/>
</div>
<div
class=
"row"
>
<EF:EFInput
ename=
"detail-0-partLength"
cname=
"零件长"
colWidth=
"4"
readonly=
"true"
/>
<EF:EFInput
ename=
"detail-0-partWidth"
cname=
"零件宽"
colWidth=
"4"
readonly=
"true"
/>
<EF:EFInput
ename=
"detail-0-partThick"
cname=
"零件厚"
colWidth=
"4"
readonly=
"true"
/>
</div>
<div
class=
"row"
>
<EF:EFInput
ename=
"detail-0-remark1"
cname=
"零件备注"
colWidth=
"4"
readonly=
"true"
/>
<EF:EFInput
ename=
"detail-0-partType"
cname=
"零件数量"
colWidth=
"4"
readonly=
"true"
/>
<EF:EFInput
ename=
"detail-0-unitWt"
cname=
"零件重量"
colWidth=
"4"
readonly=
"true"
/>
</div>
<div
class=
"row"
>
<EF:EFInput
ename=
"detail-0-assignedNum"
cname=
"派工数量"
colWidth=
"4"
readonly=
"true"
/>
<EF:EFInput
ename=
"detail-0-totalWt"
cname=
"派工重量"
colWidth=
"4"
readonly=
"true"
/>
<EF:EFInput
ename=
"detail-0-totalWt"
cname=
"剩余数量"
colWidth=
"4"
readonly=
"true"
/>
</div>
<div
class=
"row"
>
<EF:EFInput
ename=
"detail-0-remark1"
cname=
"剩余重量"
colWidth=
"4"
readonly=
"true"
/>
<EF:EFInput
ename=
"detail-0-partType"
cname=
"完成数量"
colWidth=
"4"
readonly=
"true"
/>
<EF:EFInput
ename=
"detail-0-totalWt"
cname=
"完成重量"
colWidth=
"4"
readonly=
"true"
/>
</div>
<div
class=
"row"
>
<EF:EFInput
ename=
"detail-0-planCompletionDate"
cname=
"计划完成日期"
colWidth=
"4"
readonly=
"true"
/>
<EF:EFInput
ename=
"detail-0-planCompletionDate"
cname=
"实际完成时间"
colWidth=
"4"
readonly=
"true"
/>
</div>
</EF:EFRegion>
</EF:EFPage>
src/main/webapp/HP/SC/HPSC007.jsp
View file @
8fef1e5d
...
@@ -7,48 +7,41 @@
...
@@ -7,48 +7,41 @@
<EF:EFPage
title=
"下料登记"
>
<EF:EFPage
title=
"下料登记"
>
<EF:EFRegion
id=
"inqu"
title=
"订单详情"
>
<EF:EFRegion
id=
"inqu"
title=
"订单详情"
>
<EF:EFInput
ename=
"detail-0-id"
type=
"hidden"
/>
<div
class=
"row"
>
<div
class=
"row"
>
<EF:EFInput
ename=
"detail-0-projCode"
cname=
"项目号"
colWidth=
"4"
readonly=
"true"
/>
<EF:EFInput
ename=
"detail-0-projCode"
cname=
"项目号"
colWidth=
"4"
readonly=
"true"
/>
<EF:EFInput
ename=
"detail-0-projName"
cname=
"项目名称"
colWidth=
"4"
readonly=
"true"
/>
<EF:EFInput
ename=
"detail-0-projName"
cname=
"项目名称"
colWidth=
"4"
readonly=
"true"
/>
</div>
<div
class=
"row"
>
<EF:EFInput
ename=
"detail-0-prdtName"
cname=
"部件名称"
colWidth=
"4"
readonly=
"true"
/>
<EF:EFInput
ename=
"detail-0-prdtName"
cname=
"部件名称"
colWidth=
"4"
readonly=
"true"
/>
<EF:EFInput
ename=
"detail-0-partName"
cname=
"零件名称"
colWidth=
"4"
readonly=
"true"
/>
</div>
</div>
<div
class=
"row"
>
<div
class=
"row"
>
<EF:EFInput
ename=
"detail-0-partName"
cname=
"零部件名称"
colWidth=
"4"
readonly=
"true"
/>
<EF:EFInput
ename=
"detail-0-inventName"
cname=
"材料名称"
colWidth=
"4"
readonly=
"true"
/>
<EF:EFInput
ename=
"detail-0-inventName"
cname=
"材料名称"
colWidth=
"4"
readonly=
"true"
/>
<EF:EFInput
ename=
"detail-0-num"
cname=
"计划数量"
colWidth=
"4"
readonly=
"true"
/>
<EF:EFInput
ename=
"detail-0-num"
cname=
"计划数量"
colWidth=
"4"
readonly=
"true"
/>
</div>
</div>
<div
class=
"row"
>
<div
class=
"row"
>
<EF:EFInput
ename=
"detail-0-unitWt"
cname=
"单重"
colWidth=
"4"
readonly=
"true"
/>
<EF:EFInput
ename=
"detail-0-unitWt"
cname=
"单重"
colWidth=
"4"
readonly=
"true"
/>
<EF:EFInput
ename=
"detail-0-totalWt"
cname=
"计划重量"
colWidth=
"4"
readonly=
"true"
/>
<EF:EFInput
ename=
"detail-0-totalWt"
cname=
"计划重量"
colWidth=
"4"
readonly=
"true"
/>
</div>
<div
class=
"row"
>
<EF:EFInput
ename=
"detail-0-actualCompletionNum"
cname=
"完工数量"
colWidth=
"4"
readonly=
"true"
/>
<EF:EFInput
ename=
"detail-0-actualCompletionNum"
cname=
"完工数量"
colWidth=
"4"
readonly=
"true"
/>
<EF:EFInput
ename=
"detail-0-actualCompletionUnitWt"
cname=
"完工重量"
colWidth=
"4"
readonly=
"true"
/>
</div>
</div>
<div
class=
"row"
>
<div
class=
"row"
>
<EF:EFInput
ename=
"detail-0-actualCompletionTotalWt"
cname=
"完工重量"
colWidth=
"4"
readonly=
"true"
/>
<EF:EFInput
ename=
"detail-0-planCompletionDate"
cname=
"计划完成日期"
colWidth=
"4"
readonly=
"true"
/>
<EF:EFInput
ename=
"detail-0-planCompletionDate"
cname=
"计划完成日期"
colWidth=
"4"
readonly=
"true"
/>
<EF:EFSelect
ename=
"detail-0-status"
cname=
"状态"
colWidth=
"4"
readonly=
"true"
>
<EF:EFSelect
ename=
"detail-0-status"
cname=
"状态"
colWidth=
"4"
readonly=
"true"
>
<EF:EFOption
label=
"计划中"
value=
"0"
/>
<EF:EFOption
label=
"下料中"
value=
"0"
/>
<EF:EFOption
label=
"生产中"
value=
"1"
/>
<EF:EFOption
label=
"完工"
value=
"1"
/>
<EF:EFOption
label=
"已完成"
value=
"2"
/>
</EF:EFSelect>
</EF:EFSelect>
</div>
</div>
</EF:EFRegion>
</EF:EFRegion>
<EF:EFRegion
id=
"result"
title=
"明细信息"
>
<EF:EFRegion
id=
"result"
title=
"明细信息"
>
<EF:EFInput
ename=
"productionOrderNo"
type=
"hidden"
/>
<EF:EFGrid
blockId=
"result"
autoDraw=
"override"
checkMode=
"row"
>
<EF:EFGrid
blockId=
"result"
autoDraw=
"override"
checkMode=
"row"
>
<EF:EFColumn
ename=
"id"
cname=
"主键"
hidden=
"true"
/>
<EF:EFColumn
ename=
"actualCompletionDate"
cname=
"完成日期"
enable=
"false"
hidden=
"true"
/>
<EF:EFColumn
ename=
"actualCompletionDate"
required=
'true'
cname=
"完成日期"
editType=
"date"
dateFormat=
"yyyy/MM/dd"
/>
<EF:EFColumn
ename=
"userId"
cname=
"完成人"
enable=
"false"
align=
"center"
/>
<EF:EFPopupColumn
ename=
"userId"
cname=
"完成人"
popupType=
"ServiceGrid"
popupTitle=
"人员信息"
serviceName=
"HPXSUser"
methodName=
"queryComboBox"
resultId=
"user_block_id"
columnEnames=
"textField,valueField"
columnCnames=
"登录名称,用户名"
backFillColumnIds=
"textField,valueField"
backFillFieldIds=
"userName,userId"
valueField=
"valueField"
textField=
"valueField"
/>
<EF:EFColumn
ename=
"userName"
cname=
"完成名称"
hidden=
"true"
/>
<EF:EFColumn
ename=
"actualCompletionNum"
cname=
"完成数量"
format=
"{0:N3}"
/>
<EF:EFColumn
ename=
"actualCompletionNum"
cname=
"完成数量"
format=
"{0:N3}"
/>
<EF:EFColumn
ename=
"
actualCompletionTotalWt"
cname=
"完成
重量"
enable=
"false"
format=
"{0:N3}"
/>
<EF:EFColumn
ename=
"
totalWt"
cname=
"分派
重量"
enable=
"false"
format=
"{0:N3}"
/>
</EF:EFGrid>
</EF:EFGrid>
</EF:EFRegion>
</EF:EFRegion>
</EF:EFPage>
</EF:EFPage>
src/main/webapp/HP/ZL/HPZL001.js
View file @
8fef1e5d
...
@@ -167,7 +167,7 @@ $(window).load(function () {
...
@@ -167,7 +167,7 @@ $(window).load(function () {
// onFail: function (ei) {
// onFail: function (ei) {
// }
// }
// }, {async: false});
// }, {async: false});
// // 零
部
件名称
// // 零件名称
// EiCommunicator.send("HPSC004", "queryInventComboBox", inInfo, {
// EiCommunicator.send("HPSC004", "queryInventComboBox", inInfo, {
// onSuccess: function (ei) {
// onSuccess: function (ei) {
// subInventNameGlobalData = ei.getBlock("sub_invent_record_block_id").getMappedRows();
// subInventNameGlobalData = ei.getBlock("sub_invent_record_block_id").getMappedRows();
...
...
src/main/webapp/HP/ZL/HPZL001.jsp
View file @
8fef1e5d
...
@@ -12,7 +12,7 @@
...
@@ -12,7 +12,7 @@
format=
"yyyy-MM-dd"
readonly=
"true"
/>
format=
"yyyy-MM-dd"
readonly=
"true"
/>
<EF:EFInput
cname=
"项目名称"
ename=
"projName"
blockId=
"inqu_status"
row=
"0"
colWidth=
"3"
/>
<EF:EFInput
cname=
"项目名称"
ename=
"projName"
blockId=
"inqu_status"
row=
"0"
colWidth=
"3"
/>
<EF:EFInput
cname=
"部件名称"
ename=
"inventName"
blockId=
"inqu_status"
row=
"0"
colWidth=
"3"
/>
<EF:EFInput
cname=
"部件名称"
ename=
"inventName"
blockId=
"inqu_status"
row=
"0"
colWidth=
"3"
/>
<EF:EFInput
cname=
"零
部
件名称"
ename=
"subInventName"
blockId=
"inqu_status"
row=
"0"
colWidth=
"3"
/>
<EF:EFInput
cname=
"零件名称"
ename=
"subInventName"
blockId=
"inqu_status"
row=
"0"
colWidth=
"3"
/>
</div>
</div>
<div
class=
"row"
>
<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"
/>
...
@@ -50,7 +50,7 @@
...
@@ -50,7 +50,7 @@
dateFormat=
"yyyy-MM-dd"
parseFormats=
"['yyyyMMdd']"
/>
dateFormat=
"yyyy-MM-dd"
parseFormats=
"['yyyyMMdd']"
/>
<EF:EFColumn
ename=
"projName"
cname=
"项目名称"
enable=
"false"
width=
"130"
align=
"center"
/>
<EF:EFColumn
ename=
"projName"
cname=
"项目名称"
enable=
"false"
width=
"130"
align=
"center"
/>
<EF:EFColumn
ename=
"inventName"
cname=
"部件名称"
enable=
"false"
width=
"130"
align=
"center"
/>
<EF:EFColumn
ename=
"inventName"
cname=
"部件名称"
enable=
"false"
width=
"130"
align=
"center"
/>
<EF:EFColumn
ename=
"subInventName"
cname=
"零
部
件名称"
enable=
"false"
width=
"130"
align=
"center"
/>
<EF:EFColumn
ename=
"subInventName"
cname=
"零件名称"
enable=
"false"
width=
"130"
align=
"center"
/>
<EF:EFColumn
ename=
"orgName"
cname=
"生产组名称"
enable=
"false"
width=
"130"
align=
"center"
/>
<EF:EFColumn
ename=
"orgName"
cname=
"生产组名称"
enable=
"false"
width=
"130"
align=
"center"
/>
<EF:EFComboColumn
ename=
"poorType"
cname=
"不良品类"
enable=
"false"
width=
"100"
align=
"center"
>
<EF:EFComboColumn
ename=
"poorType"
cname=
"不良品类"
enable=
"false"
width=
"100"
align=
"center"
>
<EF:EFCodeOption
codeName=
"hpjx.hpjx.poorType"
/>
<EF:EFCodeOption
codeName=
"hpjx.hpjx.poorType"
/>
...
@@ -64,7 +64,7 @@
...
@@ -64,7 +64,7 @@
<EF:EFColumn
ename=
"prodTaskNo"
cname=
"生产任务号"
enable=
"false"
width=
"150"
align=
"center"
/>
<EF:EFColumn
ename=
"prodTaskNo"
cname=
"生产任务号"
enable=
"false"
width=
"150"
align=
"center"
/>
<EF:EFColumn
ename=
"projCode"
cname=
"项目编码"
enable=
"false"
width=
"130"
align=
"center"
/>
<EF:EFColumn
ename=
"projCode"
cname=
"项目编码"
enable=
"false"
width=
"130"
align=
"center"
/>
<EF:EFColumn
ename=
"inventCode"
cname=
"部件编码"
enable=
"false"
width=
"130"
align=
"center"
/>
<EF:EFColumn
ename=
"inventCode"
cname=
"部件编码"
enable=
"false"
width=
"130"
align=
"center"
/>
<EF:EFColumn
ename=
"subInventCode"
cname=
"零
部
件编码"
enable=
"false"
width=
"130"
align=
"center"
/>
<EF:EFColumn
ename=
"subInventCode"
cname=
"零件编码"
enable=
"false"
width=
"130"
align=
"center"
/>
<EF:EFColumn
ename=
"orgNo"
cname=
"生产组编码"
enable=
"false"
width=
"130"
align=
"center"
/>
<EF:EFColumn
ename=
"orgNo"
cname=
"生产组编码"
enable=
"false"
width=
"130"
align=
"center"
/>
<EF:EFColumn
ename=
"createdName"
cname=
"创建人"
enable=
"false"
width=
"150"
align=
"center"
/>
<EF:EFColumn
ename=
"createdName"
cname=
"创建人"
enable=
"false"
width=
"150"
align=
"center"
/>
<EF:EFColumn
ename=
"createdTime"
cname=
"创建时间"
enable=
"false"
width=
"150"
align=
"center"
<EF:EFColumn
ename=
"createdTime"
cname=
"创建时间"
enable=
"false"
width=
"150"
align=
"center"
...
...
src/main/webapp/HP/ZL/HPZL001A.jsp
View file @
8fef1e5d
...
@@ -12,7 +12,7 @@
...
@@ -12,7 +12,7 @@
<div
class=
"row"
>
<div
class=
"row"
>
<EF:EFInput
cname=
"项目名称"
ename=
"projName"
blockId=
"detail"
row=
"0"
colWidth=
"3"
readonly=
"true"
/>
<EF:EFInput
cname=
"项目名称"
ename=
"projName"
blockId=
"detail"
row=
"0"
colWidth=
"3"
readonly=
"true"
/>
<EF:EFInput
cname=
"部件名称"
ename=
"inventName"
blockId=
"detail"
row=
"0"
colWidth=
"3"
readonly=
"true"
/>
<EF:EFInput
cname=
"部件名称"
ename=
"inventName"
blockId=
"detail"
row=
"0"
colWidth=
"3"
readonly=
"true"
/>
<EF:EFInput
cname=
"零
部
件名称"
ename=
"subInventName"
blockId=
"detail"
row=
"0"
colWidth=
"3"
readonly=
"true"
/>
<EF:EFInput
cname=
"零件名称"
ename=
"subInventName"
blockId=
"detail"
row=
"0"
colWidth=
"3"
readonly=
"true"
/>
<EF:EFInput
cname=
"生产组"
ename=
"orgName"
blockId=
"detail"
row=
"0"
colWidth=
"3"
readonly=
"true"
/>
<EF:EFInput
cname=
"生产组"
ename=
"orgName"
blockId=
"detail"
row=
"0"
colWidth=
"3"
readonly=
"true"
/>
</div>
</div>
<EF:EFInput
cname=
"状态"
ename=
"status"
blockId=
"detail"
row=
"0"
colWidth=
"3"
type=
"hidden"
/>
<EF:EFInput
cname=
"状态"
ename=
"status"
blockId=
"detail"
row=
"0"
colWidth=
"3"
type=
"hidden"
/>
...
...
src/main/webapp/HP/ZL/HPZL001B.jsp
View file @
8fef1e5d
...
@@ -15,7 +15,7 @@
...
@@ -15,7 +15,7 @@
<EF:EFInput
cname=
"部件名称"
ename=
"prdtName"
blockId=
"inqu_status"
row=
"0"
colWidth=
"3"
/>
<EF:EFInput
cname=
"部件名称"
ename=
"prdtName"
blockId=
"inqu_status"
row=
"0"
colWidth=
"3"
/>
</div>
</div>
<div
class=
"row"
>
<div
class=
"row"
>
<EF:EFInput
cname=
"零
部
件名称"
ename=
"partName"
blockId=
"inqu_status"
row=
"0"
colWidth=
"3"
/>
<EF:EFInput
cname=
"零件名称"
ename=
"partName"
blockId=
"inqu_status"
row=
"0"
colWidth=
"3"
/>
</div>
</div>
</div>
</div>
</EF:EFRegion>
</EF:EFRegion>
...
@@ -26,8 +26,8 @@
...
@@ -26,8 +26,8 @@
<EF:EFColumn
ename=
"childId"
cname=
"生产任务ID"
enable=
"false"
width=
"90"
align=
"center"
hidden=
"true"
/>
<EF:EFColumn
ename=
"childId"
cname=
"生产任务ID"
enable=
"false"
width=
"90"
align=
"center"
hidden=
"true"
/>
<EF:EFColumn
ename=
"projName"
cname=
"项目名称"
enable=
"false"
width=
"140"
align=
"center"
/>
<EF:EFColumn
ename=
"projName"
cname=
"项目名称"
enable=
"false"
width=
"140"
align=
"center"
/>
<EF:EFColumn
ename=
"prdtName"
cname=
"部件名称"
enable=
"false"
width=
"120"
align=
"center"
/>
<EF:EFColumn
ename=
"prdtName"
cname=
"部件名称"
enable=
"false"
width=
"120"
align=
"center"
/>
<EF:EFColumn
ename=
"partName"
cname=
"零
部
件名称"
enable=
"false"
width=
"120"
align=
"center"
/>
<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=
"partSpec"
cname=
"零件规格"
enable=
"false"
width=
"150"
align=
"center"
/>
<EF:EFComboColumn
ename=
"poorType"
cname=
"不良品类"
width=
"100"
align=
"center"
required=
"true"
>
<EF:EFComboColumn
ename=
"poorType"
cname=
"不良品类"
width=
"100"
align=
"center"
required=
"true"
>
<EF:EFCodeOption
codeName=
"hpjx.hpjx.poorType"
/>
<EF:EFCodeOption
codeName=
"hpjx.hpjx.poorType"
/>
</EF:EFComboColumn>
</EF:EFComboColumn>
...
@@ -40,7 +40,7 @@
...
@@ -40,7 +40,7 @@
<EF:EFColumn
ename=
"remark"
cname=
"备注"
enable=
"false"
width=
"150"
/>
<EF:EFColumn
ename=
"remark"
cname=
"备注"
enable=
"false"
width=
"150"
/>
<EF:EFColumn
ename=
"projCode"
cname=
"项目号"
enable=
"false"
width=
"140"
align=
"center"
/>
<EF:EFColumn
ename=
"projCode"
cname=
"项目号"
enable=
"false"
width=
"140"
align=
"center"
/>
<EF:EFColumn
ename=
"prdtCode"
cname=
"部件编码"
enable=
"false"
width=
"120"
align=
"center"
/>
<EF:EFColumn
ename=
"prdtCode"
cname=
"部件编码"
enable=
"false"
width=
"120"
align=
"center"
/>
<EF:EFColumn
ename=
"partCode"
cname=
"零
部
件编码"
enable=
"false"
width=
"120"
align=
"center"
/>
<EF:EFColumn
ename=
"partCode"
cname=
"零件编码"
enable=
"false"
width=
"120"
align=
"center"
/>
<EF:EFColumn
ename=
"factoryCode"
cname=
"厂区编码"
enable=
"false"
width=
"150"
/>
<EF:EFColumn
ename=
"factoryCode"
cname=
"厂区编码"
enable=
"false"
width=
"150"
/>
<EF:EFColumn
ename=
"orgNo"
cname=
"生产组编码"
enable=
"false"
width=
"150"
/>
<EF:EFColumn
ename=
"orgNo"
cname=
"生产组编码"
enable=
"false"
width=
"150"
/>
<EF:EFColumn
ename=
"prodTaskNo"
cname=
"生产任务号"
enable=
"false"
width=
"140"
align=
"center"
/>
<EF:EFColumn
ename=
"prodTaskNo"
cname=
"生产任务号"
enable=
"false"
width=
"140"
align=
"center"
/>
...
...
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