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
f9594607
Commit
f9594607
authored
Oct 17, 2024
by
宋祥
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/dev' into dev
parents
21032ff8
c62da236
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
12 deletions
+12
-12
ServiceHGPZ007.java
.../java/com/baosight/hggp/hg/pz/service/ServiceHGPZ007.java
+10
-9
HGPZ007.js
src/main/webapp/HG/PZ/HGPZ007.js
+1
-1
HGPZ007.jsp
src/main/webapp/HG/PZ/HGPZ007.jsp
+1
-2
No files found.
src/main/java/com/baosight/hggp/hg/pz/service/ServiceHGPZ007.java
View file @
f9594607
...
@@ -29,7 +29,7 @@ import java.util.*;
...
@@ -29,7 +29,7 @@ import java.util.*;
* @date:2024/1/15,11:20
* @date:2024/1/15,11:20
*/
*/
public
class
ServiceHGPZ007
extends
ServiceBase
{
public
class
ServiceHGPZ007
extends
ServiceBase
{
/**
/**
* 画面初始化
* 画面初始化
*
*
...
@@ -43,13 +43,14 @@ public class ServiceHGPZ007 extends ServiceBase {
...
@@ -43,13 +43,14 @@ public class ServiceHGPZ007 extends ServiceBase {
/*CommonMethod.initBlock(inInfo, Arrays.asList(DdynamicEnum.INVENT_TYPE_BOX_BLOCK_ID), new HashMap<String, Object>(){{
/*CommonMethod.initBlock(inInfo, Arrays.asList(DdynamicEnum.INVENT_TYPE_BOX_BLOCK_ID), new HashMap<String, Object>(){{
put(HGPZ004.FIELD_INVENT_TYPE_DETAILS, InventTypeDetailEnum.getProdTypeFour());
put(HGPZ004.FIELD_INVENT_TYPE_DETAILS, InventTypeDetailEnum.getProdTypeFour());
}}, false);*/
}}, false);*/
CommonMethod
.
initBlock
(
inInfo
,
Arrays
.
asList
(
DdynamicEnum
.
WH_TYPE_BLOCK_ID
),
null
,
false
);
inInfo
.
addBlock
(
EiConstant
.
resultBlock
).
addBlockMeta
(
new
HGPZ007
().
eiMetadata
);
inInfo
.
addBlock
(
EiConstant
.
resultBlock
).
addBlockMeta
(
new
HGPZ007
().
eiMetadata
);
}
catch
(
PlatException
e
)
{
}
catch
(
PlatException
e
)
{
LogUtils
.
setDetailMsg
(
inInfo
,
e
,
"初始化失败"
);
LogUtils
.
setDetailMsg
(
inInfo
,
e
,
"初始化失败"
);
}
}
return
inInfo
;
return
inInfo
;
}
}
/**
/**
* 查询数据列表
* 查询数据列表
*
*
...
@@ -66,7 +67,7 @@ public class ServiceHGPZ007 extends ServiceBase {
...
@@ -66,7 +67,7 @@ public class ServiceHGPZ007 extends ServiceBase {
}
}
return
inInfo
;
return
inInfo
;
}
}
/**
/**
* 保存操作.
* 保存操作.
*
*
...
@@ -97,7 +98,7 @@ public class ServiceHGPZ007 extends ServiceBase {
...
@@ -97,7 +98,7 @@ public class ServiceHGPZ007 extends ServiceBase {
}
}
return
inInfo
;
return
inInfo
;
}
}
/**
/**
* 校验保存的数据
* 校验保存的数据
*
*
...
@@ -111,7 +112,7 @@ public class ServiceHGPZ007 extends ServiceBase {
...
@@ -111,7 +112,7 @@ public class ServiceHGPZ007 extends ServiceBase {
AssertUtils
.
isNull
(
hgpz007
.
getStatus
(),
"是否启用不能为空"
);
AssertUtils
.
isNull
(
hgpz007
.
getStatus
(),
"是否启用不能为空"
);
}
}
}
}
/**
/**
* 新增企业信息
* 新增企业信息
*
*
...
@@ -123,7 +124,7 @@ public class ServiceHGPZ007 extends ServiceBase {
...
@@ -123,7 +124,7 @@ public class ServiceHGPZ007 extends ServiceBase {
DaoUtils
.
insert
(
HGPZ007
.
INSERT
,
hgpz007
);
DaoUtils
.
insert
(
HGPZ007
.
INSERT
,
hgpz007
);
}
}
/**
/**
* 修改数据
* 修改数据
*
*
...
@@ -132,7 +133,7 @@ public class ServiceHGPZ007 extends ServiceBase {
...
@@ -132,7 +133,7 @@ public class ServiceHGPZ007 extends ServiceBase {
private
void
modify
(
HGPZ007
hgpz007
)
{
private
void
modify
(
HGPZ007
hgpz007
)
{
DaoUtils
.
update
(
HGPZ007
.
UPDATE
,
hgpz007
);
DaoUtils
.
update
(
HGPZ007
.
UPDATE
,
hgpz007
);
}
}
/**
/**
* 新增操作.
* 新增操作.
*
*
...
@@ -186,7 +187,7 @@ public class ServiceHGPZ007 extends ServiceBase {
...
@@ -186,7 +187,7 @@ public class ServiceHGPZ007 extends ServiceBase {
}
}
return
inInfo
;
return
inInfo
;
}
}
/**
/**
* 删除操作
* 删除操作
*
*
...
@@ -266,5 +267,5 @@ public class ServiceHGPZ007 extends ServiceBase {
...
@@ -266,5 +267,5 @@ public class ServiceHGPZ007 extends ServiceBase {
inInfo
.
set
(
"list"
,
query
);
inInfo
.
set
(
"list"
,
query
);
return
inInfo
;
return
inInfo
;
}
}
}
}
src/main/webapp/HG/PZ/HGPZ007.js
View file @
f9594607
$
(
function
()
{
$
(
function
()
{
//
var whTypeBox = __eiInfo.getBlock("invent_type_box_block_id").getMappedRows();
var
whTypeBox
=
__eiInfo
.
getBlock
(
"invent_type_box_block_id"
).
getMappedRows
();
// 查询
// 查询
$
(
"#QUERY"
).
on
(
"click"
,
query
);
$
(
"#QUERY"
).
on
(
"click"
,
query
);
...
...
src/main/webapp/HG/PZ/HGPZ007.jsp
View file @
f9594607
...
@@ -24,10 +24,9 @@
...
@@ -24,10 +24,9 @@
<EF:EFColumn
ename=
"id"
cname=
"主键"
hidden=
"true"
/>
<EF:EFColumn
ename=
"id"
cname=
"主键"
hidden=
"true"
/>
<EF:EFColumn
cname=
"仓库编码"
ename=
"whCode"
width=
"140"
align=
"center"
enable=
"false"
/>
<EF:EFColumn
cname=
"仓库编码"
ename=
"whCode"
width=
"140"
align=
"center"
enable=
"false"
/>
<EF:EFComboColumn
ename=
"whType"
cname=
"仓库类型"
width=
"120"
align=
"center"
required=
"true"
<EF:EFComboColumn
ename=
"whType"
cname=
"仓库类型"
width=
"120"
align=
"center"
required=
"true"
textField=
"textField"
valueField=
"valueField"
blockName=
"wh_type_block_id"
textField=
"textField"
valueField=
"valueField"
columnTemplate=
"#=textField#"
itemTemplate=
"#=textField#"
readonly=
"false"
columnTemplate=
"#=textField#"
itemTemplate=
"#=textField#"
readonly=
"false"
filter=
"contains"
>
filter=
"contains"
>
<EF:EFCodeOption
codeName=
"hggp.hgpz.inventTypeDetail"
/>
</EF:EFComboColumn>
</EF:EFComboColumn>
<EF:EFColumn
cname=
"仓库名称"
ename=
"whName"
width=
"120"
align=
"center"
readonly=
"true"
required=
"true"
/>
<EF:EFColumn
cname=
"仓库名称"
ename=
"whName"
width=
"120"
align=
"center"
readonly=
"true"
required=
"true"
/>
<EF:EFComboColumn
ename=
"inventTypeDetail"
cname=
"存货类型明细"
width=
"80"
align=
"center"
readonly=
"false"
>
<EF:EFComboColumn
ename=
"inventTypeDetail"
cname=
"存货类型明细"
width=
"80"
align=
"center"
readonly=
"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