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
4cdf1ce0
Commit
4cdf1ce0
authored
Aug 01, 2024
by
liuyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2024-08-01 项目立项新增修改不再选择部门
parent
4af9b530
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
15 additions
and
14 deletions
+15
-14
ServiceHGSC001.java
.../java/com/baosight/hggp/hg/sc/service/ServiceHGSC001.java
+1
-1
HGSC001C.js
src/main/webapp/HG/SC/HGSC001C.js
+2
-2
HGSC001C.jsp
src/main/webapp/HG/SC/HGSC001C.jsp
+3
-3
HGSC001D.js
src/main/webapp/HG/SC/HGSC001D.js
+2
-2
HGSC001D.jsp
src/main/webapp/HG/SC/HGSC001D.jsp
+2
-2
HGSC001U.js
src/main/webapp/HG/SC/HGSC001U.js
+2
-2
HGSC001U.jsp
src/main/webapp/HG/SC/HGSC001U.jsp
+3
-2
No files found.
src/main/java/com/baosight/hggp/hg/sc/service/ServiceHGSC001.java
View file @
4cdf1ce0
...
...
@@ -142,7 +142,7 @@ public class ServiceHGSC001 extends ServiceBase {
AssertUtils
.
isEmpty
(
UserSessionUtils
.
getAccountCode
(),
"当前用户未绑定公司,无法操作数据,请联系管理员!"
);
AssertUtils
.
isEmpty
(
UserSessionUtils
.
getOrgId
(),
"当前用户未绑定部门,无法操作数据,请联系管理员!"
);
AssertUtils
.
isEmpty
(
hgsc001
.
getCompanyCode
(),
"请选择公司!"
);
AssertUtils
.
isEmpty
(
hgsc001
.
getDepCode
(),
"请选择部门!"
);
//
AssertUtils.isEmpty(hgsc001.getDepCode(), "请选择部门!");
AssertUtils
.
isEmpty
(
hgsc001
.
getSubcontractCode
(),
"请选择分包方!"
);
AssertUtils
.
isEmpty
(
hgsc001
.
getGenralContractCode
(),
"请选择总包方!"
);
AssertUtils
.
isEmpty
(
hgsc001
.
getProjCode
(),
"请填写项目编号!"
);
...
...
src/main/webapp/HG/SC/HGSC001C.js
View file @
4cdf1ce0
...
...
@@ -72,10 +72,10 @@ $(function () {
$
(
"#result-0-subcontractCode"
).
val
(
valueField
);
$
(
"#result-0-subcontractName"
).
val
(
textField
);
});
$
(
"#result-0-depCode"
).
change
(
function
()
{
/*
$("#result-0-depCode").change(function () {
let textField = IPLAT.EFSelect.text($("#result-0-depCode"));
$("#result-0-depName").val(textField);
});
});
*/
// $("#result-0-subcontractCode").change(function () {
// let textField = IPLAT.EFSelect.text($("#result-0-subcontractCode"));
// $("#result-0-subcontractName").val(textField);
...
...
src/main/webapp/HG/SC/HGSC001C.jsp
View file @
4cdf1ce0
...
...
@@ -13,12 +13,12 @@
<EF:EFOption
label=
"-- 请选择 --"
value=
""
/>
<EF:EFOptions
blockId=
"roleCompany"
valueField=
"companyCode"
textField=
"companyName"
/>
</EF:EFSelect>
<EF:EFInput
ename=
"result-0-depName"
cname=
"部门名称"
type=
"hidden"
/>
<EF:EFCascadeSelect
cascadeFrom=
"result-0-companyCode"
cname=
"部门"
ename=
"result-0-depCode"
<
%
--
<
EF:EFInput
ename=
"result-0-depName"
cname=
"部门名称"
type=
"hidden"
/>
<EF:EFCascadeSelect
cascadeFrom=
"result-0-companyCode"
cname=
"部门"
ename=
"result-0-depCode"
type=
"hidden"
colWidth=
"4"
required=
"true"
filter=
"contains"
defaultValue=
""
serviceName=
"HGSC001"
methodName=
"depByCompanyComboBox"
resultId=
"depByCompany"
textField=
"depName"
valueField=
"depCode"
>
</EF:EFCascadeSelect>
</EF:EFCascadeSelect>
--%>
</div>
<div
class=
"row"
>
<EF:EFInput
ename=
"result-0-subcontractName"
cname=
"乙方"
colWidth=
"4"
required=
"true"
readonly=
"true"
/>
...
...
src/main/webapp/HG/SC/HGSC001D.js
View file @
4cdf1ce0
...
...
@@ -56,10 +56,10 @@ $(function () {
$
(
"#result-0-subcontractCode"
).
val
(
valueField
);
$
(
"#result-0-subcontractName"
).
val
(
textField
);
});
$
(
"#result-0-depCode"
).
change
(
function
()
{
/*
$("#result-0-depCode").change(function () {
let textField = IPLAT.EFSelect.text($("#result-0-depCode"));
$("#result-0-depName").val(textField);
});
});
*/
// $("#result-0-subcontractCode").change(function () {
// let textField = IPLAT.EFSelect.text($("#result-0-subcontractCode"));
// $("#result-0-subcontractName").val(textField);
...
...
src/main/webapp/HG/SC/HGSC001D.jsp
View file @
4cdf1ce0
...
...
@@ -13,12 +13,12 @@
<EF:EFOption
label=
"-- 请选择 --"
value=
""
/>
<EF:EFOptions
blockId=
"roleCompany"
valueField=
"companyCode"
textField=
"companyName"
/>
</EF:EFSelect>
<EF:EFInput
ename=
"result-0-depName"
cname=
"部门名称"
type=
"hidden"
/>
<
%
--
<
EF:EFInput
ename=
"result-0-depName"
cname=
"部门名称"
type=
"hidden"
/>
<EF:EFCascadeSelect
cascadeFrom=
"result-0-companyCode"
cname=
"部门"
ename=
"result-0-depCode"
colWidth=
"4"
required=
"true"
filter=
"contains"
defaultValue=
""
serviceName=
"HGSC001"
methodName=
"depByCompanyComboBox"
resultId=
"depByCompany"
textField=
"depName"
valueField=
"depCode"
>
</EF:EFCascadeSelect>
</EF:EFCascadeSelect>
--%>
</div>
<div
class=
"row"
>
<EF:EFInput
ename=
"result-0-subcontractName"
cname=
"乙方"
colWidth=
"4"
required=
"true"
readonly=
"true"
/>
...
...
src/main/webapp/HG/SC/HGSC001U.js
View file @
4cdf1ce0
...
...
@@ -67,10 +67,10 @@ $(function () {
$
(
"#result-0-subcontractCode"
).
val
(
valueField
);
$
(
"#result-0-subcontractName"
).
val
(
textField
);
});
$
(
"#result-0-depCode"
).
change
(
function
()
{
/*
$("#result-0-depCode").change(function () {
let textField = IPLAT.EFSelect.text($("#result-0-depCode"));
$("#result-0-depName").val(textField);
});
});
*/
// $("#result-0-subcontractCode").change(function () {
// let textField = IPLAT.EFSelect.text($("#result-0-subcontractCode"));
// $("#result-0-subcontractName").val(textField);
...
...
src/main/webapp/HG/SC/HGSC001U.jsp
View file @
4cdf1ce0
...
...
@@ -16,11 +16,12 @@
<EF:EFOptions
blockId=
"roleCompany"
valueField=
"companyCode"
textField=
"companyName"
/>
</EF:EFSelect>
<EF:EFInput
ename=
"result-0-depName"
cname=
"部门名称"
type=
"hidden"
/>
<EF:EFCascadeSelect
cascadeFrom=
"result-0-companyCode"
cname=
"部门"
ename=
"result-0-depCode"
<EF:EFInput
ename=
"result-0-depCode"
cname=
"部门编码"
type=
"hidden"
/>
<
%
--
<
EF:EFCascadeSelect
cascadeFrom=
"result-0-companyCode"
cname=
"部门"
ename=
"result-0-depCode"
colWidth=
"4"
required=
"true"
filter=
"contains"
defaultValue=
""
serviceName=
"HGSC001"
methodName=
"depByCompanyComboBox"
resultId=
"depByCompany"
textField=
"depName"
valueField=
"depCode"
>
</EF:EFCascadeSelect>
</EF:EFCascadeSelect>
--%>
</div>
<div
class=
"row"
>
<EF:EFInput
ename=
"result-0-subcontractName"
cname=
"乙方"
colWidth=
"4"
required=
"true"
readonly=
"true"
/>
...
...
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