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
a95def62
Commit
a95def62
authored
Jul 05, 2024
by
liuyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2024-07-05 1.原材料入库成本核算 2.原材料出库成本核算 3.收发存汇总查询
parent
39298ec2
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
24 additions
and
23 deletions
+24
-23
ServiceHGCB003.java
.../java/com/baosight/hggp/hg/cb/service/ServiceHGCB003.java
+1
-0
HGCB002.jsp
src/main/webapp/HG/CB/HGCB002.jsp
+10
-10
HGCB003.jsp
src/main/webapp/HG/CB/HGCB003.jsp
+12
-12
HGCB004.jsp
src/main/webapp/HG/CB/HGCB004.jsp
+1
-1
No files found.
src/main/java/com/baosight/hggp/hg/cb/service/ServiceHGCB003.java
View file @
a95def62
...
...
@@ -29,6 +29,7 @@ public class ServiceHGCB003 extends ServiceEPBase {
public
EiInfo
initLoad
(
EiInfo
inInfo
)
{
try
{
inInfo
=
super
.
initLoad
(
inInfo
,
EiConstant
.
resultBlock
,
new
HGCB003
());
CommonMethod
.
initBlock
(
inInfo
,
Arrays
.
asList
(
DdynamicEnum
.
WH_RECORD_BLOCK_ID
),
null
);
EiInfoUtils
.
addBlock
(
inInfo
,
"company_code_block_id"
,
UserSessionUtils
.
getRoleCompany
(),
Company
.
class
);
}
catch
(
Exception
e
){
LogUtils
.
setDetailMsg
(
inInfo
,
e
,
"初始化失败"
);
...
...
src/main/webapp/HG/CB/HGCB002.jsp
View file @
a95def62
...
...
@@ -37,7 +37,7 @@
<EF:EFGrid blockId="result" autoDraw="override" isFloat="true">
<EF:EFColumn ename="id" primaryKey="true" cname="内码" hidden="true"/>
<EF:EFColumn ename="accountCode" cname="企业编码" hidden="true"/>
<EF:EFComboColumn ename="companyCode" cname="公司名称"
<EF:EFComboColumn ename="companyCode" cname="公司名称"
enable="false"
columnTemplate="#=textField#" itemTemplate="#=textField#"
textField="textField" valueField="valueField"
maxLength="16" width="200" required="true"
...
...
@@ -46,29 +46,29 @@
</EF:EFComboColumn>
<EF:EFColumn ename="accountPeriod" cname="会计期" enable="false" width="120" align="center"
editType="date" dateFormat="yyyy-MM" parseFormats="['yyyyMM']" required="true"/>
<EF:EFComboColumn ename="bizType" cname="业务类型" width="120" enable="
tru
e" align="center" required="true">
<EF:EFComboColumn ename="bizType" cname="业务类型" width="120" enable="
fals
e" align="center" required="true">
<EF:EFCodeOption codeName="hggp.hgcb.bizType"/>
</EF:EFComboColumn>
<EF:EFColumn ename="receiptDate" cname="单据日期" width="120" align="center" editType="date"
<EF:EFColumn ename="receiptDate" cname="单据日期" width="120" align="center" editType="date"
enable="false"
dateFormat="yyyy-MM-dd" parseFormats="['yyyyMMdd']" readonly="false" required="true"/>
<EF:EFColumn ename="receiptCode" cname="单据号" enable="false" width="140" align="center" required="true"/>
<EF:EFComboColumn ename="whCode" cname="仓库名称"
<EF:EFComboColumn ename="whCode" cname="仓库名称"
enable="false"
columnTemplate="#=textField#" itemTemplate="#=textField#"
textField="textField" valueField="valueField"
maxLength="16" readonly="false" width="140" required="true"
align="center" filter="contains" sort="true">
<EF:EFOptions blockId="wh_record_block_id" textField="textField" valueField="valueField"/>
</EF:EFComboColumn>
<EF:EFColumn ename="inventCode" cname="存货编码" width="120" enable="
tru
e" readonly="true" align="center" required="true"/>
<EF:EFColumn ename="inventName" cname="存货名称" width="120" enable="
tru
e" readonly="true" align="center" required="true"/>
<EF:EFColumn ename="spec" cname="规格" width="120" enable="
tru
e" readonly="true" align="center" required="true"/>
<EF:EFColumn ename="inventCode" cname="存货编码" width="120" enable="
fals
e" readonly="true" align="center" required="true"/>
<EF:EFColumn ename="inventName" cname="存货名称" width="120" enable="
fals
e" readonly="true" align="center" required="true"/>
<EF:EFColumn ename="spec" cname="规格" width="120" enable="
fals
e" readonly="true" align="center" required="true"/>
<%--<EF:EFComboColumn ename="spec" cname="规格" enable="true" width="120" align="center" required="true"
blockName="spec_box_block_id" textField="textField" valueField="valueField"
columnTemplate="#=textField#" itemTemplate="#=textField#" readonly="false"
filter="contains">
</EF:EFComboColumn>--%>
<EF:EFColumn ename="unit" cname="单位" width="100" enable="
tru
e" readonly="false" align="center"/>
<EF:EFColumn ename="quantity" cname="数量" width="120" enable="
tru
e" format="{0:N3}" editType="text"
<EF:EFColumn ename="unit" cname="单位" width="100" enable="
fals
e" readonly="false" align="center"/>
<EF:EFColumn ename="quantity" cname="数量" width="120" enable="
fals
e" format="{0:N3}" editType="text"
displayType="0.000" sort="true" align="right" maxLength="17" required="true" defaultValue="0"
data-regex="/^-?[0-9]{1,15}?$/"
data-errorprompt="请输入数字,该值最大可设置15位整数!"/>
...
...
@@ -76,7 +76,7 @@
displayType="0.000" sort="true" align="right" maxLength="17" required="true" defaultValue="0"
data-regex="/^-?[0-9]{1,15}([.][0-9]{1,3})?$/"
data-errorprompt="请输入数字,该值最大可设置15位整数和3位小数!"/>
<EF:EFComboColumn ename="isEstimate" cname="是否暂估" width="100" enable="
tru
e" align="center" required="true">
<EF:EFComboColumn ename="isEstimate" cname="是否暂估" width="100" enable="
fals
e" align="center" required="true">
<EF:EFCodeOption codeName="hggp.common.yesNo"/>
</EF:EFComboColumn>
<EF:EFColumn ename="price" cname="单价" width="120" enable="true" format="{0:N3}" editType="text"
...
...
src/main/webapp/HG/CB/HGCB003.jsp
View file @
a95def62
...
...
@@ -38,37 +38,37 @@
<EF:EFColumn ename="id" primaryKey="true" cname="内码" hidden="true"/>
<EF:EFColumn ename="accountCode" cname="企业编码" hidden="true"/>
<%--<EF:EFColumn ename="operator" cname="操作" locked="true" enable="false" width="80" align="center"/>--%>
<EF:EFComboColumn ename="companyCode" cname="公司名称"
<EF:EFComboColumn ename="companyCode" cname="公司名称"
enable="false"
columnTemplate="#=textField#" itemTemplate="#=textField#"
textField="textField" valueField="valueField"
maxLength="16" width="200" required="true"
align="center" filter="contains" sort="true">
<EF:EFOptions blockId="company
Box_block_id" textField="textField" valueField="valueField
"/>
<EF:EFOptions blockId="company
_code_block_id" textField="companyName" valueField="companyCode
"/>
</EF:EFComboColumn>
<EF:EFColumn ename="accountPeriod" cname="会计期" enable="false" width="120" align="center"
editType="date" dateFormat="yyyy-MM" parseFormats="['yyyyMM']"/>
<EF:EFComboColumn ename="bizType" cname="业务类型" width="120" enable="
tru
e" align="center" required="true">
<EF:EFComboColumn ename="bizType" cname="业务类型" width="120" enable="
fals
e" align="center" required="true">
<EF:EFCodeOption codeName="hggp.hgsj.computeType"/>
</EF:EFComboColumn>
<EF:EFColumn ename="receiptDate" cname="单据日期" width="120" align="center" editType="date"
<EF:EFColumn ename="receiptDate" cname="单据日期" width="120" align="center" editType="date"
enable="false"
dateFormat="yyyy-MM-dd" parseFormats="['yyyyMMdd']" readonly="false" required="true"/>
<EF:EFColumn ename="receiptCode" cname="单据号" enable="false" width="120" align="center"/>
<EF:EFComboColumn ename="whCode" cname="仓库名称"
<EF:EFComboColumn ename="whCode" cname="仓库名称"
enable="false"
columnTemplate="#=textField#" itemTemplate="#=textField#"
textField="textField" valueField="valueField"
maxLength="16" readonly="false" width="140" required="true"
align="center" filter="contains" sort="true">
<EF:EFOptions blockId="wh_
code
_block_id" textField="textField" valueField="valueField"/>
<EF:EFOptions blockId="wh_
record
_block_id" textField="textField" valueField="valueField"/>
</EF:EFComboColumn>
<EF:EFColumn ename="inventCode" cname="存货编码" width="120" enable="
tru
e" readonly="true" align="center" required="true"/>
<EF:EFColumn ename="inventName" cname="存货名称" width="120" enable="
tru
e" readonly="true" align="center" required="true"/>
<EF:EFComboColumn ename="spec" cname="规格" enable="
tru
e" width="120" align="center" required="true"
<EF:EFColumn ename="inventCode" cname="存货编码" width="120" enable="
fals
e" readonly="true" align="center" required="true"/>
<EF:EFColumn ename="inventName" cname="存货名称" width="120" enable="
fals
e" readonly="true" align="center" required="true"/>
<EF:EFComboColumn ename="spec" cname="规格" enable="
fals
e" width="120" align="center" required="true"
blockName="spec_box_block_id" textField="textField" valueField="valueField"
columnTemplate="#=textField#" itemTemplate="#=textField#" readonly="false"
filter="contains">
</EF:EFComboColumn>
<EF:EFColumn ename="unit" cname="单位" width="80" enable="
tru
e" readonly="false" align="center"/>
<EF:EFColumn ename="quantity" cname="数量" width="100" enable="
tru
e" format="{0:N3}" editType="text"
<EF:EFColumn ename="unit" cname="单位" width="80" enable="
fals
e" readonly="false" align="center"/>
<EF:EFColumn ename="quantity" cname="数量" width="100" enable="
fals
e" format="{0:N3}" editType="text"
displayType="0.000" sort="true" align="right" maxLength="17" required="false" defaultValue="0"
data-regex="/^-?[0-9]{1,15}?$/"
data-errorprompt="请输入数字,该值最大可设置15位整数!"/>
...
...
@@ -76,7 +76,7 @@
displayType="0.000" sort="true" align="right" maxLength="17" required="false" defaultValue="0"
data-regex="/^-?[0-9]{1,15}([.][0-9]{1,3})?$/"
data-errorprompt="请输入数字,该值最大可设置15位整数和3位小数!"/>
<EF:EFComboColumn ename="isEstimate" cname="是否暂估" width="80" enable="
tru
e" align="center" hidden="true" required="true">
<EF:EFComboColumn ename="isEstimate" cname="是否暂估" width="80" enable="
fals
e" align="center" hidden="true" required="true">
<EF:EFCodeOption codeName="hggp.common.yesNo"/>
</EF:EFComboColumn>
<EF:EFColumn ename="price" cname="单价" width="100" enable="true" format="{0:N3}" editType="text"
...
...
src/main/webapp/HG/CB/HGCB004.jsp
View file @
a95def62
...
...
@@ -65,7 +65,7 @@
columnTemplate="#=textField#" itemTemplate="#=textField#" readonly="false"
filter="contains">
</EF:EFComboColumn>--%>
<EF:EFColumn ename="inventRecordId" cname="规格ID" width="80" enable="true" readonly="false"
type="hidden
" align="center"/>
<EF:EFColumn ename="inventRecordId" cname="规格ID" width="80" enable="true" readonly="false"
hidden="true
" align="center"/>
<EF:EFColumn ename="initQuantity" cname="期初数量" width="100" enable="true" format="{0:N0}" editType="text"
displayType="0" sort="true" align="right" maxLength="15" required="false" defaultValue="0"
data-regex="/^-?[0-9]{1,15}?$/"
...
...
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