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
b3636202
Commit
b3636202
authored
May 27, 2024
by
liuyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2024-05-27 修复工序设置、工艺流程、工序单价用户所属公司属于工厂导致无法查询问题
parent
e7fbac6b
Show whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
73 additions
and
39 deletions
+73
-39
DdynamicEnum.java
src/main/java/com/baosight/hggp/common/DdynamicEnum.java
+10
-0
ServiceHGSB001.java
.../java/com/baosight/hggp/hg/sb/service/ServiceHGSB001.java
+5
-4
ServiceHGSJ001.java
.../java/com/baosight/hggp/hg/sj/service/ServiceHGSJ001.java
+6
-5
ServiceHGSJ002.java
.../java/com/baosight/hggp/hg/sj/service/ServiceHGSJ002.java
+8
-5
ServiceHGSJ002A.java
...java/com/baosight/hggp/hg/sj/service/ServiceHGSJ002A.java
+1
-2
ServiceHGSJ003.java
.../java/com/baosight/hggp/hg/sj/service/ServiceHGSJ003.java
+29
-12
HGXSOrg.xml
src/main/java/com/baosight/hggp/hg/xs/sql/HGXSOrg.xml
+3
-0
HGSB001.jsp
src/main/webapp/HG/SB/HGSB001.jsp
+2
-2
HGSJ001.js
src/main/webapp/HG/SJ/HGSJ001.js
+1
-1
HGSJ001.jsp
src/main/webapp/HG/SJ/HGSJ001.jsp
+2
-2
HGSJ002.js
src/main/webapp/HG/SJ/HGSJ002.js
+1
-1
HGSJ002.jsp
src/main/webapp/HG/SJ/HGSJ002.jsp
+2
-2
HGSJ003.js
src/main/webapp/HG/SJ/HGSJ003.js
+1
-1
HGSJ003.jsp
src/main/webapp/HG/SJ/HGSJ003.jsp
+2
-2
No files found.
src/main/java/com/baosight/hggp/common/DdynamicEnum.java
View file @
b3636202
...
@@ -174,6 +174,16 @@ public enum DdynamicEnum {
...
@@ -174,6 +174,16 @@ public enum DdynamicEnum {
COMPANY_RECORD_BLOCK_ID
(
"company_record_block_id"
,
"companyCode"
,
"companyName"
,
"HPXSUser.queryCompanyComboBox"
),
COMPANY_RECORD_BLOCK_ID
(
"company_record_block_id"
,
"companyCode"
,
"companyName"
,
"HPXSUser.queryCompanyComboBox"
),
/**
/**
* 模块:用户公司
* 用途:公司下拉框
* 编写:ly
*/
COMPANY_RECORD_BOX_BLOCK_ID
(
"company_record_box_block_id"
,
"orgId"
,
"orgCname"
,
"HGXSOrg.queryParent"
,
new
HashMap
(){{
put
(
"orgType"
,
OrgTypeEnum
.
COMPANY
.
getCode
());
put
(
"isParentOrgId"
,
"true"
);
}}),
/**
* 模块:用户
* 模块:用户
* 用途:用户下拉框
* 用途:用户下拉框
* 编写:yk
* 编写:yk
...
...
src/main/java/com/baosight/hggp/hg/sb/service/ServiceHGSB001.java
View file @
b3636202
...
@@ -11,6 +11,7 @@ import com.baosight.hggp.hg.sb.domain.HGSB002;
...
@@ -11,6 +11,7 @@ import com.baosight.hggp.hg.sb.domain.HGSB002;
import
com.baosight.hggp.hg.sb.tools.HGSBTools
;
import
com.baosight.hggp.hg.sb.tools.HGSBTools
;
import
com.baosight.hggp.hg.xs.domain.Org
;
import
com.baosight.hggp.hg.xs.domain.Org
;
import
com.baosight.hggp.hg.xs.domain.User
;
import
com.baosight.hggp.hg.xs.domain.User
;
import
com.baosight.hggp.hg.xs.tools.HGXSTools
;
import
com.baosight.hggp.util.*
;
import
com.baosight.hggp.util.*
;
import
com.baosight.hggp.util.contants.ACConstants
;
import
com.baosight.hggp.util.contants.ACConstants
;
import
com.baosight.iplat4j.core.ei.EiBlock
;
import
com.baosight.iplat4j.core.ei.EiBlock
;
...
@@ -38,11 +39,11 @@ public class ServiceHGSB001 extends ServiceEPBase {
...
@@ -38,11 +39,11 @@ public class ServiceHGSB001 extends ServiceEPBase {
inInfo
.
setCell
(
EiConstant
.
queryBlock
,
ACConstants
.
ROW_CODE_0
,
HGSB001
.
FIELD_DELETE_FLAG
,
CommonConstant
.
YesNo
.
NO_0
);
inInfo
.
setCell
(
EiConstant
.
queryBlock
,
ACConstants
.
ROW_CODE_0
,
HGSB001
.
FIELD_DELETE_FLAG
,
CommonConstant
.
YesNo
.
NO_0
);
outInfo
=
super
.
query
(
inInfo
,
HGSB001
.
QUERY
,
new
HGSB001
());
outInfo
=
super
.
query
(
inInfo
,
HGSB001
.
QUERY
,
new
HGSB001
());
Map
qarma
=
new
HashMap
();
Map
qarma
=
new
HashMap
();
if
(!
HGSBTools
.
getRoleDataAuth
()){
List
<
Org
>
orgList
=
HGXSTools
.
XsOrg
.
queryByUser
();
String
userId
=
"admin"
.
equals
(
UserSessionUtils
.
getUserId
())?
""
:
UserSessionUtils
.
getUserId
();
if
(
orgList
.
size
()>
0
)
{
qarma
.
put
(
User
.
FIELD_USER_ID
,
userId
);
qarma
.
put
(
Org
.
FIELD_ORG_ID
,
orgList
.
get
(
0
).
getOrgId
()
);
}
}
CommonMethod
.
initBlock
(
outInfo
,
Arrays
.
asList
(
DdynamicEnum
.
COMPANY_BOX_BLOCK_ID
),
qarma
);
CommonMethod
.
initBlock
(
outInfo
,
Arrays
.
asList
(
DdynamicEnum
.
COMPANY_
RECORD_
BOX_BLOCK_ID
),
qarma
);
qarma
.
clear
();
qarma
.
clear
();
Map
userCompany
=
HGSBTools
.
getUserCompany
();
Map
userCompany
=
HGSBTools
.
getUserCompany
();
...
...
src/main/java/com/baosight/hggp/hg/sj/service/ServiceHGSJ001.java
View file @
b3636202
...
@@ -34,12 +34,13 @@ public class ServiceHGSJ001 extends ServiceEPBase {
...
@@ -34,12 +34,13 @@ public class ServiceHGSJ001 extends ServiceEPBase {
@Override
@Override
public
EiInfo
initLoad
(
EiInfo
inInfo
)
{
public
EiInfo
initLoad
(
EiInfo
inInfo
)
{
inInfo
.
setCell
(
EiConstant
.
queryBlock
,
ACConstants
.
ROW_CODE_0
,
HGSJ001
.
FIELD_DELETE_FLAG
,
CommonConstant
.
YesNo
.
NO_0
);
inInfo
.
setCell
(
EiConstant
.
queryBlock
,
ACConstants
.
ROW_CODE_0
,
HGSJ001
.
FIELD_DELETE_FLAG
,
CommonConstant
.
YesNo
.
NO_0
);
EiInfo
outInfo
=
super
.
initLoad
(
inInfo
,
new
HGSJ002
());
EiInfo
outInfo
=
super
.
query
(
inInfo
,
HGSJ001
.
QUERY
,
new
HGSJ001
());
outInfo
=
super
.
query
(
inInfo
,
HGSJ001
.
QUERY
,
new
HGSJ001
());
Map
qarma
=
new
HashMap
();
Map
qarma
=
new
HashMap
();
String
userId
=
"admin"
.
equals
(
UserSessionUtils
.
getUserId
())?
""
:
UserSessionUtils
.
getUserId
();
List
<
Org
>
orgList
=
HGXSTools
.
XsOrg
.
queryByUser
();
qarma
.
put
(
User
.
FIELD_USER_ID
,
userId
);
if
(
orgList
.
size
()>
0
)
{
CommonMethod
.
initBlock
(
outInfo
,
Arrays
.
asList
(
DdynamicEnum
.
COMPANY_BOX_BLOCK_ID
),
qarma
);
qarma
.
put
(
Org
.
FIELD_ORG_ID
,
orgList
.
get
(
0
).
getOrgId
());
}
CommonMethod
.
initBlock
(
outInfo
,
Arrays
.
asList
(
DdynamicEnum
.
COMPANY_RECORD_BOX_BLOCK_ID
),
qarma
);
qarma
.
clear
();
qarma
.
clear
();
List
orgIds
=
getOrgId
();
List
orgIds
=
getOrgId
();
qarma
.
put
(
Org
.
FIELD_ORG_ID
,
orgIds
);
qarma
.
put
(
Org
.
FIELD_ORG_ID
,
orgIds
);
...
...
src/main/java/com/baosight/hggp/hg/sj/service/ServiceHGSJ002.java
View file @
b3636202
...
@@ -8,7 +8,9 @@ import com.baosight.hggp.core.enums.OrgTypeEnum;
...
@@ -8,7 +8,9 @@ import com.baosight.hggp.core.enums.OrgTypeEnum;
import
com.baosight.hggp.core.security.UserSessionUtils
;
import
com.baosight.hggp.core.security.UserSessionUtils
;
import
com.baosight.hggp.hg.constant.HGConstant
;
import
com.baosight.hggp.hg.constant.HGConstant
;
import
com.baosight.hggp.hg.sj.domain.HGSJ002
;
import
com.baosight.hggp.hg.sj.domain.HGSJ002
;
import
com.baosight.hggp.hg.xs.domain.Org
;
import
com.baosight.hggp.hg.xs.domain.User
;
import
com.baosight.hggp.hg.xs.domain.User
;
import
com.baosight.hggp.hg.xs.tools.HGXSTools
;
import
com.baosight.hggp.util.CommonMethod
;
import
com.baosight.hggp.util.CommonMethod
;
import
com.baosight.hggp.util.ErrorCodeUtils
;
import
com.baosight.hggp.util.ErrorCodeUtils
;
import
com.baosight.hggp.util.LogUtils
;
import
com.baosight.hggp.util.LogUtils
;
...
@@ -35,12 +37,13 @@ public class ServiceHGSJ002 extends ServiceEPBase {
...
@@ -35,12 +37,13 @@ public class ServiceHGSJ002 extends ServiceEPBase {
@Override
@Override
public
EiInfo
initLoad
(
EiInfo
inInfo
)
{
public
EiInfo
initLoad
(
EiInfo
inInfo
)
{
inInfo
.
setCell
(
EiConstant
.
queryBlock
,
ACConstants
.
ROW_CODE_0
,
HGSJ002
.
FIELD_DELETE_FLAG
,
CommonConstant
.
YesNo
.
NO_0
);
inInfo
.
setCell
(
EiConstant
.
queryBlock
,
ACConstants
.
ROW_CODE_0
,
HGSJ002
.
FIELD_DELETE_FLAG
,
CommonConstant
.
YesNo
.
NO_0
);
EiInfo
outInfo
=
super
.
initLoad
(
inInfo
,
new
HGSJ002
());
EiInfo
outInfo
=
super
.
query
(
inInfo
,
HGSJ002
.
QUERY
,
new
HGSJ002
());
outInfo
=
super
.
query
(
inInfo
,
HGSJ002
.
QUERY
,
new
HGSJ002
());
Map
qarma
=
new
HashMap
();
Map
qarma
=
new
HashMap
();
String
userId
=
"admin"
.
equals
(
UserSessionUtils
.
getUserId
())?
""
:
UserSessionUtils
.
getUserId
();
List
<
Org
>
orgList
=
HGXSTools
.
XsOrg
.
queryByUser
();
qarma
.
put
(
User
.
FIELD_USER_ID
,
userId
);
if
(
orgList
.
size
()>
0
)
{
CommonMethod
.
initBlock
(
outInfo
,
Arrays
.
asList
(
DdynamicEnum
.
COMPANY_BOX_BLOCK_ID
),
qarma
);
qarma
.
put
(
Org
.
FIELD_ORG_ID
,
orgList
.
get
(
0
).
getOrgId
());
}
CommonMethod
.
initBlock
(
outInfo
,
Arrays
.
asList
(
DdynamicEnum
.
COMPANY_RECORD_BOX_BLOCK_ID
),
qarma
);
return
outInfo
;
return
outInfo
;
}
}
...
...
src/main/java/com/baosight/hggp/hg/sj/service/ServiceHGSJ002A.java
View file @
b3636202
...
@@ -35,8 +35,7 @@ public class ServiceHGSJ002A extends ServiceEPBase {
...
@@ -35,8 +35,7 @@ public class ServiceHGSJ002A extends ServiceEPBase {
//inInfo.setCell(EiConstant.queryBlock,ACConstants.ROW_CODE_0,HGPZ002A.FIELD_PARENT_ID,inInfo.get("inqu_status-0-parendId"));
//inInfo.setCell(EiConstant.queryBlock,ACConstants.ROW_CODE_0,HGPZ002A.FIELD_PARENT_ID,inInfo.get("inqu_status-0-parendId"));
//inInfo.setCell(EiConstant.queryBlock,ACConstants.ROW_CODE_0,HGPZ002A.FIELD_FLOW_CODE,inInfo.get("inqu_status-0-flowCode"));
//inInfo.setCell(EiConstant.queryBlock,ACConstants.ROW_CODE_0,HGPZ002A.FIELD_FLOW_CODE,inInfo.get("inqu_status-0-flowCode"));
String
factoryCode
=
inInfo
.
getCell
(
EiConstant
.
queryBlock
,
ACConstants
.
ROW_CODE_0
,
HGSJ002A
.
FIELD_FACTORY_CODE
).
toString
();
String
factoryCode
=
inInfo
.
getCell
(
EiConstant
.
queryBlock
,
ACConstants
.
ROW_CODE_0
,
HGSJ002A
.
FIELD_FACTORY_CODE
).
toString
();
EiInfo
outInfo
=
super
.
initLoad
(
inInfo
,
new
HGSJ002
());
EiInfo
outInfo
=
super
.
query
(
inInfo
,
HGSJ002A
.
QUERY
,
new
HGSJ002A
());
outInfo
=
super
.
query
(
inInfo
,
HGSJ002A
.
QUERY
,
new
HGSJ002A
());
CommonMethod
.
initBlock
(
outInfo
,
Arrays
.
asList
(
DdynamicEnum
.
COMPANY_BOX_BLOCK_ID
,
DdynamicEnum
.
PROCESS_CODE_BLOCK_ID
),
CommonMethod
.
initBlock
(
outInfo
,
Arrays
.
asList
(
DdynamicEnum
.
COMPANY_BOX_BLOCK_ID
,
DdynamicEnum
.
PROCESS_CODE_BLOCK_ID
),
new
HashMap
<
String
,
Object
>(){{
new
HashMap
<
String
,
Object
>(){{
put
(
HGSJ002A
.
FIELD_FACTORY_CODE
,
factoryCode
);
put
(
HGSJ002A
.
FIELD_FACTORY_CODE
,
factoryCode
);
...
...
src/main/java/com/baosight/hggp/hg/sj/service/ServiceHGSJ003.java
View file @
b3636202
...
@@ -38,26 +38,29 @@ public class ServiceHGSJ003 extends ServiceEPBase {
...
@@ -38,26 +38,29 @@ public class ServiceHGSJ003 extends ServiceEPBase {
@Override
@Override
public
EiInfo
initLoad
(
EiInfo
inInfo
)
{
public
EiInfo
initLoad
(
EiInfo
inInfo
)
{
inInfo
.
setCell
(
EiConstant
.
queryBlock
,
ACConstants
.
ROW_CODE_0
,
HGSJ003
.
FIELD_DELETE_FLAG
,
CommonConstant
.
YesNo
.
NO_0
);
inInfo
.
setCell
(
EiConstant
.
queryBlock
,
ACConstants
.
ROW_CODE_0
,
HGSJ003
.
FIELD_DELETE_FLAG
,
CommonConstant
.
YesNo
.
NO_0
);
EiInfo
outInfo
=
super
.
initLoad
(
inInfo
,
new
HGSJ002
());
EiInfo
outInfo
=
super
.
query
(
inInfo
,
HGSJ003
.
QUERY
,
new
HGSJ003
());
outInfo
=
super
.
query
(
inInfo
,
HGSJ003
.
QUERY
,
new
HGSJ003
());
List
asList
=
new
ArrayList
<>();
Map
qarma
=
new
HashMap
();
Map
qarma
=
new
HashMap
();
String
userId
=
"admin"
.
equals
(
UserSessionUtils
.
getUserId
())?
""
:
UserSessionUtils
.
getUserId
();
qarma
.
put
(
User
.
FIELD_USER_ID
,
userId
);
asList
.
add
(
DdynamicEnum
.
COMPANY_BOX_BLOCK_ID
);
asList
.
add
(
DdynamicEnum
.
PROCESS_CODE_BLOCK_ID
);
List
<
Org
>
orgList
=
HGXSTools
.
XsOrg
.
queryByUser
();
List
<
Org
>
orgList
=
HGXSTools
.
XsOrg
.
queryByUser
();
if
(
orgList
.
size
()>
0
)
{
qarma
.
put
(
Org
.
FIELD_ORG_ID
,
orgList
.
get
(
0
).
getOrgId
());
}
CommonMethod
.
initBlock
(
outInfo
,
Arrays
.
asList
(
DdynamicEnum
.
COMPANY_RECORD_BOX_BLOCK_ID
),
qarma
);
qarma
.
clear
();
if
(
CollectionUtils
.
isNotEmpty
(
orgList
)){
if
(
CollectionUtils
.
isNotEmpty
(
orgList
)){
Org
org
=
orgList
.
get
(
0
);
Org
org
=
orgList
.
get
(
0
);
if
(!
org
.
getOrgType
().
equals
(
"company"
))
{
if
(!
org
.
getOrgType
().
equals
(
"company"
))
{
//如果不是公司公司,则找到上一级
//如果不是公司公司,则找到上一级
Org
org1
=
HGXSTools
.
XsOrg
.
queryCompany
(
org
.
getOrgId
());
List
<
Org
>
orgList1
=
HGXSTools
.
XsOrg
.
queryParent
(
org
.
getOrgId
());
for
(
Org
org1:
orgList1
)
{
if
(
"company"
.
equals
(
org1
.
getOrgType
())
&&
!
"root"
.
equals
(
org1
.
getParentOrgId
()))
{
qarma
.
put
(
HGSJ002A
.
FIELD_FACTORY_CODE
,
org1
.
getOrgId
());
qarma
.
put
(
HGSJ002A
.
FIELD_FACTORY_CODE
,
org1
.
getOrgId
());
}
}
}
else
{
}
else
{
qarma
.
put
(
HGSJ002A
.
FIELD_FACTORY_CODE
,
org
.
getOrgId
());
qarma
.
put
(
HGSJ002A
.
FIELD_FACTORY_CODE
,
org
.
getOrgId
());
}
}
}
}
CommonMethod
.
initBlock
(
outInfo
,
asList
,
qarma
);
CommonMethod
.
initBlock
(
outInfo
,
Arrays
.
asList
(
DdynamicEnum
.
PROCESS_CODE_BLOCK_ID
)
,
qarma
);
return
outInfo
;
return
outInfo
;
}
}
...
@@ -221,9 +224,23 @@ public class ServiceHGSJ003 extends ServiceEPBase {
...
@@ -221,9 +224,23 @@ public class ServiceHGSJ003 extends ServiceEPBase {
@OperationLogAnnotation
(
operModul
=
"工艺单价"
,
operType
=
"下载模板"
,
operDesc
=
"下载模板"
)
@OperationLogAnnotation
(
operModul
=
"工艺单价"
,
operType
=
"下载模板"
,
operDesc
=
"下载模板"
)
public
EiInfo
downloadTemplate
(
EiInfo
inInfo
){
public
EiInfo
downloadTemplate
(
EiInfo
inInfo
){
Map
<
String
,
Object
>
param
=
new
HashMap
<>(
4
);
Map
<
String
,
Object
>
param
=
new
HashMap
<>(
4
);
Map
map
=
HGSJTools
.
Hgsj003
.
getCompany
(
UserSession
.
getLoginName
(),
OrgTypeEnum
.
COMPANY
.
getCode
());
List
<
Org
>
orgList
=
HGXSTools
.
XsOrg
.
queryByUser
();
param
.
put
(
HGSJ003
.
FIELD_FACTORY_CODE
,
map
.
get
(
"orgEname"
));
if
(
CollectionUtils
.
isNotEmpty
(
orgList
)){
param
.
put
(
HGSJ003
.
FIELD_FACTORY_NAME
,
map
.
get
(
"orgCname"
));
Org
org
=
orgList
.
get
(
0
);
if
(!
"company"
.
equals
(
org
.
getOrgType
()))
{
//如果不是公司公司,则找到上一级
List
<
Org
>
orgList1
=
HGXSTools
.
XsOrg
.
queryParent
(
org
.
getOrgId
());
for
(
Org
org1:
orgList1
)
{
if
(
"company"
.
equals
(
org1
.
getOrgType
())
&&
!
"root"
.
equals
(
org1
.
getParentOrgId
()))
{
param
.
put
(
HGSJ003
.
FIELD_FACTORY_CODE
,
org1
.
getOrgId
());
param
.
put
(
HGSJ003
.
FIELD_FACTORY_NAME
,
org1
.
getOrgCname
());
}
}
}
else
{
param
.
put
(
HGSJ003
.
FIELD_FACTORY_CODE
,
org
.
getOrgId
());
param
.
put
(
HGSJ003
.
FIELD_FACTORY_NAME
,
org
.
getOrgCname
());
}
}
param
.
put
(
HGSJ003
.
FIELD_DELETE_FLAG
,
CommonConstant
.
YesNo
.
NO_0
);
param
.
put
(
HGSJ003
.
FIELD_DELETE_FLAG
,
CommonConstant
.
YesNo
.
NO_0
);
param
.
put
(
HGSJ003
.
FIELD_STATUS
,
CommonConstant
.
YesNo
.
YES_1
);
param
.
put
(
HGSJ003
.
FIELD_STATUS
,
CommonConstant
.
YesNo
.
YES_1
);
//param.put("orgType", OrgTypeEnum.COMPANY.getCode());
//param.put("orgType", OrgTypeEnum.COMPANY.getCode());
...
...
src/main/java/com/baosight/hggp/hg/xs/sql/HGXSOrg.xml
View file @
b3636202
...
@@ -130,6 +130,9 @@
...
@@ -130,6 +130,9 @@
<isNotEmpty
prepend=
" AND "
property=
"orgType"
>
<isNotEmpty
prepend=
" AND "
property=
"orgType"
>
ORG_TYPE = #orgType#
ORG_TYPE = #orgType#
</isNotEmpty>
</isNotEmpty>
<isNotEmpty
prepend=
" AND "
property=
"isParentOrgId"
>
PARENT_ORG_ID != 'root'
</isNotEmpty>
AND ACCOUNT_CODE = #accountCode#
AND ACCOUNT_CODE = #accountCode#
ORDER BY T2.LEVEL, T3.ORG_ID
ORDER BY T2.LEVEL, T3.ORG_ID
</select>
</select>
...
...
src/main/webapp/HG/SB/HGSB001.jsp
View file @
b3636202
...
@@ -21,7 +21,7 @@
...
@@ -21,7 +21,7 @@
<div class="row">
<div class="row">
<EF:EFSelect blockId="inqu_status" row="0" ename="companyCode" cname="公司名称" colWidth="3" filter="contains">
<EF:EFSelect blockId="inqu_status" row="0" ename="companyCode" cname="公司名称" colWidth="3" filter="contains">
<EF:EFOption label="全部" value=""/>
<EF:EFOption label="全部" value=""/>
<EF:EFOptions blockId="company
B
ox_block_id" textField="textField" valueField="valueField"/>
<EF:EFOptions blockId="company
_record_b
ox_block_id" textField="textField" valueField="valueField"/>
</EF:EFSelect>
</EF:EFSelect>
<EF:EFInput blockId="inqu_status" row="0" ename="groupName" cname="设备区域" placeholder="模糊查询" colWidth="3"/>
<EF:EFInput blockId="inqu_status" row="0" ename="groupName" cname="设备区域" placeholder="模糊查询" colWidth="3"/>
<%--<EF:EFSelect blockId="inqu_status" row="0" ename="groupCode" cname="设备区域" colWidth="3" filter="contains">
<%--<EF:EFSelect blockId="inqu_status" row="0" ename="groupCode" cname="设备区域" colWidth="3" filter="contains">
...
@@ -48,7 +48,7 @@
...
@@ -48,7 +48,7 @@
textField="textField" valueField="valueField"
textField="textField" valueField="valueField"
maxLength="16" readonly="false" width="120" required="false"
maxLength="16" readonly="false" width="120" required="false"
align="center" filter="contains" sort="true">
align="center" filter="contains" sort="true">
<EF:EFOptions blockId="company
B
ox_block_id" textField="textField" valueField="valueField"/>
<EF:EFOptions blockId="company
_record_b
ox_block_id" textField="textField" valueField="valueField"/>
</EF:EFComboColumn>
</EF:EFComboColumn>
<EF:EFComboColumn ename="groupCode" cname="设备区域"
<EF:EFComboColumn ename="groupCode" cname="设备区域"
columnTemplate="#=textField#" itemTemplate="#=textField#"
columnTemplate="#=textField#" itemTemplate="#=textField#"
...
...
src/main/webapp/HG/SJ/HGSJ001.js
View file @
b3636202
$
(
function
(){
$
(
function
(){
var
factoryCodes
=
__eiInfo
.
getBlock
(
"company
B
ox_block_id"
).
getMappedRows
();
var
factoryCodes
=
__eiInfo
.
getBlock
(
"company
_record_b
ox_block_id"
).
getMappedRows
();
var
userIdBox
=
__eiInfo
.
getBlock
(
"user_block_id"
).
getMappedRows
();
var
userIdBox
=
__eiInfo
.
getBlock
(
"user_block_id"
).
getMappedRows
();
$
(
".row"
).
children
().
attr
(
"class"
,
"col-md-3"
);
$
(
".row"
).
children
().
attr
(
"class"
,
"col-md-3"
);
...
...
src/main/webapp/HG/SJ/HGSJ001.jsp
View file @
b3636202
...
@@ -22,7 +22,7 @@
...
@@ -22,7 +22,7 @@
<div class="row">
<div class="row">
<EF:EFSelect blockId="inqu_status" row="0" ename="factoryCode" cname="公司名称" colWidth="3" filter="contains">
<EF:EFSelect blockId="inqu_status" row="0" ename="factoryCode" cname="公司名称" colWidth="3" filter="contains">
<EF:EFOption label="全部" value=""/>
<EF:EFOption label="全部" value=""/>
<EF:EFOptions blockId="company
B
ox_block_id" textField="textField" valueField="valueField"/>
<EF:EFOptions blockId="company
_record_b
ox_block_id" textField="textField" valueField="valueField"/>
</EF:EFSelect>
</EF:EFSelect>
<EF:EFInput blockId="inqu_status" row="0" ename="processName" cname="工序名称" placeholder="模糊查询" colWidth="3"/>
<EF:EFInput blockId="inqu_status" row="0" ename="processName" cname="工序名称" placeholder="模糊查询" colWidth="3"/>
<EF:EFInput blockId="inqu_status" row="0" ename="princName" cname="负责人" placeholder="模糊查询" colWidth="3"/>
<EF:EFInput blockId="inqu_status" row="0" ename="princName" cname="负责人" placeholder="模糊查询" colWidth="3"/>
...
@@ -43,7 +43,7 @@
...
@@ -43,7 +43,7 @@
textField="textField" valueField="valueField"
textField="textField" valueField="valueField"
maxLength="16" width="120" required="true"
maxLength="16" width="120" required="true"
align="center" filter="contains" sort="true">
align="center" filter="contains" sort="true">
<EF:EFOptions blockId="company
B
ox_block_id" textField="textField" valueField="valueField"/>
<EF:EFOptions blockId="company
_record_b
ox_block_id" textField="textField" valueField="valueField"/>
</EF:EFComboColumn>
</EF:EFComboColumn>
<EF:EFColumn ename="factoryName" cname="公司名称" hidden="true"/>
<EF:EFColumn ename="factoryName" cname="公司名称" hidden="true"/>
<EF:EFColumn ename="processCode" cname="工序编码" enable="false" width="100" align="center"/>
<EF:EFColumn ename="processCode" cname="工序编码" enable="false" width="100" align="center"/>
...
...
src/main/webapp/HG/SJ/HGSJ002.js
View file @
b3636202
$
(
function
(){
$
(
function
(){
var
factoryCodes
=
__eiInfo
.
getBlock
(
"company
B
ox_block_id"
).
getMappedRows
();
var
factoryCodes
=
__eiInfo
.
getBlock
(
"company
_record_b
ox_block_id"
).
getMappedRows
();
$
(
".row"
).
children
().
attr
(
"class"
,
"col-md-3"
);
$
(
".row"
).
children
().
attr
(
"class"
,
"col-md-3"
);
...
...
src/main/webapp/HG/SJ/HGSJ002.jsp
View file @
b3636202
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
<div class="row">
<div class="row">
<EF:EFSelect blockId="inqu_status" row="0" ename="factoryCode" cname="公司名称" colWidth="3" filter="contains">
<EF:EFSelect blockId="inqu_status" row="0" ename="factoryCode" cname="公司名称" colWidth="3" filter="contains">
<EF:EFOption label="全部" value=""/>
<EF:EFOption label="全部" value=""/>
<EF:EFOptions blockId="company
B
ox_block_id" textField="textField" valueField="valueField"/>
<EF:EFOptions blockId="company
_record_b
ox_block_id" textField="textField" valueField="valueField"/>
</EF:EFSelect>
</EF:EFSelect>
<EF:EFInput blockId="inqu_status" row="0" ename="flowName" cname="流程名称" placeholder="模糊查询" colWidth="3"/>
<EF:EFInput blockId="inqu_status" row="0" ename="flowName" cname="流程名称" placeholder="模糊查询" colWidth="3"/>
<EF:EFSelect blockId="inqu_status" row="0" ename="status" cname="状态" colWidth="3" filter="contains">
<EF:EFSelect blockId="inqu_status" row="0" ename="status" cname="状态" colWidth="3" filter="contains">
...
@@ -37,7 +37,7 @@
...
@@ -37,7 +37,7 @@
textField="textField" valueField="valueField"
textField="textField" valueField="valueField"
maxLength="16" width="120" required="true"
maxLength="16" width="120" required="true"
align="center" filter="contains" sort="true">
align="center" filter="contains" sort="true">
<EF:EFOptions blockId="company
B
ox_block_id" textField="textField" valueField="valueField"/>
<EF:EFOptions blockId="company
_record_b
ox_block_id" textField="textField" valueField="valueField"/>
</EF:EFComboColumn>
</EF:EFComboColumn>
<EF:EFColumn ename="flowCode" cname="流程编码" enable="false" width="100" align="center"/>
<EF:EFColumn ename="flowCode" cname="流程编码" enable="false" width="100" align="center"/>
<EF:EFColumn ename="flowName" cname="流程名称" width="120" enable="true" readonly="false" align="center" required="true"/>
<EF:EFColumn ename="flowName" cname="流程名称" width="120" enable="true" readonly="false" align="center" required="true"/>
...
...
src/main/webapp/HG/SJ/HGSJ003.js
View file @
b3636202
$
(
function
(){
$
(
function
(){
var
factoryCodes
=
__eiInfo
.
getBlock
(
"company
B
ox_block_id"
).
getMappedRows
();
var
factoryCodes
=
__eiInfo
.
getBlock
(
"company
_record_b
ox_block_id"
).
getMappedRows
();
var
processCodes
=
__eiInfo
.
getBlock
(
"processCode_block_id"
).
getMappedRows
();
var
processCodes
=
__eiInfo
.
getBlock
(
"processCode_block_id"
).
getMappedRows
();
$
(
".row"
).
children
().
attr
(
"class"
,
"col-md-3"
);
$
(
".row"
).
children
().
attr
(
"class"
,
"col-md-3"
);
...
...
src/main/webapp/HG/SJ/HGSJ003.jsp
View file @
b3636202
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
<div class="row">
<div class="row">
<EF:EFSelect blockId="inqu_status" row="0" ename="factoryCode" cname="公司名称" colWidth="3" filter="contains">
<EF:EFSelect blockId="inqu_status" row="0" ename="factoryCode" cname="公司名称" colWidth="3" filter="contains">
<EF:EFOption label="全部" value=""/>
<EF:EFOption label="全部" value=""/>
<EF:EFOptions blockId="company
B
ox_block_id" textField="textField" valueField="valueField"/>
<EF:EFOptions blockId="company
_record_b
ox_block_id" textField="textField" valueField="valueField"/>
</EF:EFSelect>
</EF:EFSelect>
<%--<EF:EFSelect blockId="inqu_status" row="0" ename="processCode" cname="工序名称" colWidth="3" filter="contains">
<%--<EF:EFSelect blockId="inqu_status" row="0" ename="processCode" cname="工序名称" colWidth="3" filter="contains">
<EF:EFOption label="全部" value=""/>
<EF:EFOption label="全部" value=""/>
...
@@ -41,7 +41,7 @@
...
@@ -41,7 +41,7 @@
textField="textField" valueField="valueField"
textField="textField" valueField="valueField"
maxLength="16" width="120" required="true"
maxLength="16" width="120" required="true"
align="center" filter="contains" sort="true">
align="center" filter="contains" sort="true">
<EF:EFOptions blockId="company
B
ox_block_id" textField="textField" valueField="valueField"/>
<EF:EFOptions blockId="company
_record_b
ox_block_id" textField="textField" valueField="valueField"/>
</EF:EFComboColumn>
</EF:EFComboColumn>
<EF:EFComboColumn ename="processCode" cname="工序名称"
<EF:EFComboColumn ename="processCode" cname="工序名称"
columnTemplate="#=textField#" itemTemplate="#=textField#"
columnTemplate="#=textField#" itemTemplate="#=textField#"
...
...
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