Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
hg-smart
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
platform
hg-smart
Commits
83a72b01
Commit
83a72b01
authored
Jul 06, 2024
by
13420
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/dev' into dev
parents
8e7d83bf
29f94aa7
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
17 changed files
with
110 additions
and
428 deletions
+110
-428
HGCBTools.java
src/main/java/com/baosight/hggp/hg/cb/tools/HGCBTools.java
+3
-3
HGKC007.java
src/main/java/com/baosight/hggp/hg/kc/domain/HGKC007.java
+0
-0
HGKC007A.java
src/main/java/com/baosight/hggp/hg/kc/domain/HGKC007A.java
+0
-201
ServiceHGKC005.java
.../java/com/baosight/hggp/hg/kc/service/ServiceHGKC005.java
+12
-0
ServiceHGKC013.java
.../java/com/baosight/hggp/hg/kc/service/ServiceHGKC013.java
+8
-8
HGKC007.xml
src/main/java/com/baosight/hggp/hg/kc/sql/HGKC007.xml
+5
-113
HGKC007A.xml
src/main/java/com/baosight/hggp/hg/kc/sql/HGKC007A.xml
+2
-60
HGKCTools.java
src/main/java/com/baosight/hggp/hg/kc/tools/HGKCTools.java
+17
-0
ServiceHGZL001.java
.../java/com/baosight/hggp/hg/zl/service/ServiceHGZL001.java
+5
-5
HGKC001.js
src/main/webapp/HG/KC/HGKC001.js
+28
-0
HGKC001.jsp
src/main/webapp/HG/KC/HGKC001.jsp
+11
-11
HGKC003.jsp
src/main/webapp/HG/KC/HGKC003.jsp
+1
-1
HGKC004.jsp
src/main/webapp/HG/KC/HGKC004.jsp
+12
-8
HGKC005.jsp
src/main/webapp/HG/KC/HGKC005.jsp
+1
-1
HGKC006.jsp
src/main/webapp/HG/KC/HGKC006.jsp
+2
-8
HGKC007.jsp
src/main/webapp/HG/KC/HGKC007.jsp
+2
-8
HGKC008.jsp
src/main/webapp/HG/KC/HGKC008.jsp
+1
-1
No files found.
src/main/java/com/baosight/hggp/hg/cb/tools/HGCBTools.java
View file @
83a72b01
...
@@ -409,7 +409,7 @@ public class HGCBTools {
...
@@ -409,7 +409,7 @@ public class HGCBTools {
hgcb003
.
setInventCode
(
hgkc007b
.
getInventCode
());
hgcb003
.
setInventCode
(
hgkc007b
.
getInventCode
());
hgcb003
.
setInventName
(
hgkc007b
.
getInventName
());
hgcb003
.
setInventName
(
hgkc007b
.
getInventName
());
hgcb003
.
setInventRecordId
(
hgkc007b
.
getInventRecordId
());
hgcb003
.
setInventRecordId
(
hgkc007b
.
getInventRecordId
());
hgcb003
.
setSpec
(
hgkc007b
.
getP
ar
tSpec
());
hgcb003
.
setSpec
(
hgkc007b
.
getP
rd
tSpec
());
hgcb003
.
setIsEstimate
(
0
);
hgcb003
.
setIsEstimate
(
0
);
hgcb003
.
setQuantity
(
hgkc007b
.
getInvQty
());
hgcb003
.
setQuantity
(
hgkc007b
.
getInvQty
());
hgcb003
.
setWeight
(
hgkc007b
.
getInvWeight
());
hgcb003
.
setWeight
(
hgkc007b
.
getInvWeight
());
...
@@ -578,8 +578,8 @@ public class HGCBTools {
...
@@ -578,8 +578,8 @@ public class HGCBTools {
dataMap
.
put
(
HGCB004
.
FIELD_SPEC
,
dataMap
.
get
(
HGKC006A
.
FIELD_PART_SPEC
));
dataMap
.
put
(
HGCB004
.
FIELD_SPEC
,
dataMap
.
get
(
HGKC006A
.
FIELD_PART_SPEC
));
}
else
if
(
dataMap
.
containsKey
(
HGKC008A
.
FIELD_INV_SPEC
)){
}
else
if
(
dataMap
.
containsKey
(
HGKC008A
.
FIELD_INV_SPEC
)){
dataMap
.
put
(
HGCB004
.
FIELD_SPEC
,
dataMap
.
get
(
HGKC008A
.
FIELD_INV_SPEC
));
dataMap
.
put
(
HGCB004
.
FIELD_SPEC
,
dataMap
.
get
(
HGKC008A
.
FIELD_INV_SPEC
));
}
else
if
(
dataMap
.
containsKey
(
HGKC007A
.
FIELD_P
AR
T_SPEC
)){
}
else
if
(
dataMap
.
containsKey
(
HGKC007A
.
FIELD_P
RD
T_SPEC
)){
dataMap
.
put
(
HGCB004
.
FIELD_SPEC
,
dataMap
.
get
(
HGKC007A
.
FIELD_P
AR
T_SPEC
));
dataMap
.
put
(
HGCB004
.
FIELD_SPEC
,
dataMap
.
get
(
HGKC007A
.
FIELD_P
RD
T_SPEC
));
}
}
return
buildKey
(
dataMap
.
get
(
HGCB004
.
FIELD_COMPANY_CODE
),
dataMap
.
get
(
HGCB004
.
FIELD_DEP_CODE
),
dataMap
.
get
(
HGCB004
.
FIELD_INVENT_TYPE_DETAIL
),
return
buildKey
(
dataMap
.
get
(
HGCB004
.
FIELD_COMPANY_CODE
),
dataMap
.
get
(
HGCB004
.
FIELD_DEP_CODE
),
dataMap
.
get
(
HGCB004
.
FIELD_INVENT_TYPE_DETAIL
),
dataMap
.
get
(
HGCB004
.
FIELD_INVENT_CODE
),
dataMap
.
get
(
HGCB004
.
FIELD_WH_CODE
),
dataMap
.
get
(
HGCB004
.
FIELD_SPEC
));
dataMap
.
get
(
HGCB004
.
FIELD_INVENT_CODE
),
dataMap
.
get
(
HGCB004
.
FIELD_WH_CODE
),
dataMap
.
get
(
HGCB004
.
FIELD_SPEC
));
...
...
src/main/java/com/baosight/hggp/hg/kc/domain/HGKC007.java
View file @
83a72b01
This diff is collapsed.
Click to expand it.
src/main/java/com/baosight/hggp/hg/kc/domain/HGKC007A.java
View file @
83a72b01
This diff is collapsed.
Click to expand it.
src/main/java/com/baosight/hggp/hg/kc/service/ServiceHGKC005.java
View file @
83a72b01
...
@@ -283,6 +283,8 @@ public class ServiceHGKC005 extends ServiceEPBase {
...
@@ -283,6 +283,8 @@ public class ServiceHGKC005 extends ServiceEPBase {
this
.
checkSubmitData
(
hgkc005
);
this
.
checkSubmitData
(
hgkc005
);
DaoUtils
.
update
(
HGKC005
.
UPDATE_SUBMIT_STATUS
,
hgkc005
);
DaoUtils
.
update
(
HGKC005
.
UPDATE_SUBMIT_STATUS
,
hgkc005
);
setHgkc007
(
hgkc005
);
// //修改计划生产任务完工数量
// //修改计划生产任务完工数量
// HGSCTools.complete(hgkc003.getQualityId(),hgkc003.getInvQty().intValue(),hgkc003.getRectificationId(),HGConstant.StorageType.RK);
// HGSCTools.complete(hgkc003.getQualityId(),hgkc003.getInvQty().intValue(),hgkc003.getRectificationId(),HGConstant.StorageType.RK);
}
}
...
@@ -298,4 +300,14 @@ public class ServiceHGKC005 extends ServiceEPBase {
...
@@ -298,4 +300,14 @@ public class ServiceHGKC005 extends ServiceEPBase {
}
}
return
inInfo
;
return
inInfo
;
}
}
/**
* 生成其他入库单或出库单
* @param hgkc005
*/
private
void
setHgkc007
(
HGKC005
hgkc005
)
{
HGKC007
hgkc007
=
new
HGKC007
();
HGKCTools
.
HgKc007
.
generateHgkc007
(
hgkc007
);
}
}
}
src/main/java/com/baosight/hggp/hg/kc/service/ServiceHGKC013.java
View file @
83a72b01
...
@@ -184,10 +184,10 @@ public class ServiceHGKC013 extends ServiceEPBase {
...
@@ -184,10 +184,10 @@ public class ServiceHGKC013 extends ServiceEPBase {
hgkc006A
.
setInvQty
(
hgkc013A
.
getQuantity
());
hgkc006A
.
setInvQty
(
hgkc013A
.
getQuantity
());
hgkc006A
.
setInvUnitWeight
(
hgkc013A
.
getUnitWeight
());
hgkc006A
.
setInvUnitWeight
(
hgkc013A
.
getUnitWeight
());
hgkc006A
.
setInvWeight
(
hgkc013A
.
getWeight
());
hgkc006A
.
setInvWeight
(
hgkc013A
.
getWeight
());
hgkc006A
.
setP
ar
tLength
(
hgkc013A
.
getLength
());
hgkc006A
.
setP
rd
tLength
(
hgkc013A
.
getLength
());
hgkc006A
.
setP
ar
tWidth
(
hgkc013A
.
getWidth
());
hgkc006A
.
setP
rd
tWidth
(
hgkc013A
.
getWidth
());
hgkc006A
.
setP
ar
tThick
(
hgkc013A
.
getThick
());
hgkc006A
.
setP
rd
tThick
(
hgkc013A
.
getThick
());
hgkc006A
.
setP
ar
tSpec
(
hgkc013A
.
getSpec
());
hgkc006A
.
setP
rd
tSpec
(
hgkc013A
.
getSpec
());
hgkc006A
.
setSource
(
InventorySource
.
ALLOCATION
.
getCode
());
hgkc006A
.
setSource
(
InventorySource
.
ALLOCATION
.
getCode
());
hgkc006A
.
setInventTypeDetail
(
hgkc013A
.
getInventTypeDetail
());
hgkc006A
.
setInventTypeDetail
(
hgkc013A
.
getInventTypeDetail
());
DaoUtils
.
insert
(
HGKC006A
.
INSERT
,
hgkc006A
);
DaoUtils
.
insert
(
HGKC006A
.
INSERT
,
hgkc006A
);
...
@@ -226,10 +226,10 @@ public class ServiceHGKC013 extends ServiceEPBase {
...
@@ -226,10 +226,10 @@ public class ServiceHGKC013 extends ServiceEPBase {
hgkc007A
.
setInvQty
(
hgkc013A
.
getQuantity
());
hgkc007A
.
setInvQty
(
hgkc013A
.
getQuantity
());
hgkc007A
.
setInvUnitWeight
(
hgkc013A
.
getUnitWeight
());
hgkc007A
.
setInvUnitWeight
(
hgkc013A
.
getUnitWeight
());
hgkc007A
.
setInvWeight
(
hgkc013A
.
getWeight
());
hgkc007A
.
setInvWeight
(
hgkc013A
.
getWeight
());
hgkc007A
.
setP
ar
tLength
(
hgkc013A
.
getLength
());
hgkc007A
.
setP
rd
tLength
(
hgkc013A
.
getLength
());
hgkc007A
.
setP
ar
tWidth
(
hgkc013A
.
getWidth
());
hgkc007A
.
setP
rd
tWidth
(
hgkc013A
.
getWidth
());
hgkc007A
.
setP
ar
tThick
(
hgkc013A
.
getThick
());
hgkc007A
.
setP
rd
tThick
(
hgkc013A
.
getThick
());
hgkc007A
.
setP
ar
tSpec
(
hgkc013A
.
getSpec
());
hgkc007A
.
setP
rd
tSpec
(
hgkc013A
.
getSpec
());
hgkc007A
.
setSource
(
InventorySource
.
ALLOCATION
.
getCode
());
hgkc007A
.
setSource
(
InventorySource
.
ALLOCATION
.
getCode
());
hgkc007A
.
setInventTypeDetail
(
hgkc013A
.
getInventTypeDetail
());
hgkc007A
.
setInventTypeDetail
(
hgkc013A
.
getInventTypeDetail
());
DaoUtils
.
insert
(
HGKC007A
.
INSERT
,
hgkc007A
);
DaoUtils
.
insert
(
HGKC007A
.
INSERT
,
hgkc007A
);
...
...
src/main/java/com/baosight/hggp/hg/kc/sql/HGKC007.xml
View file @
83a72b01
...
@@ -72,48 +72,6 @@
...
@@ -72,48 +72,6 @@
<isNotEmpty
prepend=
" AND "
property=
"projName"
>
<isNotEmpty
prepend=
" AND "
property=
"projName"
>
PROJ_NAME = #projName#
PROJ_NAME = #projName#
</isNotEmpty>
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"prdtType"
>
PRDT_TYPE = #prdtType#
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"prdtCode"
>
PRDT_CODE = #prdtCode#
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"prdtName"
>
PRDT_NAME = #prdtName#
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"prdtLength"
>
PRDT_LENGTH = #prdtLength#
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"prdtWidth"
>
PRDT_WIDTH = #prdtWidth#
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"prdtThick"
>
PRDT_THICK = #prdtThick#
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"prdtSpec"
>
PRDT_SPEC = #prdtSpec#
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"partType"
>
PART_TYPE = #partType#
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"partCode"
>
PART_CODE = #partCode#
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"partName"
>
PART_NAME = #partName#
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"partLength"
>
PART_LENGTH = #partLength#
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"partWidth"
>
PART_WIDTH = #partWidth#
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"partThick"
>
PART_THICK = #partThick#
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"partSpec"
>
PART_SPEC = #partSpec#
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"submitStatus"
>
<isNotEmpty
prepend=
" AND "
property=
"submitStatus"
>
SUBMIT_STATUS = #submitStatus#
SUBMIT_STATUS = #submitStatus#
</isNotEmpty>
</isNotEmpty>
...
@@ -148,20 +106,6 @@
...
@@ -148,20 +106,6 @@
PROD_TASK_NO as "prodTaskNo",
<!-- 生产任务号 -->
PROD_TASK_NO as "prodTaskNo",
<!-- 生产任务号 -->
PROJ_CODE as "projCode",
<!-- 项目编码 -->
PROJ_CODE as "projCode",
<!-- 项目编码 -->
PROJ_NAME as "projName",
<!-- 项目名称 -->
PROJ_NAME as "projName",
<!-- 项目名称 -->
PRDT_TYPE as "prdtType",
<!-- 产品类型 -->
PRDT_CODE as "prdtCode",
<!-- 产品编码 -->
PRDT_NAME as "prdtName",
<!-- 产品名称 -->
PRDT_LENGTH as "prdtLength",
<!-- 产品-长 -->
PRDT_WIDTH as "prdtWidth",
<!-- 产品-宽 -->
PRDT_THICK as "prdtThick",
<!-- 产品-厚 -->
PRDT_SPEC as "prdtSpec",
<!-- 产品规格 -->
PART_TYPE as "partType",
<!-- 零件类型 -->
PART_CODE as "partCode",
<!-- 零件编码 -->
PART_NAME as "partName",
<!-- 零件名称 -->
PART_LENGTH as "partLength",
<!-- 零件-长 -->
PART_WIDTH as "partWidth",
<!-- 零件-宽 -->
PART_THICK as "partThick",
<!-- 零件-厚 -->
PART_SPEC as "partSpec",
<!-- 零件规格 -->
SUBMIT_STATUS as "submitStatus",
<!-- 提交状态 -->
SUBMIT_STATUS as "submitStatus",
<!-- 提交状态 -->
SOURCE as "source"
<!-- 数据来源 -->
SOURCE as "source"
<!-- 数据来源 -->
FROM ${hggpSchema}.HGKC007 WHERE 1=1 and DELETE_FLAG = 0
FROM ${hggpSchema}.HGKC007 WHERE 1=1 and DELETE_FLAG = 0
...
@@ -210,24 +154,10 @@
...
@@ -210,24 +154,10 @@
PROD_TASK_NO,
<!-- 生产任务号 -->
PROD_TASK_NO,
<!-- 生产任务号 -->
PROJ_CODE,
<!-- 项目编码 -->
PROJ_CODE,
<!-- 项目编码 -->
PROJ_NAME,
<!-- 项目名称 -->
PROJ_NAME,
<!-- 项目名称 -->
PRDT_TYPE,
<!-- 产品类型 -->
PRDT_CODE,
<!-- 产品编码 -->
PRDT_NAME,
<!-- 产品名称 -->
PRDT_LENGTH,
<!-- 产品-长 -->
PRDT_WIDTH,
<!-- 产品-宽 -->
PRDT_THICK,
<!-- 产品-厚 -->
PRDT_SPEC,
<!-- 产品规格 -->
PART_TYPE,
<!-- 零件类型 -->
PART_CODE,
<!-- 零件编码 -->
PART_NAME,
<!-- 零件名称 -->
PART_LENGTH,
<!-- 零件-长 -->
PART_WIDTH,
<!-- 零件-宽 -->
PART_THICK,
<!-- 零件-厚 -->
PART_SPEC,
<!-- 零件规格 -->
SUBMIT_STATUS,
<!-- 提交状态 -->
SUBMIT_STATUS,
<!-- 提交状态 -->
SOURCE
<!-- 数据来源 -->
SOURCE
<!-- 数据来源 -->
)
)
VALUES (#id#, #accountCode#, #depCode#, #createdBy#, #createdName#, #createdTime#, #updatedBy#, #updatedName#, #updatedTime#, #deleteFlag#, #companyCode#, #companyName#, #otherOutDate#, #otherOutNo#, #whCode#, #whName#, #otherOutNoOld#, #remark#, #factoryCode#, #prodOrderNo#, #prodTaskNo#, #projCode#, #projName#, #
prdtType#, #prdtCode#, #prdtName#, #prdtLength#, #prdtWidth#, #prdtThick#, #prdtSpec#, #partType#, #partCode#, #partName#, #partLength#, #partWidth#, #partThick#, #partSpec#, #
submitStatus#, #source#)
VALUES (#id#, #accountCode#, #depCode#, #createdBy#, #createdName#, #createdTime#, #updatedBy#, #updatedName#, #updatedTime#, #deleteFlag#, #companyCode#, #companyName#, #otherOutDate#, #otherOutNo#, #whCode#, #whName#, #otherOutNoOld#, #remark#, #factoryCode#, #prodOrderNo#, #prodTaskNo#, #projCode#, #projName#, #submitStatus#, #source#)
</insert>
</insert>
<delete
id=
"delete"
>
<delete
id=
"delete"
>
...
@@ -259,20 +189,6 @@
...
@@ -259,20 +189,6 @@
PROD_TASK_NO = #prodTaskNo#,
<!-- 生产任务号 -->
PROD_TASK_NO = #prodTaskNo#,
<!-- 生产任务号 -->
PROJ_CODE = #projCode#,
<!-- 项目编码 -->
PROJ_CODE = #projCode#,
<!-- 项目编码 -->
PROJ_NAME = #projName#,
<!-- 项目名称 -->
PROJ_NAME = #projName#,
<!-- 项目名称 -->
PRDT_TYPE = #prdtType#,
<!-- 产品类型 -->
PRDT_CODE = #prdtCode#,
<!-- 产品编码 -->
PRDT_NAME = #prdtName#,
<!-- 产品名称 -->
PRDT_LENGTH = #prdtLength#,
<!-- 产品-长 -->
PRDT_WIDTH = #prdtWidth#,
<!-- 产品-宽 -->
PRDT_THICK = #prdtThick#,
<!-- 产品-厚 -->
PRDT_SPEC = #prdtSpec#,
<!-- 产品规格 -->
PART_TYPE = #partType#,
<!-- 零件类型 -->
PART_CODE = #partCode#,
<!-- 零件编码 -->
PART_NAME = #partName#,
<!-- 零件名称 -->
PART_LENGTH = #partLength#,
<!-- 零件-长 -->
PART_WIDTH = #partWidth#,
<!-- 零件-宽 -->
PART_THICK = #partThick#,
<!-- 零件-厚 -->
PART_SPEC = #partSpec#,
<!-- 零件规格 -->
SUBMIT_STATUS = #submitStatus#,
<!-- 提交状态 -->
SUBMIT_STATUS = #submitStatus#,
<!-- 提交状态 -->
SOURCE = #source#
<!-- 数据来源 -->
SOURCE = #source#
<!-- 数据来源 -->
WHERE
WHERE
...
@@ -305,20 +221,6 @@
...
@@ -305,20 +221,6 @@
PROD_TASK_NO as "prodTaskNo",
<!-- 生产任务号 -->
PROD_TASK_NO as "prodTaskNo",
<!-- 生产任务号 -->
PROJ_CODE as "projCode",
<!-- 项目编码 -->
PROJ_CODE as "projCode",
<!-- 项目编码 -->
PROJ_NAME as "projName",
<!-- 项目名称 -->
PROJ_NAME as "projName",
<!-- 项目名称 -->
PRDT_TYPE as "prdtType",
<!-- 产品类型 -->
PRDT_CODE as "prdtCode",
<!-- 产品编码 -->
PRDT_NAME as "prdtName",
<!-- 产品名称 -->
PRDT_LENGTH as "prdtLength",
<!-- 产品-长 -->
PRDT_WIDTH as "prdtWidth",
<!-- 产品-宽 -->
PRDT_THICK as "prdtThick",
<!-- 产品-厚 -->
PRDT_SPEC as "prdtSpec",
<!-- 产品规格 -->
PART_TYPE as "partType",
<!-- 零件类型 -->
PART_CODE as "partCode",
<!-- 零件编码 -->
PART_NAME as "partName",
<!-- 零件名称 -->
PART_LENGTH as "partLength",
<!-- 零件-长 -->
PART_WIDTH as "partWidth",
<!-- 零件-宽 -->
PART_THICK as "partThick",
<!-- 零件-厚 -->
PART_SPEC as "partSpec",
<!-- 零件规格 -->
SUBMIT_STATUS as "submitStatus",
<!-- 提交状态 -->
SUBMIT_STATUS as "submitStatus",
<!-- 提交状态 -->
SOURCE as "source"
<!-- 数据来源 -->
SOURCE as "source"
<!-- 数据来源 -->
FROM ${hggpSchema}.HGKC007 WHERE 1=1 and DELETE_FLAG = 0
FROM ${hggpSchema}.HGKC007 WHERE 1=1 and DELETE_FLAG = 0
...
@@ -396,20 +298,6 @@
...
@@ -396,20 +298,6 @@
PROD_TASK_NO as "prodTaskNo",
<!-- 生产任务号 -->
PROD_TASK_NO as "prodTaskNo",
<!-- 生产任务号 -->
PROJ_CODE as "projCode",
<!-- 项目编码 -->
PROJ_CODE as "projCode",
<!-- 项目编码 -->
PROJ_NAME as "projName",
<!-- 项目名称 -->
PROJ_NAME as "projName",
<!-- 项目名称 -->
PRDT_TYPE as "prdtType",
<!-- 产品类型 -->
PRDT_CODE as "prdtCode",
<!-- 产品编码 -->
PRDT_NAME as "prdtName",
<!-- 产品名称 -->
PRDT_LENGTH as "prdtLength",
<!-- 产品-长 -->
PRDT_WIDTH as "prdtWidth",
<!-- 产品-宽 -->
PRDT_THICK as "prdtThick",
<!-- 产品-厚 -->
PRDT_SPEC as "prdtSpec",
<!-- 产品规格 -->
PART_TYPE as "partType",
<!-- 零件类型 -->
PART_CODE as "partCode",
<!-- 零件编码 -->
PART_NAME as "partName",
<!-- 零件名称 -->
PART_LENGTH as "partLength",
<!-- 零件-长 -->
PART_WIDTH as "partWidth",
<!-- 零件-宽 -->
PART_THICK as "partThick",
<!-- 零件-厚 -->
PART_SPEC as "partSpec",
<!-- 零件规格 -->
SUBMIT_STATUS as "submitStatus",
<!-- 提交状态 -->
SUBMIT_STATUS as "submitStatus",
<!-- 提交状态 -->
SOURCE as "source"
<!-- 数据来源 -->
SOURCE as "source"
<!-- 数据来源 -->
FROM ${hggpSchema}.HGKC007 WHERE 1=1 and DELETE_FLAG = 0
FROM ${hggpSchema}.HGKC007 WHERE 1=1 and DELETE_FLAG = 0
...
@@ -430,4 +318,8 @@
...
@@ -430,4 +318,8 @@
</select>
</select>
<select
id=
"maxId"
resultClass=
"long"
>
SELECT MAX(ID) AS "id" FROM ${hggpSchema}.HGKC007
</select>
</sqlMap>
</sqlMap>
src/main/java/com/baosight/hggp/hg/kc/sql/HGKC007A.xml
View file @
83a72b01
...
@@ -114,30 +114,6 @@
...
@@ -114,30 +114,6 @@
<isNotEmpty
prepend=
" AND "
property=
"prdtSpec"
>
<isNotEmpty
prepend=
" AND "
property=
"prdtSpec"
>
PRDT_SPEC = #prdtSpec#
PRDT_SPEC = #prdtSpec#
</isNotEmpty>
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"partType"
>
PART_TYPE = #partType#
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"partCode"
>
PART_CODE = #partCode#
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"partName"
>
PART_NAME = #partName#
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"partLength"
>
PART_LENGTH = #partLength#
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"partWidth"
>
PART_WIDTH = #partWidth#
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"partThick"
>
PART_THICK = #partThick#
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"partSpec"
>
PART_SPEC = #partSpec#
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"partSpecId"
>
PART_SPEC_ID = #partSpecId#
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"primaryId"
>
<isNotEmpty
prepend=
" AND "
property=
"primaryId"
>
PRIMARY_ID = #primaryId#
PRIMARY_ID = #primaryId#
</isNotEmpty>
</isNotEmpty>
...
@@ -198,14 +174,6 @@
...
@@ -198,14 +174,6 @@
PRDT_WIDTH as "prdtWidth",
<!-- 产品-宽 -->
PRDT_WIDTH as "prdtWidth",
<!-- 产品-宽 -->
PRDT_THICK as "prdtThick",
<!-- 产品-厚 -->
PRDT_THICK as "prdtThick",
<!-- 产品-厚 -->
PRDT_SPEC as "prdtSpec",
<!-- 产品规格 -->
PRDT_SPEC as "prdtSpec",
<!-- 产品规格 -->
PART_TYPE as "partType",
<!-- 零件类型 -->
PART_CODE as "partCode",
<!-- 零件编码 -->
PART_NAME as "partName",
<!-- 零件名称 -->
PART_LENGTH as "partLength",
<!-- 零件-长 -->
PART_WIDTH as "partWidth",
<!-- 零件-宽 -->
PART_THICK as "partThick",
<!-- 零件-厚 -->
PART_SPEC as "partSpec",
<!-- 零件规格 -->
PART_SPEC_ID as "partSpecId",
<!-- 零件规格id -->
PRIMARY_ID as "primaryId",
<!-- 主表id -->
PRIMARY_ID as "primaryId",
<!-- 主表id -->
PRICE as "price",
<!-- 单价 -->
PRICE as "price",
<!-- 单价 -->
AMOUNT as "amount",
<!-- 金额 -->
AMOUNT as "amount",
<!-- 金额 -->
...
@@ -267,14 +235,6 @@
...
@@ -267,14 +235,6 @@
PRDT_WIDTH,
<!-- 产品-宽 -->
PRDT_WIDTH,
<!-- 产品-宽 -->
PRDT_THICK,
<!-- 产品-厚 -->
PRDT_THICK,
<!-- 产品-厚 -->
PRDT_SPEC,
<!-- 产品规格 -->
PRDT_SPEC,
<!-- 产品规格 -->
PART_TYPE,
<!-- 零件类型 -->
PART_CODE,
<!-- 零件编码 -->
PART_NAME,
<!-- 零件名称 -->
PART_LENGTH,
<!-- 零件-长 -->
PART_WIDTH,
<!-- 零件-宽 -->
PART_THICK,
<!-- 零件-厚 -->
PART_SPEC,
<!-- 零件规格 -->
PART_SPEC_ID,
<!-- 零件规格id -->
PRIMARY_ID,
<!-- 主表id -->
PRIMARY_ID,
<!-- 主表id -->
PRICE,
<!-- 单价 -->
PRICE,
<!-- 单价 -->
AMOUNT,
<!-- 金额 -->
AMOUNT,
<!-- 金额 -->
...
@@ -285,8 +245,7 @@
...
@@ -285,8 +245,7 @@
#updatedTime#, #deleteFlag#, #companyCode#, #companyName#, #otherOutDate#, #otherOutNo#, #whCode#, #whName#,
#updatedTime#, #deleteFlag#, #companyCode#, #companyName#, #otherOutDate#, #otherOutNo#, #whCode#, #whName#,
#inventRecordId#, #inventType#, #inventCode#, #inventName#, #invQty#, #invUnitWeight#, #invWeight#,
#inventRecordId#, #inventType#, #inventCode#, #inventName#, #invQty#, #invUnitWeight#, #invWeight#,
#otherOutNoOld#, #remark#, #factoryCode#, #prodOrderNo#, #prodTaskNo#, #projCode#, #projName#, #prdtType#,
#otherOutNoOld#, #remark#, #factoryCode#, #prodOrderNo#, #prodTaskNo#, #projCode#, #projName#, #prdtType#,
#prdtCode#, #prdtName#, #prdtLength#, #prdtWidth#, #prdtThick#, #prdtSpec#, #partType#, #partCode#, #partName#,
#prdtCode#, #prdtName#, #prdtLength#, #prdtWidth#, #prdtThick#, #prdtSpec#,#primaryId#, #price#, #amount#,
#partLength#, #partWidth#, #partThick#, #partSpec#, #partSpecId#,#primaryId#, #price#, #amount#,
#source#,#inventTypeDetail#)
#source#,#inventTypeDetail#)
</insert>
</insert>
...
@@ -333,14 +292,6 @@
...
@@ -333,14 +292,6 @@
PRDT_WIDTH = #prdtWidth#,
<!-- 产品-宽 -->
PRDT_WIDTH = #prdtWidth#,
<!-- 产品-宽 -->
PRDT_THICK = #prdtThick#,
<!-- 产品-厚 -->
PRDT_THICK = #prdtThick#,
<!-- 产品-厚 -->
PRDT_SPEC = #prdtSpec#,
<!-- 产品规格 -->
PRDT_SPEC = #prdtSpec#,
<!-- 产品规格 -->
PART_TYPE = #partType#,
<!-- 零件类型 -->
PART_CODE = #partCode#,
<!-- 零件编码 -->
PART_NAME = #partName#,
<!-- 零件名称 -->
PART_LENGTH = #partLength#,
<!-- 零件-长 -->
PART_WIDTH = #partWidth#,
<!-- 零件-宽 -->
PART_THICK = #partThick#,
<!-- 零件-厚 -->
PART_SPEC = #partSpec#,
<!-- 零件规格 -->
PART_SPEC_ID = #partSpecId#,
<!-- 零件规格id -->
PRIMARY_ID = #primaryId#,
<!-- 主表id -->
PRIMARY_ID = #primaryId#,
<!-- 主表id -->
PRICE = #price#,
<!-- 单价 -->
PRICE = #price#,
<!-- 单价 -->
AMOUNT = #amount#,
<!-- 金额 -->
AMOUNT = #amount#,
<!-- 金额 -->
...
@@ -399,14 +350,6 @@
...
@@ -399,14 +350,6 @@
A.PRDT_WIDTH as "prdtWidth",
<!-- 产品-宽 -->
A.PRDT_WIDTH as "prdtWidth",
<!-- 产品-宽 -->
A.PRDT_THICK as "prdtThick",
<!-- 产品-厚 -->
A.PRDT_THICK as "prdtThick",
<!-- 产品-厚 -->
A.PRDT_SPEC as "prdtSpec",
<!-- 产品规格 -->
A.PRDT_SPEC as "prdtSpec",
<!-- 产品规格 -->
A.PART_TYPE as "partType",
<!-- 零件类型 -->
A.PART_CODE as "partCode",
<!-- 零件编码 -->
A.PART_NAME as "partName",
<!-- 零件名称 -->
A.PART_LENGTH as "partLength",
<!-- 零件-长 -->
A.PART_WIDTH as "partWidth",
<!-- 零件-宽 -->
A.PART_THICK as "partThick",
<!-- 零件-厚 -->
A.PART_SPEC as "partSpec",
<!-- 零件规格 -->
A.PART_SPEC_ID as "partSpecId",
<!-- 零件规格id -->
A.PRIMARY_ID as "primaryId",
<!-- 主表id -->
A.PRIMARY_ID as "primaryId",
<!-- 主表id -->
CASE WHEN IFNULL(SUM(A.INV_QTY), 0) = 0 THEN 0 ELSE SUM(A.AMOUNT) / IFNULL(SUM(A.INV_QTY), 0) END as "price",
<!-- 单价 -->
CASE WHEN IFNULL(SUM(A.INV_QTY), 0) = 0 THEN 0 ELSE SUM(A.AMOUNT) / IFNULL(SUM(A.INV_QTY), 0) END as "price",
<!-- 单价 -->
SUM(A.AMOUNT) as "amount"
<!-- 金额 -->
SUM(A.AMOUNT) as "amount"
<!-- 金额 -->
...
@@ -435,8 +378,7 @@
...
@@ -435,8 +378,7 @@
A.INVENT_TYPE_DETAIL = #inventTypeDetail#
A.INVENT_TYPE_DETAIL = #inventTypeDetail#
</isNotEmpty>
</isNotEmpty>
GROUP BY A.ACCOUNT_CODE, A.DEP_CODE, A.COMPANY_CODE, A.COMPANY_NAME, B.OTHER_OUT_DATE, B.OTHER_OUT_NO, A.WH_CODE, A.WH_NAME, A.INVENT_RECORD_ID, A.INVENT_TYPE, A.INVENT_CODE, A.INVENT_NAME, A.FACTORY_CODE,
GROUP BY A.ACCOUNT_CODE, A.DEP_CODE, A.COMPANY_CODE, A.COMPANY_NAME, B.OTHER_OUT_DATE, B.OTHER_OUT_NO, A.WH_CODE, A.WH_NAME, A.INVENT_RECORD_ID, A.INVENT_TYPE, A.INVENT_CODE, A.INVENT_NAME, A.FACTORY_CODE,
A.PROD_ORDER_NO, A.PROD_TASK_NO, A.PROJ_CODE, A.PROJ_NAME, A.PRDT_TYPE, A.PRDT_CODE, A.PRDT_NAME, A.PRDT_LENGTH, A.PRDT_WIDTH, A.PRDT_THICK, A.PRDT_SPEC, A.PART_TYPE, A.PART_CODE, A.PART_NAME,
A.PROD_ORDER_NO, A.PROD_TASK_NO, A.PROJ_CODE, A.PROJ_NAME, A.PRDT_TYPE, A.PRDT_CODE, A.PRDT_NAME, A.PRDT_LENGTH, A.PRDT_WIDTH, A.PRDT_THICK, A.PRDT_SPEC, A.PRIMARY_ID
A.PART_LENGTH, A.PART_WIDTH, A.PART_THICK, A.PART_SPEC, A.PART_SPEC_ID, A.PRIMARY_ID
<dynamic
prepend=
"ORDER BY"
>
<dynamic
prepend=
"ORDER BY"
>
<isNotEmpty
property=
"orderBy"
>
<isNotEmpty
property=
"orderBy"
>
$orderBy$
$orderBy$
...
...
src/main/java/com/baosight/hggp/hg/kc/tools/HGKCTools.java
View file @
83a72b01
...
@@ -3,6 +3,7 @@ package com.baosight.hggp.hg.kc.tools;
...
@@ -3,6 +3,7 @@ package com.baosight.hggp.hg.kc.tools;
import
cn.hutool.core.bean.BeanUtil
;
import
cn.hutool.core.bean.BeanUtil
;
import
cn.hutool.core.collection.CollectionUtil
;
import
cn.hutool.core.collection.CollectionUtil
;
import
com.baosight.hggp.common.CheckTypeEnum
;
import
com.baosight.hggp.common.CheckTypeEnum
;
import
com.baosight.hggp.common.InventorySource
;
import
com.baosight.hggp.core.constant.CommonConstant
;
import
com.baosight.hggp.core.constant.CommonConstant
;
import
com.baosight.hggp.core.dao.DaoBase
;
import
com.baosight.hggp.core.dao.DaoBase
;
import
com.baosight.hggp.core.dao.DaoUtils
;
import
com.baosight.hggp.core.dao.DaoUtils
;
...
@@ -690,7 +691,23 @@ public class HGKCTools {
...
@@ -690,7 +691,23 @@ public class HGKCTools {
return
DaoBase
.
getInstance
().
query
(
"HGKC007.queryCheckList"
,
paramMap
);
return
DaoBase
.
getInstance
().
query
(
"HGKC007.queryCheckList"
,
paramMap
);
}
}
public
static
void
generateHgkc007
(
HGKC007
hgkc007
)
{
checkData
(
hgkc007
);
DaoUtils
.
insert
(
HGKC007
.
INSERT
,
hgkc007
);
DaoUtils
.
insertBatch
(
HGKC007A
.
INSERT
,
hgkc007
.
getDetailList
());
}
private
static
void
checkData
(
HGKC007
hgkc007
)
{
AssertUtils
.
isEmpty
(
hgkc007
.
getDetailList
(),
"其它出库单明细不能为空"
);
AssertUtils
.
isTrue
(
Objects
.
isNull
(
hgkc007
.
getId
())||
hgkc007
.
getId
()<=
0
,
"其它出库单ID不能为空!"
);
AssertUtils
.
isTrue
(
Objects
.
isNull
(
hgkc007
.
getSource
())||
hgkc007
.
getSource
()<=
0
,
"其它出库单数据来源不能为空!"
);
AssertUtils
.
isTrue
(
StringUtils
.
isBlank
(
hgkc007
.
getWhCode
()),
"其它出库单仓库不能为空!"
);
hgkc007
.
getDetailList
().
forEach
(
o
->{
AssertUtils
.
isTrue
(
StringUtils
.
isBlank
(
o
.
getWhCode
()),
"其它出库单明细仓库不能为空!"
);
AssertUtils
.
isTrue
(
StringUtils
.
isBlank
(
o
.
getInventCode
()),
"其它出库单明细存货编码不能为空!"
);
AssertUtils
.
isTrue
(
StringUtils
.
isBlank
(
o
.
getInventName
()),
"其它出库单明细存货名称不能为空!"
);
});
}
}
}
...
...
src/main/java/com/baosight/hggp/hg/zl/service/ServiceHGZL001.java
View file @
83a72b01
...
@@ -60,7 +60,7 @@ public class ServiceHGZL001 extends ServiceBase {
...
@@ -60,7 +60,7 @@ public class ServiceHGZL001 extends ServiceBase {
* @return
* @return
*/
*/
@Override
@Override
@OperationLogAnnotation
(
operModul
=
"
质量巡
检单"
,
operType
=
"查询"
,
operDesc
=
"查询"
)
@OperationLogAnnotation
(
operModul
=
"
入库质
检单"
,
operType
=
"查询"
,
operDesc
=
"查询"
)
public
EiInfo
query
(
EiInfo
inInfo
)
{
public
EiInfo
query
(
EiInfo
inInfo
)
{
try
{
try
{
Map
queryMap
=
EiInfoUtils
.
getFirstRow
(
inInfo
);
Map
queryMap
=
EiInfoUtils
.
getFirstRow
(
inInfo
);
...
@@ -78,7 +78,7 @@ public class ServiceHGZL001 extends ServiceBase {
...
@@ -78,7 +78,7 @@ public class ServiceHGZL001 extends ServiceBase {
* @param inInfo
* @param inInfo
* @return
* @return
*/
*/
@OperationLogAnnotation
(
operModul
=
"
质量巡
检单"
,
operType
=
"新增"
,
operDesc
=
"新增"
)
@OperationLogAnnotation
(
operModul
=
"
入库质
检单"
,
operType
=
"新增"
,
operDesc
=
"新增"
)
public
EiInfo
insert
(
EiInfo
inInfo
)
{
public
EiInfo
insert
(
EiInfo
inInfo
)
{
try
{
try
{
List
<
Map
>
resultRows
=
inInfo
.
getBlock
(
EiConstant
.
resultBlock
).
getRows
();
List
<
Map
>
resultRows
=
inInfo
.
getBlock
(
EiConstant
.
resultBlock
).
getRows
();
...
@@ -110,7 +110,7 @@ public class ServiceHGZL001 extends ServiceBase {
...
@@ -110,7 +110,7 @@ public class ServiceHGZL001 extends ServiceBase {
* @param inInfo
* @param inInfo
* @return
* @return
*/
*/
@OperationLogAnnotation
(
operModul
=
"
质量巡
检单"
,
operType
=
"修改"
,
operDesc
=
"修改"
)
@OperationLogAnnotation
(
operModul
=
"
入库质
检单"
,
operType
=
"修改"
,
operDesc
=
"修改"
)
public
EiInfo
update
(
EiInfo
inInfo
)
{
public
EiInfo
update
(
EiInfo
inInfo
)
{
try
{
try
{
List
<
Map
>
resultRows
=
inInfo
.
getBlock
(
EiConstant
.
resultBlock
).
getRows
();
List
<
Map
>
resultRows
=
inInfo
.
getBlock
(
EiConstant
.
resultBlock
).
getRows
();
...
@@ -159,7 +159,7 @@ public class ServiceHGZL001 extends ServiceBase {
...
@@ -159,7 +159,7 @@ public class ServiceHGZL001 extends ServiceBase {
* @param inInfo
* @param inInfo
* @return
* @return
*/
*/
@OperationLogAnnotation
(
operModul
=
"
质量巡
检单"
,
operType
=
"删除"
,
operDesc
=
"删除"
)
@OperationLogAnnotation
(
operModul
=
"
入库质
检单"
,
operType
=
"删除"
,
operDesc
=
"删除"
)
public
EiInfo
delete
(
EiInfo
inInfo
)
{
public
EiInfo
delete
(
EiInfo
inInfo
)
{
try
{
try
{
List
<
HGZL001
>
fZl001s
=
MapUtils
.
toDaoEPBase
(
inInfo
,
HGZL001
.
class
);
List
<
HGZL001
>
fZl001s
=
MapUtils
.
toDaoEPBase
(
inInfo
,
HGZL001
.
class
);
...
@@ -187,7 +187,7 @@ public class ServiceHGZL001 extends ServiceBase {
...
@@ -187,7 +187,7 @@ public class ServiceHGZL001 extends ServiceBase {
* @param inInfo
* @param inInfo
* @return
* @return
*/
*/
@OperationLogAnnotation
(
operModul
=
"
质量巡
检单"
,
operType
=
"修改"
,
operDesc
=
"已处理"
)
@OperationLogAnnotation
(
operModul
=
"
入库质
检单"
,
operType
=
"修改"
,
operDesc
=
"已处理"
)
public
EiInfo
doProcess
(
EiInfo
inInfo
)
{
public
EiInfo
doProcess
(
EiInfo
inInfo
)
{
try
{
try
{
List
<
HGZL001
>
fZl001s
=
MapUtils
.
toDaoEPBase
(
inInfo
,
HGZL001
.
class
);
List
<
HGZL001
>
fZl001s
=
MapUtils
.
toDaoEPBase
(
inInfo
,
HGZL001
.
class
);
...
...
src/main/webapp/HG/KC/HGKC001.js
View file @
83a72b01
...
@@ -65,6 +65,8 @@ $(function () {
...
@@ -65,6 +65,8 @@ $(function () {
$
(
window
).
load
(
function
()
{
$
(
window
).
load
(
function
()
{
// 查询
// 查询
query
();
query
();
//存货编号
initInventCode
();
});
});
/**
/**
...
@@ -75,6 +77,32 @@ let query = function () {
...
@@ -75,6 +77,32 @@ let query = function () {
}
}
/**
/**
* 存货编号
*/
let
initInventCode
=
function
()
{
//物料信息下拉
var
inInfo
=
new
EiInfo
();
EiCommunicator
.
send
(
"HGPZ005"
,
"queryComboBox"
,
inInfo
,
{
onSuccess
:
function
(
ei
)
{
let
dataSource
;
var
input
=
$
(
"#inqu_status-0-inventCode"
);
dataSource
=
ei
.
getBlock
(
"invent_record_block_id"
).
getMappedRows
();
input
.
kendoDropDownList
({
valuePrimitive
:
true
,
dataTextField
:
"valueField"
,
dataValueField
:
"valueField"
,
optionLabel
:
"请选择"
,
dataSource
:
dataSource
,
template
:
"[#:valueField#]#:textField#|#:param2Field#"
,
filter
:
"contains"
});
},
onFail
:
function
(
ei
)
{
}
},
{
async
:
false
});
}
/**
* 仓库变更
* 仓库变更
*/
*/
let
supCodeChange
=
function
(
e
)
{
let
supCodeChange
=
function
(
e
)
{
...
...
src/main/webapp/HG/KC/HGKC001.jsp
View file @
83a72b01
...
@@ -26,14 +26,14 @@
...
@@ -26,14 +26,14 @@
filter=
"contains"
optionLabel=
"全部"
defultValue=
""
>
filter=
"contains"
optionLabel=
"全部"
defultValue=
""
>
<EF:EFOptions
blockId=
"sup_record_block_id"
textField=
"textField"
valueField=
"valueField"
/>
<EF:EFOptions
blockId=
"sup_record_block_id"
textField=
"textField"
valueField=
"valueField"
/>
</EF:EFSelect>
</EF:EFSelect>
<EF:EFSelect
cname=
"存货名称"
blockId=
"inqu_status"
ename=
"inventCode"
row=
"0"
colWidth=
"3"
<EF:EFSelect
cname=
"存货编号"
blockId=
"inqu_status"
ename=
"inventCode"
row=
"0"
colWidth=
"3"
filter=
"contains"
optionLabel=
"全部"
defultValue=
""
>
filter=
"contains"
optionLabel=
"全部"
defultValue=
""
template=
"[#=valueField#]#=textField#"
>
<EF:EFOptions
blockId=
"invent_record_block_id"
textField=
"textField"
valueField=
"valueField"
/>
<EF:EFOptions
blockId=
"invent_record_block_id"
textField=
"textField"
valueField=
"valueField"
/>
</EF:EFSelect>
<EF:EFSelect
cname=
"规格"
ename=
"inqu_status-0-spec"
colWidth=
"3"
filter=
"contains"
optionLabel=
"全部"
defultValue=
""
>
<EF:EFOptions
blockId=
"spec_name_block_id"
textField=
"textField"
valueField=
"valueField"
/>
</EF:EFSelect>
</EF:EFSelect>
<
%
--
<
EF:EFSelect
cname=
"规格"
ename=
"inqu_status-0-spec"
colWidth=
"3"
filter=
"contains"
optionLabel=
"全部"
--
%
>
<
%
--
defultValue=
""
>
--%>
<
%
--
<
EF:EFOptions
blockId=
"spec_name_block_id"
textField=
"textField"
valueField=
"valueField"
/>
--%>
<
%
--
</
EF:EFSelect
>
--%>
</div>
</div>
<div
class=
"row"
>
<div
class=
"row"
>
<EF:EFDateSpan
startCname=
"创建时间(从)"
endCname=
"至"
blockId=
"inqu_status"
<EF:EFDateSpan
startCname=
"创建时间(从)"
endCname=
"至"
blockId=
"inqu_status"
...
@@ -47,9 +47,9 @@
...
@@ -47,9 +47,9 @@
<EF:EFGrid
blockId=
"result"
autoDraw=
"override"
isFloat=
"true"
checkMode=
"row"
>
<EF:EFGrid
blockId=
"result"
autoDraw=
"override"
isFloat=
"true"
checkMode=
"row"
>
<EF:EFColumn
ename=
"id"
cname=
"内码"
hidden=
"true"
/>
<EF:EFColumn
ename=
"id"
cname=
"内码"
hidden=
"true"
/>
<EF:EFColumn
ename=
"operator"
cname=
"操作"
locked=
"true"
width=
"80"
enable=
"false"
align=
"center"
readonly=
"false"
/>
<EF:EFColumn
ename=
"operator"
cname=
"操作"
locked=
"true"
width=
"80"
enable=
"false"
align=
"center"
readonly=
"false"
/>
<EF:EFColumn
ename=
"companyCode"
cname=
"公司编码"
enable=
"false"
width=
"100"
align=
"center"
hidden=
"true"
/>
<EF:EFColumn
ename=
"companyCode"
cname=
"公司编码"
enable=
"false"
width=
"100"
align=
"center"
/>
<EF:EFColumn
ename=
"companyName"
cname=
"公司名称"
enable=
"false"
width=
"130"
align=
"center"
/>
<EF:EFColumn
ename=
"companyName"
cname=
"公司名称"
enable=
"false"
width=
"130"
align=
"center"
/>
<EF:EFColumn
ename=
"depositDate"
cname=
"入库日期"
enable=
"
fals
e"
width=
"100"
align=
"center"
editType=
"date"
<EF:EFColumn
ename=
"depositDate"
cname=
"入库日期"
enable=
"
tru
e"
width=
"100"
align=
"center"
editType=
"date"
dateFormat=
"yyyy-MM-dd"
parseFormats=
"['yyyyMMdd']"
/>
dateFormat=
"yyyy-MM-dd"
parseFormats=
"['yyyyMMdd']"
/>
<EF:EFColumn
ename=
"depositNo"
cname=
"入库单号"
enable=
"false"
width=
"120"
align=
"center"
/>
<EF:EFColumn
ename=
"depositNo"
cname=
"入库单号"
enable=
"false"
width=
"120"
align=
"center"
/>
<EF:EFColumn
ename=
"receiveNo"
cname=
"收货单号"
enable=
"false"
width=
"120"
align=
"center"
/>
<EF:EFColumn
ename=
"receiveNo"
cname=
"收货单号"
enable=
"false"
width=
"120"
align=
"center"
/>
...
@@ -58,7 +58,7 @@
...
@@ -58,7 +58,7 @@
<EF:EFOptions
blockId=
"wh_record_block_id"
valueField=
"valueField"
textField=
"textField"
/>
<EF:EFOptions
blockId=
"wh_record_block_id"
valueField=
"valueField"
textField=
"textField"
/>
</EF:EFComboColumn>
</EF:EFComboColumn>
<EF:EFColumn
ename=
"whName"
cname=
"仓库名称"
enable=
"false"
width=
"100"
align=
"center"
hidden=
"true"
/>
<EF:EFColumn
ename=
"whName"
cname=
"仓库名称"
enable=
"false"
width=
"100"
align=
"center"
hidden=
"true"
/>
<EF:EFColumn
ename=
"inventCode"
cname=
"存货编码"
enable=
"false"
width=
"100"
align=
"center"
hidden=
"true"
/>
<EF:EFColumn
ename=
"inventCode"
cname=
"存货编码"
enable=
"false"
width=
"100"
align=
"center"
/>
<EF:EFColumn
ename=
"inventName"
cname=
"存货名称"
enable=
"false"
width=
"100"
align=
"center"
/>
<EF:EFColumn
ename=
"inventName"
cname=
"存货名称"
enable=
"false"
width=
"100"
align=
"center"
/>
<EF:EFColumn
ename=
"specId"
cname=
"规格ID"
enable=
"false"
width=
"100"
align=
"center"
hidden=
"true"
/>
<EF:EFColumn
ename=
"specId"
cname=
"规格ID"
enable=
"false"
width=
"100"
align=
"center"
hidden=
"true"
/>
<EF:EFColumn
ename=
"spec"
cname=
"规格"
enable=
"false"
width=
"120"
align=
"center"
/>
<EF:EFColumn
ename=
"spec"
cname=
"规格"
enable=
"false"
width=
"120"
align=
"center"
/>
...
@@ -74,7 +74,7 @@
...
@@ -74,7 +74,7 @@
<EF:EFColumn
ename=
"createdName"
cname=
"创建人"
enable=
"false"
width=
"100"
align=
"center"
/>
<EF:EFColumn
ename=
"createdName"
cname=
"创建人"
enable=
"false"
width=
"100"
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']"
/>
editType=
"datetime"
parseFormats=
"['yyyyMMddHHmmss']"
/>
<EF:EFComboColumn
cname=
"提交状态"
ename=
"submitStatus"
width=
"90"
align=
"center"
required=
"false"
>
<EF:EFComboColumn
cname=
"提交状态"
ename=
"submitStatus"
width=
"90"
align=
"center"
required=
"false"
enable=
"false"
>
<EF:EFCodeOption
codeName=
"hggp.sc.productStatus"
/>
<EF:EFCodeOption
codeName=
"hggp.sc.productStatus"
/>
</EF:EFComboColumn>
</EF:EFComboColumn>
</EF:EFGrid>
</EF:EFGrid>
...
...
src/main/webapp/HG/KC/HGKC003.jsp
View file @
83a72b01
...
@@ -68,7 +68,7 @@
...
@@ -68,7 +68,7 @@
data-errorprompt=
"请输入数字,该值最大可设置17位整数和3位小数!"
data-errorprompt=
"请输入数字,该值最大可设置17位整数和3位小数!"
required=
"false"
enable=
"false"
/>
required=
"false"
enable=
"false"
/>
<EF:EFColumn
ename=
"amount"
cname=
"金额"
width=
"120"
align=
"right"
enable=
"false"
format=
"{0:N3}"
/>
<EF:EFColumn
ename=
"amount"
cname=
"金额"
width=
"120"
align=
"right"
enable=
"false"
format=
"{0:N3}"
/>
<EF:EFComboColumn
cname=
"提交状态"
ename=
"submitStatus"
width=
"90"
align=
"center"
required=
"false"
>
<EF:EFComboColumn
cname=
"提交状态"
ename=
"submitStatus"
width=
"90"
align=
"center"
required=
"false"
enable=
"false"
>
<EF:EFCodeOption
codeName=
"hggp.sc.productStatus"
/>
<EF:EFCodeOption
codeName=
"hggp.sc.productStatus"
/>
</EF:EFComboColumn>
</EF:EFComboColumn>
</EF:EFGrid>
</EF:EFGrid>
...
...
src/main/webapp/HG/KC/HGKC004.jsp
View file @
83a72b01
...
@@ -33,17 +33,21 @@
...
@@ -33,17 +33,21 @@
<EF:EFGrid blockId="result" autoDraw="override" isFloat="true" checkMode="row">
<EF:EFGrid blockId="result" autoDraw="override" isFloat="true" checkMode="row">
<EF:EFColumn ename="id" cname="内码" hidden="true"/>
<EF:EFColumn ename="id" cname="内码" hidden="true"/>
<EF:EFColumn ename="operator" cname="操作" locked="true" enable="false" width="210" align="center"/>
<EF:EFColumn ename="operator" cname="操作" locked="true" enable="false" width="210" align="center"/>
<EF:EFComboColumn ename="companyCode" enable="true" cname="公司名称" width="110" align="center"
<%-- <EF:EFComboColumn ename="companyCode" enable="true" cname="公司名称" width="110" align="center"--%>
filter="contains" readonly="true" required="true">
<%-- filter="contains" readonly="true">--%>
<EF:EFOptions blockId="roleCompany" textField="companyName" valueField="companyCode"/>
<%-- <EF:EFOptions blockId="roleCompany" textField="companyName" valueField="companyCode"/>--%>
</EF:EFComboColumn>
<%-- </EF:EFComboColumn>--%>
<EF:EFColumn ename="companyCode" cname="公司编码" width="120" align="center" enable="false"/>
<EF:EFColumn ename="companyName" cname="公司名称" width="120" align="center" enable="false"/>
<EF:EFColumn ename="receiptDate" cname="单据日期" enable="true" width="90" align="center"
<EF:EFColumn ename="receiptDate" cname="单据日期" enable="true" width="90" align="center"
editType="date" dateFormat="yyyy-MM-dd" parseFormats="['yyyyMMdd']" required="true"/>
editType="date" dateFormat="yyyy-MM-dd" parseFormats="['yyyyMMdd']" required="true"/>
<EF:EFColumn ename="saleOutCode" cname="销售出库单号" enable="false" width="140" align="center"/>
<EF:EFColumn ename="saleOutCode" cname="销售出库单号" enable="false" width="140" align="center"/>
<EF:EFComboColumn ename="whCode" cname="仓库名称" enable="true" width="120" align="center" required="true"
<EF:EFColumn ename="whCode" cname="仓库编码" width="120" align="center" enable="false"/>
blockName="wh_record_block_id" textField="textField" valueField="valueField"
<EF:EFColumn ename="whName" cname="仓库名称" width="120" align="center" enable="false"/>
columnTemplate="#=textField#" itemTemplate="#=textField#">
<%-- <EF:EFComboColumn ename="whCode" cname="仓库名称" enable="true" width="120" align="center" required="true"--%>
</EF:EFComboColumn>
<%-- blockName="wh_record_block_id" textField="textField" valueField="valueField"--%>
<%-- columnTemplate="#=textField#" itemTemplate="#=textField#">--%>
<%-- </EF:EFComboColumn>--%>
<EF:EFComboColumn ename="status" cname="状态" width="80" align="center" enable="false" defaultValue="0" required="true">
<EF:EFComboColumn ename="status" cname="状态" width="80" align="center" enable="false" defaultValue="0" required="true">
<EF:EFCodeOption codeName="hggp.hgkc.status"/>
<EF:EFCodeOption codeName="hggp.hgkc.status"/>
</EF:EFComboColumn>
</EF:EFComboColumn>
...
...
src/main/webapp/HG/KC/HGKC005.jsp
View file @
83a72b01
...
@@ -90,7 +90,7 @@
...
@@ -90,7 +90,7 @@
align="right" sumType="all" readonly="true"/>
align="right" sumType="all" readonly="true"/>
<EF:EFColumn ename="remark" cname="备注" width="150" />
<EF:EFColumn ename="remark" cname="备注" width="150" />
<EF:EFColumn ename="oldCheckNo" cname="原盘点单号" enable="false" hidden="true" width="140" align="center"/>
<EF:EFColumn ename="oldCheckNo" cname="原盘点单号" enable="false" hidden="true" width="140" align="center"/>
<EF:EFComboColumn cname="提交状态" ename="submitStatus" width="90" align="center" required="false">
<EF:EFComboColumn cname="提交状态" ename="submitStatus" width="90" align="center" required="false"
enable="false"
>
<EF:EFCodeOption codeName="hggp.sc.productStatus" />
<EF:EFCodeOption codeName="hggp.sc.productStatus" />
</EF:EFComboColumn>
</EF:EFComboColumn>
</EF:EFGrid>
</EF:EFGrid>
...
...
src/main/webapp/HG/KC/HGKC006.jsp
View file @
83a72b01
...
@@ -38,14 +38,8 @@
...
@@ -38,14 +38,8 @@
<EF:EFGrid
blockId=
"result"
autoDraw=
"override"
isFloat=
"true"
checkMode=
"row"
>
<EF:EFGrid
blockId=
"result"
autoDraw=
"override"
isFloat=
"true"
checkMode=
"row"
>
<EF:EFColumn
ename=
"id"
cname=
"内码"
hidden=
"true"
/>
<EF:EFColumn
ename=
"id"
cname=
"内码"
hidden=
"true"
/>
<EF:EFColumn
ename=
"operator"
cname=
"操作"
locked=
"true"
enable=
"false"
width=
"100"
align=
"center"
/>
<EF:EFColumn
ename=
"operator"
cname=
"操作"
locked=
"true"
enable=
"false"
width=
"100"
align=
"center"
/>
<EF:EFComboColumn
ename=
"companyCode"
cname=
"公司名称"
<EF:EFColumn
ename=
"companyCode"
cname=
"公司编码"
width=
"120"
align=
"center"
enable=
"false"
/>
columnTemplate=
"#=textField#"
itemTemplate=
"#=textField#"
<EF:EFColumn
ename=
"companyName"
cname=
"公司名称"
width=
"120"
align=
"center"
enable=
"false"
/>
textField=
"textField"
valueField=
"valueField"
maxLength=
"16"
readonly=
"false"
width=
"200"
required=
"true"
align=
"center"
filter=
"contains"
sort=
"true"
>
<EF:EFOptions
blockId=
"roleCompany"
textField=
"companyName"
valueField=
"companyCode"
/>
</EF:EFComboColumn>
<EF:EFColumn
ename=
"companyName"
cname=
"公司名称"
hidden=
"true"
/>
<EF:EFColumn
ename=
"otherEnterDate"
cname=
"单据日期"
width=
"100"
align=
"center"
editType=
"date"
<EF:EFColumn
ename=
"otherEnterDate"
cname=
"单据日期"
width=
"100"
align=
"center"
editType=
"date"
dateFormat=
"yyyy-MM-dd"
parseFormats=
"['yyyyMMdd']"
required=
"true"
/>
dateFormat=
"yyyy-MM-dd"
parseFormats=
"['yyyyMMdd']"
required=
"true"
/>
<EF:EFColumn
ename=
"otherEnterNo"
cname=
"其他入库单号"
enable=
"false"
width=
"140"
align=
"center"
/>
<EF:EFColumn
ename=
"otherEnterNo"
cname=
"其他入库单号"
enable=
"false"
width=
"140"
align=
"center"
/>
...
...
src/main/webapp/HG/KC/HGKC007.jsp
View file @
83a72b01
...
@@ -39,14 +39,8 @@
...
@@ -39,14 +39,8 @@
<EF:EFGrid
blockId=
"result"
autoDraw=
"override"
isFloat=
"true"
checkMode=
"row"
>
<EF:EFGrid
blockId=
"result"
autoDraw=
"override"
isFloat=
"true"
checkMode=
"row"
>
<EF:EFColumn
ename=
"id"
cname=
"内码"
hidden=
"true"
/>
<EF:EFColumn
ename=
"id"
cname=
"内码"
hidden=
"true"
/>
<EF:EFColumn
ename=
"operator"
cname=
"操作"
locked=
"true"
enable=
"false"
width=
"100"
align=
"center"
/>
<EF:EFColumn
ename=
"operator"
cname=
"操作"
locked=
"true"
enable=
"false"
width=
"100"
align=
"center"
/>
<EF:EFComboColumn
ename=
"companyCode"
cname=
"公司名称"
<EF:EFColumn
ename=
"companyCode"
cname=
"公司编码"
width=
"120"
align=
"center"
enable=
"false"
/>
columnTemplate=
"#=textField#"
itemTemplate=
"#=textField#"
<EF:EFColumn
ename=
"companyName"
cname=
"公司名称"
width=
"120"
align=
"center"
enable=
"false"
/>
textField=
"textField"
valueField=
"valueField"
maxLength=
"16"
readonly=
"false"
width=
"200"
required=
"true"
align=
"center"
filter=
"contains"
sort=
"true"
>
<EF:EFOptions
blockId=
"roleCompany"
textField=
"companyName"
valueField=
"companyCode"
/>
</EF:EFComboColumn>
<EF:EFColumn
ename=
"companyName"
cname=
"公司名称"
hidden=
"true"
/>
<EF:EFColumn
ename=
"otherOutDate"
cname=
"单据日期"
width=
"100"
align=
"center"
editType=
"date"
<EF:EFColumn
ename=
"otherOutDate"
cname=
"单据日期"
width=
"100"
align=
"center"
editType=
"date"
dateFormat=
"yyyy-MM-dd"
parseFormats=
"['yyyyMMdd']"
required=
"true"
/>
dateFormat=
"yyyy-MM-dd"
parseFormats=
"['yyyyMMdd']"
required=
"true"
/>
<EF:EFColumn
ename=
"otherOutNo"
cname=
"其他出库单号"
enable=
"false"
width=
"140"
align=
"center"
/>
<EF:EFColumn
ename=
"otherOutNo"
cname=
"其他出库单号"
enable=
"false"
width=
"140"
align=
"center"
/>
...
...
src/main/webapp/HG/KC/HGKC008.jsp
View file @
83a72b01
...
@@ -39,7 +39,7 @@
...
@@ -39,7 +39,7 @@
<EF:EFColumn
ename=
"projName"
cname=
"项目名称"
width=
"120"
align=
"center"
enable=
"false"
required=
"true"
/>
<EF:EFColumn
ename=
"projName"
cname=
"项目名称"
width=
"120"
align=
"center"
enable=
"false"
required=
"true"
/>
<EF:EFColumn
ename=
"applyCode"
cname=
"生产领料单号"
enable=
"false"
width=
"120"
align=
"center"
/>
<EF:EFColumn
ename=
"applyCode"
cname=
"生产领料单号"
enable=
"false"
width=
"120"
align=
"center"
/>
<EF:EFColumn
ename=
"receiptDate"
cname=
"单据日期"
width=
"120"
align=
"center"
editType=
"date"
<EF:EFColumn
ename=
"receiptDate"
cname=
"单据日期"
width=
"120"
align=
"center"
editType=
"date"
dateFormat=
"yyyy-MM-dd"
parseFormats=
"['yyyyMMdd']"
re
adonly=
"true"
re
quired=
"true"
/>
dateFormat=
"yyyy-MM-dd"
parseFormats=
"['yyyyMMdd']"
required=
"true"
/>
<EF:EFColumn
ename=
"whCode"
cname=
"仓库编码"
enable=
"true"
width=
"120"
align=
"center"
required=
"true"
/>
<EF:EFColumn
ename=
"whCode"
cname=
"仓库编码"
enable=
"true"
width=
"120"
align=
"center"
required=
"true"
/>
<EF:EFColumn
ename=
"whName"
cname=
"仓库名称"
width=
"120"
align=
"center"
enable=
"false"
required=
"true"
/>
<EF:EFColumn
ename=
"whName"
cname=
"仓库名称"
width=
"120"
align=
"center"
enable=
"false"
required=
"true"
/>
<EF:EFComboColumn
cname=
"状态"
ename=
"status"
width=
"90"
align=
"center"
required=
"false"
enable=
"false"
>
<EF:EFComboColumn
cname=
"状态"
ename=
"status"
width=
"90"
align=
"center"
required=
"false"
enable=
"false"
>
...
...
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