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
e0528440
Commit
e0528440
authored
Oct 29, 2024
by
江和松
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
生产领料单增加选择产品清单功能,显示成品、材料
parent
3a3dfeb7
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
15 deletions
+9
-15
HGSC004A.xml
src/main/java/com/baosight/hggp/hg/sc/sql/HGSC004A.xml
+3
-7
HGKC008D.jsp
src/main/webapp/HG/KC/HGKC008D.jsp
+4
-6
HGSC004A.jsp
src/main/webapp/HG/SC/HGSC004A.jsp
+2
-2
No files found.
src/main/java/com/baosight/hggp/hg/sc/sql/HGSC004A.xml
View file @
e0528440
...
...
@@ -569,7 +569,7 @@
FROM ${hggpSchema}.HGSC004A a
left join ${hggpSchema}.HGSC004 b on a.material_id = b.id
WHERE 1=1
and a.lv
NOT IN (1,2)
and a.lv
= 4
and b.material_status = 2
<isNotEmpty
prepend=
" AND "
property=
"projName"
>
a.proj_name like CONCAT('%', #projName#, '%')
...
...
@@ -582,15 +582,11 @@
</isNotEmpty>
<!-- 材料名称查询 -->
<isNotEmpty
prepend=
" AND "
property=
"materialName"
>
(a.lv = 4
and a.product_name like CONCAT('%', #materialName#, '%')
)
a.product_name like CONCAT('%', #materialName#, '%')
</isNotEmpty>
<!-- 产品名称查询 -->
<isNotEmpty
prepend=
" AND "
property=
"productName"
>
(a.lv = 3
and a.product_name like CONCAT('%', #productName#, '%')
)
a.parent_prod_name like CONCAT('%', #productName#, '%')
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"id"
>
a.id = #id#
...
...
src/main/webapp/HG/KC/HGKC008D.jsp
View file @
e0528440
...
...
@@ -32,12 +32,10 @@
<EF:EFComboColumn
ename=
"inventType"
cname=
"存货类型"
enable=
"false"
width=
"100"
align=
"center"
blockName=
"invent_type_block_id"
textField=
"textField"
valueField=
"valueField"
>
</EF:EFComboColumn>
<EF:EFColumn
ename=
"productCode"
cname=
"存货编码"
enable=
"false"
width=
"100"
align=
"center"
/>
<EF:EFColumn
ename=
"productName"
cname=
"存货名称"
enable=
"false"
width=
"100"
align=
"center"
/>
<
%
--
<
EF:EFColumn
ename=
"productCode"
cname=
"成品编码"
enable=
"false"
width=
"100"
align=
"center"
/>
--%>
<
%
--
<
EF:EFColumn
ename=
"productName"
cname=
"成品名称"
enable=
"false"
width=
"100"
align=
"center"
/>
--%>
<
%
--
<
EF:EFColumn
ename=
"materialCode"
cname=
"材料编码"
enable=
"false"
width=
"100"
align=
"center"
/>
--%>
<
%
--
<
EF:EFColumn
ename=
"materialtName"
cname=
"材料名称"
enable=
"false"
width=
"100"
align=
"center"
/>
--%>
<EF:EFColumn
ename=
"productCode"
cname=
"成品编码"
enable=
"false"
width=
"100"
align=
"center"
/>
<EF:EFColumn
ename=
"productName"
cname=
"成品名称"
enable=
"false"
width=
"100"
align=
"center"
/>
<EF:EFColumn
ename=
"materialCode"
cname=
"材料编码"
enable=
"false"
width=
"100"
align=
"center"
/>
<EF:EFColumn
ename=
"materialtName"
cname=
"材料名称"
enable=
"false"
width=
"100"
align=
"center"
/>
<EF:EFColumn
ename=
"spec"
cname=
"规格"
enable=
"false"
width=
"120"
align=
"center"
/>
<EF:EFColumn
ename=
"applyQty"
cname=
"申请数量"
width=
"120"
align=
"right"
format=
"{0:N3}"
required=
"true"
/>
<EF:EFColumn
ename=
"quantity"
cname=
"数量"
enable=
"false"
width=
"120"
align=
"right"
format=
"{0:N3}"
/>
...
...
src/main/webapp/HG/SC/HGSC004A.jsp
View file @
e0528440
...
...
@@ -46,8 +46,8 @@
<EF:EFGrid
blockId=
"result"
autoDraw=
"override"
isFloat=
"true"
checkMode=
"row"
>
<EF:EFColumn
ename=
"id"
cname=
"主键"
hidden=
"true"
/>
<EF:EFColumn
ename=
"lv"
cname=
"层级"
hidden=
"true"
/>
<EF:EFColumn
enable=
"false"
ename=
"parentProdCode"
hidden=
"
tru
e"
cname=
"上级产品编号"
/>
<EF:EFColumn
enable=
"false"
ename=
"parentProdName"
hidden=
"
tru
e"
cname=
"上级产品名称"
/>
<EF:EFColumn
enable=
"false"
ename=
"parentProdCode"
hidden=
"
fals
e"
cname=
"上级产品编号"
/>
<EF:EFColumn
enable=
"false"
ename=
"parentProdName"
hidden=
"
fals
e"
cname=
"上级产品名称"
/>
<EF:EFColumn
enable=
"false"
ename=
"productId"
hidden=
"true"
cname=
"产品id"
/>
<EF:EFColumn
enable=
"false"
ename=
"productType"
hidden=
"true"
cname=
"产品类型"
/>
<EF:EFColumn
enable=
"false"
ename=
"inventType"
hidden=
"true"
cname=
"库存类型"
/>
...
...
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