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
ce1abbd0
Commit
ce1abbd0
authored
Jun 21, 2024
by
liuyang
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' of
http://git.pseer.com:8800/platform/hg-smart
into dev-ly
parents
b8941a6f
a9732229
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
93 additions
and
55 deletions
+93
-55
ServiceHGCG002.java
.../java/com/baosight/hggp/hg/cg/service/ServiceHGCG002.java
+14
-15
ServiceHGKC003.java
.../java/com/baosight/hggp/hg/kc/service/ServiceHGKC003.java
+28
-5
HGKCTools.java
src/main/java/com/baosight/hggp/hg/kc/tools/HGKCTools.java
+17
-0
HGSC004A.xml
src/main/java/com/baosight/hggp/hg/sc/sql/HGSC004A.xml
+1
-1
HGCG002.jsp
src/main/webapp/HG/CG/HGCG002.jsp
+8
-8
HGCG002A.jsp
src/main/webapp/HG/CG/HGCG002A.jsp
+3
-3
HGCG003.jsp
src/main/webapp/HG/CG/HGCG003.jsp
+3
-3
HGCG003A.jsp
src/main/webapp/HG/CG/HGCG003A.jsp
+3
-3
HGKC001.jsp
src/main/webapp/HG/KC/HGKC001.jsp
+3
-3
HGKC001A.jsp
src/main/webapp/HG/KC/HGKC001A.jsp
+3
-3
HGKC002A.jsp
src/main/webapp/HG/KC/HGKC002A.jsp
+3
-3
HGSC004.js
src/main/webapp/HG/SC/HGSC004.js
+1
-1
HGSC004A.js
src/main/webapp/HG/SC/HGSC004A.js
+0
-1
HGZL001.jsp
src/main/webapp/HG/ZL/HGZL001.jsp
+3
-3
HGZL001B.jsp
src/main/webapp/HG/ZL/HGZL001B.jsp
+3
-3
No files found.
src/main/java/com/baosight/hggp/hg/cg/service/ServiceHGCG002.java
View file @
ce1abbd0
...
...
@@ -31,7 +31,7 @@ import java.util.Map;
* @date:2024/5/9,11:04
*/
public
class
ServiceHGCG002
extends
ServiceBase
{
/**
* 画面初始化
*
...
...
@@ -52,7 +52,7 @@ public class ServiceHGCG002 extends ServiceBase {
}
return
inInfo
;
}
/**
* 查询操作
*
...
...
@@ -71,7 +71,7 @@ public class ServiceHGCG002 extends ServiceBase {
}
return
inInfo
;
}
/**
* 保存操作.
*
...
...
@@ -96,7 +96,7 @@ public class ServiceHGCG002 extends ServiceBase {
}
return
inInfo
;
}
/**
* 数据校验
*
...
...
@@ -108,11 +108,10 @@ public class ServiceHGCG002 extends ServiceBase {
String
contractNo
=
fCg002
.
getContractNo
();
HGCG002
dbCg002
=
dbCg002AMap
.
get
(
contractNo
);
AssertUtils
.
isNull
(
dbCg002
,
String
.
format
(
"合同[%s]不存在"
,
contractNo
));
AssertUtils
.
isNotEquals
(
HGConstant
.
CgPlanStatus
.
S_0
,
dbCg002
.
getStatus
(),
String
.
format
(
"合同[%s]状态不是\"待审核\",不允许操作"
,
contractNo
));
AssertUtils
.
isNotEquals
(
HGConstant
.
CgPlanStatus
.
S_0
,
dbCg002
.
getStatus
(),
String
.
format
(
"合同[%s]状态不是\"待审核\",不允许操作"
,
contractNo
));
}
}
/**
* 数据保存
*
...
...
@@ -123,7 +122,7 @@ public class ServiceHGCG002 extends ServiceBase {
DaoUtils
.
update
(
HGSqlConstant
.
HgCg002
.
UPDATE_PUR
,
fCg002
);
}
}
/**
* 删除操作.
*
...
...
@@ -148,7 +147,7 @@ public class ServiceHGCG002 extends ServiceBase {
}
return
inInfo
;
}
/**
* 数据校验
*
...
...
@@ -164,7 +163,7 @@ public class ServiceHGCG002 extends ServiceBase {
String
.
format
(
"合同[%s]状态不是\"待审核\",不允许操作"
,
contractNo
));
}
}
/**
* 数据保存
*
...
...
@@ -181,7 +180,7 @@ public class ServiceHGCG002 extends ServiceBase {
HGCGTools
.
HgCg001
.
updateStatus
(
dbCg002
.
getPlanNo
(),
HGConstant
.
CgPlanStatus
.
S_2
);
}
}
/**
* 提交操作.
*
...
...
@@ -206,7 +205,7 @@ public class ServiceHGCG002 extends ServiceBase {
}
return
inInfo
;
}
/**
* 数据校验
*
...
...
@@ -222,8 +221,8 @@ public class ServiceHGCG002 extends ServiceBase {
String
.
format
(
"合同[%s]状态不是\"待审核\",不允许操作"
,
contractNo
));
}
}
/**
* 提交数据
*
...
...
@@ -239,5 +238,5 @@ public class ServiceHGCG002 extends ServiceBase {
DaoUtils
.
update
(
HGSqlConstant
.
HgCg002
.
UPDATE_AUDIT
,
fCg002
);
}
}
}
src/main/java/com/baosight/hggp/hg/kc/service/ServiceHGKC003.java
View file @
ce1abbd0
...
...
@@ -9,6 +9,8 @@ import com.baosight.hggp.hg.constant.HGConstant;
import
com.baosight.hggp.hg.kc.domain.HGKC003
;
import
com.baosight.hggp.hg.kc.tools.HGKCTools
;
import
com.baosight.hggp.hg.kc.utils.HGKCUtils
;
import
com.baosight.hggp.hg.pz.domain.HGPZ005A
;
import
com.baosight.hggp.hg.pz.tools.HGPZTools
;
import
com.baosight.hggp.hg.sc.tools.HGSCTools
;
import
com.baosight.hggp.util.*
;
import
com.baosight.iplat4j.core.ei.EiBlock
;
...
...
@@ -82,7 +84,7 @@ public class ServiceHGKC003 extends ServiceBase {
HGKC003
hgkc003
=
new
HGKC003
();
hgkc003
.
fromMap
(
resultRows
.
get
(
i
));
// 数据校验
this
.
check
Submit
Data
(
hgkc003
);
this
.
check
Update
Data
(
hgkc003
);
DaoUtils
.
update
(
HGKC003
.
UPDATE
,
hgkc003
);
}
inInfo
=
this
.
query
(
inInfo
);
...
...
@@ -94,6 +96,12 @@ public class ServiceHGKC003 extends ServiceBase {
return
inInfo
;
}
private
void
checkUpdateData
(
HGKC003
hgkc003
)
{
AssertUtils
.
isEmpty
(
hgkc003
.
getWhCode
(),
"仓库编码不能为空!"
);
AssertUtils
.
isEmpty
(
hgkc003
.
getWhName
(),
"仓库名称不能为空!"
);
AssertUtils
.
isNull
(
hgkc003
.
getPrice
(),
"单价不能为空!"
);
}
/**
* 删除操作
*
...
...
@@ -149,11 +157,11 @@ public class ServiceHGKC003 extends ServiceBase {
this
.
checkSubmitData
(
hgkc003
);
DaoUtils
.
update
(
HGKC003
.
UPDATE_SUBMIT_STATUS
,
hgkc003
);
//修改计划生产任务完工数量
HGSCTools
.
complete
(
hgkc003
.
getQualityId
(),
hgkc003
.
getInvQty
().
intValue
(),
hgkc003
.
getRectificationId
());
// 修改库存
HGKCUtils
.
HgKc010
.
updateInv
(
hgkc003
.
getCompanyCode
(),
hgkc003
.
getWhCode
(),
hgkc003
.
getPartSpecId
(),
hgkc003
.
getInvQty
(),
hgkc003
.
getInvWeight
());
//修改计划生产任务完工数量
HGSCTools
.
complete
(
hgkc003
.
getQualityId
(),
hgkc003
.
getInvQty
().
intValue
(),
hgkc003
.
getRectificationId
());
}
inInfo
.
setStatus
(
EiConstant
.
STATUS_SUCCESS
);
inInfo
.
setMsgByKey
(
"ep.1000"
,
new
String
[]{
String
.
valueOf
(
i
),
I18nMessages
.
getText
(
"label.update"
,
"提交"
)});
...
...
@@ -172,6 +180,21 @@ public class ServiceHGKC003 extends ServiceBase {
AssertUtils
.
isEmpty
(
hgkc003
.
getWhCode
(),
"仓库编码不能为空!"
);
AssertUtils
.
isEmpty
(
hgkc003
.
getWhName
(),
"仓库名称不能为空!"
);
AssertUtils
.
isNull
(
hgkc003
.
getPrice
(),
"单价不能为空!"
);
//判断是不是最前工序,如果不是得提示
List
<
HGPZ005A
>
hgpz005AList
=
HGPZTools
.
HgPz005A
.
queryByInventCode
(
hgkc003
.
getPartCode
());
List
<
HGKC003
>
hgkc003List
=
HGKCTools
.
HgKc003
.
getByQualityId
(
hgkc003
.
getQualityId
());
//当前提交的工序信息
HGPZ005A
hgpz005AFilter
=
hgpz005AList
.
stream
().
filter
(
o
->
o
.
getInventCode
().
equals
(
hgkc003
.
getPartCode
())).
findAny
().
orElse
(
null
);
AssertUtils
.
isNull
(
hgpz005AFilter
,
"此物料没有配置工序!"
);
for
(
HGKC003
entity
:
hgkc003List
){
if
(
entity
.
getId
().
intValue
()
!=
hgkc003
.
getId
().
intValue
()){
//遍历相同质检单的工序
HGPZ005A
hgpz005A
=
hgpz005AList
.
stream
().
filter
(
o
->
o
.
getInventCode
().
equals
(
entity
.
getPartCode
())).
findAny
().
orElse
(
null
);
//如果未提交的生产单有比当前更靠前的工序,则需要提示
AssertUtils
.
isTrue
(
hgpz005A
.
getProcessOrder
().
compareTo
(
hgpz005AFilter
.
getProcessOrder
())
<
0
,
hgpz005A
.
getInventCode
()+
"的工序“"
+
hgpz005A
.
getProcessName
()+
"“未提交,生产入库号为:"
+
entity
.
getDepositNo
());
}
}
}
/**
...
...
@@ -220,11 +243,11 @@ public class ServiceHGKC003 extends ServiceBase {
newKc003
.
setStorageType
(
HGConstant
.
StorageType
.
TH
);
newKc003
.
setIsReturn
(
CommonConstant
.
YesNo
.
YES_1
);
DaoUtils
.
insert
(
HGKC003
.
INSERT
,
newKc003
);
//修改计划生产任务完工数量
HGSCTools
.
complete
(
fKc003
.
getQualityId
(),
newKc003
.
getInvQty
().
intValue
(),
fKc003
.
getRectificationId
());
// 修改库存
HGKCUtils
.
HgKc010
.
updateInv
(
newKc003
.
getCompanyCode
(),
newKc003
.
getWhCode
(),
newKc003
.
getPartSpecId
(),
newKc003
.
getInvQty
(),
newKc003
.
getInvWeight
());
//修改计划生产任务完工数量
HGSCTools
.
complete
(
fKc003
.
getQualityId
(),
newKc003
.
getInvQty
().
intValue
(),
fKc003
.
getRectificationId
());
}
}
src/main/java/com/baosight/hggp/hg/kc/tools/HGKCTools.java
View file @
ce1abbd0
...
...
@@ -156,6 +156,23 @@ public class HGKCTools {
return
list
.
get
(
0
);
}
/**
* 生产入库单信息
*
* @param qualityId
* @return
*/
public
static
List
<
HGKC003
>
getByQualityId
(
Long
qualityId
)
{
AssertUtils
.
isEmpty
(
Collections
.
singleton
(
qualityId
),
"质检单ID为空!"
);
Map
<
String
,
Object
>
paramMap
=
new
HashMap
();
paramMap
.
put
(
"qualityId"
,
qualityId
);
paramMap
.
put
(
"deleteFlag"
,
0
);
paramMap
.
put
(
"submitStatus"
,
HGConstant
.
ProductStatus
.
YTJ
);
List
<
HGKC003
>
list
=
DaoBase
.
getInstance
().
query
(
HGKC003
.
QUERY
,
paramMap
);
AssertUtils
.
isEmpty
(
list
,
"生产入库单为空!"
);
return
CollectionUtils
.
isEmpty
(
list
)
?
null
:
list
;
}
public
static
HGKC003
save
(
HGKC003
hgkc003
,
List
<
HGKC003A
>
hgkc003aList
){
checkSaveData
(
hgkc003
,
hgkc003aList
);
...
...
src/main/java/com/baosight/hggp/hg/sc/sql/HGSC004A.xml
View file @
ce1abbd0
...
...
@@ -371,7 +371,7 @@
a.PROJ_NAME as "projName",
<!-- 项目名称 -->
a.PRODUCT_NAME as "productName",
<!-- 产品名称 -->
a.PRODUCT_CODE as "label",
<!-- 名部件编码-->
case when a.lv
= 3
then concat(a.PRODUCT_CODE,' ',a.PRODUCT_NAME) else a.PRODUCT_NAME end as "text",
<!-- 部件名称 -->
case when a.lv
in (3,4)
then concat(a.PRODUCT_CODE,' ',a.PRODUCT_NAME) else a.PRODUCT_NAME end as "text",
<!-- 部件名称 -->
a.PARENT_PROD_CODE as "pId",
<!-- 父节点编码 -->
a.PARENT_PROD_NAME as "pName",
<!-- 父节点名称 -->
a.LEAF as "leaf",
<!-- 是否有叶子节点 -->
...
...
src/main/webapp/HG/CG/HGCG002.jsp
View file @
ce1abbd0
...
...
@@ -14,7 +14,7 @@
<EF:EFInput
cname=
"计划单号"
blockId=
"inqu_status"
ename=
"planNo"
row=
"0"
colWidth=
"3"
/>
<EF:EFSelect
cname=
"状态"
blockId=
"inqu_status"
ename=
"status"
row=
"0"
colWidth=
"3"
optionLabel=
"全部"
defultValue=
""
>
<EF:EFCodeOption
codeName=
"hggp.hgcg.contractStatus"
/>
<EF:EFCodeOption
codeName=
"hggp.hgcg.contractStatus"
condition=
"ITEM_CODE IN ('0','2','4','5')"
/>
</EF:EFSelect>
</div>
<div
class=
"row"
>
...
...
@@ -27,8 +27,8 @@
<EF:EFOptions
blockId=
"sup_record_block_id"
textField=
"textField"
valueField=
"valueField"
/>
</EF:EFSelect>
<EF:EFSelect
cname=
"存货名称"
blockId=
"inqu_status"
ename=
"inventCode"
row=
"0"
colWidth=
"3"
filter=
"contains"
optionLabel=
"全部"
defultValue=
""
>
<EF:EFOptions
blockId=
"invent_record_block_id"
textField=
"textField"
valueField=
"valueField"
/>
filter=
"contains"
optionLabel=
"全部"
defultValue=
""
template=
"[#=valueField#]#=textField#"
>
<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=
""
>
...
...
@@ -53,7 +53,7 @@
<EF:EFColumn
ename=
"contractNo"
cname=
"合同号"
enable=
"false"
width=
"120"
align=
"center"
/>
<EF:EFColumn
ename=
"planNo"
cname=
"计划单号"
enable=
"false"
width=
"120"
align=
"center"
/>
<EF:EFComboColumn
ename=
"status"
cname=
"状态"
enable=
"false"
width=
"80"
align=
"center"
>
<EF:EFCodeOption
codeName=
"hggp.hgcg.contractStatus"
/>
<EF:EFCodeOption
codeName=
"hggp.hgcg.contractStatus"
condition=
"ITEM_CODE IN ('0','2','4','5')"
/>
</EF:EFComboColumn>
<EF:EFComboColumn
ename=
"supCode"
cname=
"供应商名称"
width=
"120"
align=
"left"
defaultValue=
""
filter=
"contains"
required=
"true"
>
...
...
@@ -61,7 +61,7 @@
</EF:EFComboColumn>
<EF:EFColumn
ename=
"supName"
cname=
"供应商名称"
enable=
"false"
width=
"100"
align=
"center"
hidden=
"true"
/>
<EF:EFColumn
ename=
"purUserName"
cname=
"采购员"
width=
"100"
align=
"center"
required=
"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=
"specId"
cname=
"规格ID"
enable=
"false"
width=
"120"
align=
"center"
hidden=
"true"
/>
<EF:EFColumn
ename=
"spec"
cname=
"规格"
enable=
"false"
width=
"120"
align=
"center"
/>
...
...
@@ -70,9 +70,9 @@
<EF:EFColumn
ename=
"receiveQty"
cname=
"已收货数量"
enable=
"false"
width=
"120"
align=
"right"
format=
"{0:N0}"
/>
<EF:EFColumn
ename=
"material"
cname=
"材质"
enable=
"false"
width=
"80"
align=
"center"
/>
<EF:EFColumn
ename=
"unit"
cname=
"单位"
enable=
"false"
width=
"80"
align=
"center"
/>
<EF:EFColumn
ename=
"length"
cname=
"长(M)"
enable=
"false"
width=
"80"
align=
"right"
format=
"{0:N3}"
/>
<EF:EFColumn
ename=
"width"
cname=
"宽(M)"
enable=
"false"
width=
"80"
align=
"right"
format=
"{0:N3}"
/>
<EF:EFColumn
ename=
"thick"
cname=
"厚(M)"
enable=
"false"
width=
"80"
align=
"right"
format=
"{0:N3}"
/>
<EF:EFColumn
ename=
"length"
cname=
"长(M
M
)"
enable=
"false"
width=
"80"
align=
"right"
format=
"{0:N3}"
/>
<EF:EFColumn
ename=
"width"
cname=
"宽(M
M
)"
enable=
"false"
width=
"80"
align=
"right"
format=
"{0:N3}"
/>
<EF:EFColumn
ename=
"thick"
cname=
"厚(M
M
)"
enable=
"false"
width=
"80"
align=
"right"
format=
"{0:N3}"
/>
<EF:EFColumn
ename=
"createdName"
cname=
"创建人"
enable=
"false"
width=
"100"
align=
"center"
/>
<EF:EFColumn
ename=
"createdTime"
cname=
"创建时间"
enable=
"false"
width=
"140"
align=
"center"
editType=
"datetime"
parseFormats=
"['yyyyMMddHHmmss']"
/>
...
...
src/main/webapp/HG/CG/HGCG002A.jsp
View file @
ce1abbd0
...
...
@@ -53,9 +53,9 @@
<EF:EFColumn
ename=
"purQty"
cname=
"采购数量"
enable=
"false"
width=
"120"
align=
"right"
format=
"{0:N0}"
/>
<EF:EFColumn
ename=
"purWeight"
cname=
"采购重量"
enable=
"false"
width=
"120"
align=
"right"
format=
"{0:N3}"
/>
<EF:EFColumn
ename=
"material"
cname=
"材质"
enable=
"false"
width=
"80"
align=
"center"
/>
<EF:EFColumn
ename=
"length"
cname=
"长(M)"
enable=
"false"
width=
"80"
align=
"right"
format=
"{0:N3}"
/>
<EF:EFColumn
ename=
"width"
cname=
"宽(M)"
enable=
"false"
width=
"80"
align=
"right"
format=
"{0:N3}"
/>
<EF:EFColumn
ename=
"thick"
cname=
"厚(M)"
enable=
"false"
width=
"80"
align=
"right"
format=
"{0:N3}"
/>
<EF:EFColumn
ename=
"length"
cname=
"长(M
M
)"
enable=
"false"
width=
"80"
align=
"right"
format=
"{0:N3}"
/>
<EF:EFColumn
ename=
"width"
cname=
"宽(M
M
)"
enable=
"false"
width=
"80"
align=
"right"
format=
"{0:N3}"
/>
<EF:EFColumn
ename=
"thick"
cname=
"厚(M
M
)"
enable=
"false"
width=
"80"
align=
"right"
format=
"{0:N3}"
/>
<EF:EFColumn
ename=
"createdName"
cname=
"创建人"
enable=
"false"
width=
"100"
align=
"center"
/>
<EF:EFColumn
ename=
"createdTime"
cname=
"创建时间"
enable=
"false"
width=
"140"
align=
"center"
editType=
"datetime"
parseFormats=
"['yyyyMMddHHmmss']"
/>
...
...
src/main/webapp/HG/CG/HGCG003.jsp
View file @
ce1abbd0
...
...
@@ -67,9 +67,9 @@
<EF:EFColumn
ename=
"receiveWeight"
cname=
"收货重量"
enable=
"false"
width=
"120"
align=
"right"
format=
"{0:N3}"
/>
<EF:EFColumn
ename=
"material"
cname=
"材质"
enable=
"false"
width=
"80"
align=
"center"
/>
<EF:EFColumn
ename=
"unit"
cname=
"单位"
enable=
"false"
width=
"80"
align=
"center"
/>
<EF:EFColumn
ename=
"length"
cname=
"长(M)"
enable=
"false"
width=
"80"
align=
"right"
format=
"{0:N3}"
/>
<EF:EFColumn
ename=
"width"
cname=
"宽(M)"
enable=
"false"
width=
"80"
align=
"right"
format=
"{0:N3}"
/>
<EF:EFColumn
ename=
"thick"
cname=
"厚(M)"
enable=
"false"
width=
"80"
align=
"right"
format=
"{0:N3}"
/>
<EF:EFColumn
ename=
"length"
cname=
"长(M
M
)"
enable=
"false"
width=
"80"
align=
"right"
format=
"{0:N3}"
/>
<EF:EFColumn
ename=
"width"
cname=
"宽(M
M
)"
enable=
"false"
width=
"80"
align=
"right"
format=
"{0:N3}"
/>
<EF:EFColumn
ename=
"thick"
cname=
"厚(M
M
)"
enable=
"false"
width=
"80"
align=
"right"
format=
"{0:N3}"
/>
<EF:EFColumn
ename=
"contractNo"
cname=
"合同号"
enable=
"false"
width=
"120"
align=
"center"
/>
<EF:EFColumn
ename=
"createdName"
cname=
"创建人"
enable=
"false"
width=
"100"
align=
"center"
/>
<EF:EFColumn
ename=
"createdTime"
cname=
"创建时间"
enable=
"false"
width=
"140"
align=
"center"
...
...
src/main/webapp/HG/CG/HGCG003A.jsp
View file @
ce1abbd0
...
...
@@ -71,9 +71,9 @@
</EF:EFComboColumn>
<EF:EFColumn
ename=
"purUserName"
cname=
"采购员"
enable=
"false"
width=
"100"
align=
"center"
/>
<EF:EFColumn
ename=
"material"
cname=
"材质"
enable=
"false"
width=
"80"
align=
"center"
/>
<EF:EFColumn
ename=
"length"
cname=
"长(M)"
enable=
"false"
width=
"80"
align=
"right"
format=
"{0:N3}"
/>
<EF:EFColumn
ename=
"width"
cname=
"宽(M)"
enable=
"false"
width=
"80"
align=
"right"
format=
"{0:N3}"
/>
<EF:EFColumn
ename=
"thick"
cname=
"厚(M)"
enable=
"false"
width=
"80"
align=
"right"
format=
"{0:N3}"
/>
<EF:EFColumn
ename=
"length"
cname=
"长(M
M
)"
enable=
"false"
width=
"80"
align=
"right"
format=
"{0:N3}"
/>
<EF:EFColumn
ename=
"width"
cname=
"宽(M
M
)"
enable=
"false"
width=
"80"
align=
"right"
format=
"{0:N3}"
/>
<EF:EFColumn
ename=
"thick"
cname=
"厚(M
M
)"
enable=
"false"
width=
"80"
align=
"right"
format=
"{0:N3}"
/>
<EF:EFColumn
ename=
"planNo"
cname=
"计划单号"
enable=
"false"
width=
"120"
align=
"center"
/>
<EF:EFColumn
ename=
"createdName"
cname=
"创建人"
enable=
"false"
width=
"100"
align=
"center"
/>
<EF:EFColumn
ename=
"createdTime"
cname=
"创建时间"
enable=
"false"
width=
"140"
align=
"center"
...
...
src/main/webapp/HG/KC/HGKC001.jsp
View file @
ce1abbd0
...
...
@@ -65,9 +65,9 @@
<EF:EFColumn
ename=
"depositWeight"
cname=
"入库重量"
enable=
"false"
width=
"120"
align=
"right"
format=
"{0:N3}"
/>
<EF:EFColumn
ename=
"material"
cname=
"材质"
enable=
"false"
width=
"80"
align=
"center"
/>
<EF:EFColumn
ename=
"unit"
cname=
"单位"
enable=
"false"
width=
"80"
align=
"center"
/>
<EF:EFColumn
ename=
"length"
cname=
"长(M)"
enable=
"false"
width=
"80"
align=
"right"
format=
"{0:N3}"
/>
<EF:EFColumn
ename=
"width"
cname=
"宽(M)"
enable=
"false"
width=
"80"
align=
"right"
format=
"{0:N3}"
/>
<EF:EFColumn
ename=
"thick"
cname=
"厚(M)"
enable=
"false"
width=
"80"
align=
"right"
format=
"{0:N3}"
/>
<EF:EFColumn
ename=
"length"
cname=
"长(M
M
)"
enable=
"false"
width=
"80"
align=
"right"
format=
"{0:N3}"
/>
<EF:EFColumn
ename=
"width"
cname=
"宽(M
M
)"
enable=
"false"
width=
"80"
align=
"right"
format=
"{0:N3}"
/>
<EF:EFColumn
ename=
"thick"
cname=
"厚(M
M
)"
enable=
"false"
width=
"80"
align=
"right"
format=
"{0:N3}"
/>
<EF:EFColumn
ename=
"createdName"
cname=
"创建人"
enable=
"false"
width=
"100"
align=
"center"
/>
<EF:EFColumn
ename=
"createdTime"
cname=
"创建时间"
enable=
"false"
width=
"140"
align=
"center"
editType=
"datetime"
parseFormats=
"['yyyyMMddHHmmss']"
/>
...
...
src/main/webapp/HG/KC/HGKC001A.jsp
View file @
ce1abbd0
...
...
@@ -65,9 +65,9 @@
<EF:EFColumn
ename=
"receiveWeight"
cname=
"收货重量"
enable=
"false"
width=
"120"
align=
"right"
format=
"{0:N3}"
/>
<EF:EFColumn
ename=
"material"
cname=
"材质"
enable=
"false"
width=
"80"
align=
"center"
/>
<EF:EFColumn
ename=
"unit"
cname=
"单位"
enable=
"false"
width=
"80"
align=
"center"
/>
<EF:EFColumn
ename=
"length"
cname=
"长(M)"
enable=
"false"
width=
"80"
align=
"right"
format=
"{0:N3}"
/>
<EF:EFColumn
ename=
"width"
cname=
"宽(M)"
enable=
"false"
width=
"80"
align=
"right"
format=
"{0:N3}"
/>
<EF:EFColumn
ename=
"thick"
cname=
"厚(M)"
enable=
"false"
width=
"80"
align=
"right"
format=
"{0:N3}"
/>
<EF:EFColumn
ename=
"length"
cname=
"长(M
M
)"
enable=
"false"
width=
"80"
align=
"right"
format=
"{0:N3}"
/>
<EF:EFColumn
ename=
"width"
cname=
"宽(M
M
)"
enable=
"false"
width=
"80"
align=
"right"
format=
"{0:N3}"
/>
<EF:EFColumn
ename=
"thick"
cname=
"厚(M
M
)"
enable=
"false"
width=
"80"
align=
"right"
format=
"{0:N3}"
/>
<EF:EFColumn
ename=
"contractNo"
cname=
"合同号"
enable=
"false"
width=
"120"
align=
"center"
/>
<EF:EFColumn
ename=
"createdName"
cname=
"创建人"
enable=
"false"
width=
"100"
align=
"center"
/>
<EF:EFColumn
ename=
"createdTime"
cname=
"创建时间"
enable=
"false"
width=
"140"
align=
"center"
...
...
src/main/webapp/HG/KC/HGKC002A.jsp
View file @
ce1abbd0
...
...
@@ -57,9 +57,9 @@
sumType=
"all"
/>
<EF:EFColumn
ename=
"material"
cname=
"材质"
enable=
"false"
width=
"80"
align=
"center"
/>
<EF:EFColumn
ename=
"unit"
cname=
"单位"
enable=
"false"
width=
"80"
align=
"center"
/>
<EF:EFColumn
ename=
"length"
cname=
"长(M)"
enable=
"false"
width=
"80"
align=
"right"
format=
"{0:N3}"
/>
<EF:EFColumn
ename=
"width"
cname=
"宽(M)"
enable=
"false"
width=
"80"
align=
"right"
format=
"{0:N3}"
/>
<EF:EFColumn
ename=
"thick"
cname=
"厚(M)"
enable=
"false"
width=
"80"
align=
"right"
format=
"{0:N3}"
/>
<EF:EFColumn
ename=
"length"
cname=
"长(M
M
)"
enable=
"false"
width=
"80"
align=
"right"
format=
"{0:N3}"
/>
<EF:EFColumn
ename=
"width"
cname=
"宽(M
M
)"
enable=
"false"
width=
"80"
align=
"right"
format=
"{0:N3}"
/>
<EF:EFColumn
ename=
"thick"
cname=
"厚(M
M
)"
enable=
"false"
width=
"80"
align=
"right"
format=
"{0:N3}"
/>
</EF:EFGrid>
</EF:EFRegion>
</EF:EFPage>
src/main/webapp/HG/SC/HGSC004.js
View file @
ce1abbd0
...
...
@@ -231,7 +231,7 @@ let save = function (btnNode) {
function
showDetail
(
id
,
companyCode
,
projCode
)
{
JSColorbox
.
open
({
href
:
"HGSC004A?companyCode="
+
companyCode
+
"&projCode="
+
projCode
+
"&methodName=initLoad&inqu_status-0-materialId="
+
id
,
title
:
"<div style='text-align: center;'>
蓝图
清单详情</div>"
,
title
:
"<div style='text-align: center;'>
物料
清单详情</div>"
,
width
:
"80%"
,
height
:
"80%"
,
});
...
...
src/main/webapp/HG/SC/HGSC004A.js
View file @
ce1abbd0
...
...
@@ -257,7 +257,6 @@ $(function () {
let
totalWeight
=
item
.
quantity
*
item
.
singleWeight
;
resultGrid
.
setCellValue
(
item
,
'totalWeight'
,
totalWeight
)
}
loadChange
(
grid
,
e
,
"singleWeight"
);
}
if
(
e
.
field
==
"singleWeight"
)
{
if
(
item
.
quantity
&&
item
.
singleWeight
){
...
...
src/main/webapp/HG/ZL/HGZL001.jsp
View file @
ce1abbd0
...
...
@@ -67,9 +67,9 @@
<
%
--
</
EF:EFComboColumn
>
--%>
<EF:EFColumn
ename=
"material"
cname=
"材质"
enable=
"false"
width=
"80"
align=
"center"
/>
<EF:EFColumn
ename=
"unit"
cname=
"单位"
enable=
"false"
width=
"80"
align=
"center"
/>
<EF:EFColumn
ename=
"length"
cname=
"长(M)"
enable=
"false"
width=
"80"
align=
"right"
format=
"{0:N3}"
/>
<EF:EFColumn
ename=
"width"
cname=
"宽(M)"
enable=
"false"
width=
"80"
align=
"right"
format=
"{0:N3}"
/>
<EF:EFColumn
ename=
"thick"
cname=
"厚(M)"
enable=
"false"
width=
"80"
align=
"right"
format=
"{0:N3}"
/>
<EF:EFColumn
ename=
"length"
cname=
"长(M
M
)"
enable=
"false"
width=
"80"
align=
"right"
format=
"{0:N3}"
/>
<EF:EFColumn
ename=
"width"
cname=
"宽(M
M
)"
enable=
"false"
width=
"80"
align=
"right"
format=
"{0:N3}"
/>
<EF:EFColumn
ename=
"thick"
cname=
"厚(M
M
)"
enable=
"false"
width=
"80"
align=
"right"
format=
"{0:N3}"
/>
<EF:EFColumn
ename=
"createdName"
cname=
"创建人"
enable=
"false"
width=
"150"
align=
"center"
/>
<EF:EFColumn
ename=
"createdTime"
cname=
"创建时间"
enable=
"false"
width=
"150"
align=
"center"
editType=
"datetime"
parseFormats=
"['yyyyMMddHHmmss']"
dateFormat=
"yyyy-MM-dd HH:mm:ss"
/>
...
...
src/main/webapp/HG/ZL/HGZL001B.jsp
View file @
ce1abbd0
...
...
@@ -62,9 +62,9 @@
<EF:EFColumn
ename=
"receiveWeight"
cname=
"收货重量"
enable=
"false"
width=
"120"
align=
"right"
format=
"{0:N3}"
/>
<EF:EFColumn
ename=
"material"
cname=
"材质"
enable=
"false"
width=
"80"
align=
"center"
/>
<EF:EFColumn
ename=
"unit"
cname=
"单位"
enable=
"false"
width=
"80"
align=
"center"
/>
<EF:EFColumn
ename=
"length"
cname=
"长(M)"
enable=
"false"
width=
"80"
align=
"right"
format=
"{0:N3}"
/>
<EF:EFColumn
ename=
"width"
cname=
"宽(M)"
enable=
"false"
width=
"80"
align=
"right"
format=
"{0:N3}"
/>
<EF:EFColumn
ename=
"thick"
cname=
"厚(M)"
enable=
"false"
width=
"80"
align=
"right"
format=
"{0:N3}"
/>
<EF:EFColumn
ename=
"length"
cname=
"长(M
M
)"
enable=
"false"
width=
"80"
align=
"right"
format=
"{0:N3}"
/>
<EF:EFColumn
ename=
"width"
cname=
"宽(M
M
)"
enable=
"false"
width=
"80"
align=
"right"
format=
"{0:N3}"
/>
<EF:EFColumn
ename=
"thick"
cname=
"厚(M
M
)"
enable=
"false"
width=
"80"
align=
"right"
format=
"{0:N3}"
/>
<EF:EFColumn
ename=
"contractNo"
cname=
"合同号"
enable=
"false"
width=
"120"
align=
"center"
/>
<EF:EFColumn
ename=
"createdName"
cname=
"创建人"
enable=
"false"
width=
"100"
align=
"center"
/>
<EF:EFColumn
ename=
"createdTime"
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