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
be51fd2f
Commit
be51fd2f
authored
Jul 23, 2024
by
wuwenlong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
项目立项优化
parent
a815ac35
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
33 additions
and
33 deletions
+33
-33
HGSC001C.js
src/main/webapp/HG/SC/HGSC001C.js
+9
-6
HGSC001C.jsp
src/main/webapp/HG/SC/HGSC001C.jsp
+2
-5
HGSC001D.js
src/main/webapp/HG/SC/HGSC001D.js
+9
-6
HGSC001D.jsp
src/main/webapp/HG/SC/HGSC001D.jsp
+2
-5
HGSC001U.js
src/main/webapp/HG/SC/HGSC001U.js
+9
-6
HGSC001U.jsp
src/main/webapp/HG/SC/HGSC001U.jsp
+2
-5
No files found.
src/main/webapp/HG/SC/HGSC001C.js
View file @
be51fd2f
...
...
@@ -68,16 +68,19 @@ $(function () {
$
(
"#result-0-companyCode"
).
change
(
function
()
{
let
textField
=
IPLAT
.
EFSelect
.
text
(
$
(
"#result-0-companyCode"
));
$
(
"#result-0-companyName"
).
val
(
textField
);
})
let
valueField
=
IPLAT
.
EFSelect
.
value
(
$
(
"#result-0-companyCode"
));
$
(
"#result-0-subcontractCode"
).
val
(
valueField
);
$
(
"#result-0-subcontractName"
).
val
(
textField
);
});
$
(
"#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
);
// loadProjMg(IPLAT.EFSelect.value($("#result-0-subcontractCode")));
});
//
$("#result-0-subcontractCode").change(function () {
//
let textField = IPLAT.EFSelect.text($("#result-0-subcontractCode"));
//
$("#result-0-subcontractName").val(textField);
//
// loadProjMg(IPLAT.EFSelect.value($("#result-0-subcontractCode")));
//
});
$
(
"#result-0-genralContractCode"
).
change
(
function
()
{
let
textField
=
IPLAT
.
EFSelect
.
text
(
$
(
"#result-0-genralContractCode"
));
$
(
"#result-0-genralContractName"
).
val
(
textField
);
...
...
src/main/webapp/HG/SC/HGSC001C.jsp
View file @
be51fd2f
...
...
@@ -21,11 +21,8 @@
</EF:EFCascadeSelect>
</div>
<div
class=
"row"
>
<EF:EFInput
ename=
"result-0-subcontractName"
cname=
"乙方名称"
type=
"hidden"
/>
<EF:EFSelect
cname=
"乙方"
ename=
"result-0-subcontractCode"
colWidth=
"4"
required=
"true"
filter=
"contains"
>
<EF:EFOption
label=
"-- 请选择 --"
value=
""
/>
<EF:EFOptions
blockId=
"roleCompany"
valueField=
"companyCode"
textField=
"companyName"
/>
</EF:EFSelect>
<EF:EFInput
ename=
"result-0-subcontractName"
cname=
"乙方"
colWidth=
"4"
required=
"true"
readonly=
"true"
/>
<EF:EFInput
ename=
"result-0-subcontractCode"
cname=
"乙方名称"
type=
"hidden"
/>
<EF:EFInput
ename=
"result-0-genralContractName"
cname=
"甲方名称"
type=
"hidden"
/>
<EF:EFCascadeSelect
cascadeFrom=
"result-0-subcontractCode"
cname=
"甲方"
ename=
"result-0-genralContractCode"
colWidth=
"4"
required=
"true"
filter=
"contains"
defaultValue=
""
...
...
src/main/webapp/HG/SC/HGSC001D.js
View file @
be51fd2f
...
...
@@ -52,16 +52,19 @@ $(function () {
$
(
"#result-0-companyCode"
).
change
(
function
()
{
let
textField
=
IPLAT
.
EFSelect
.
text
(
$
(
"#result-0-companyCode"
));
$
(
"#result-0-companyName"
).
val
(
textField
);
})
let
valueField
=
IPLAT
.
EFSelect
.
value
(
$
(
"#result-0-companyCode"
));
$
(
"#result-0-subcontractCode"
).
val
(
valueField
);
$
(
"#result-0-subcontractName"
).
val
(
textField
);
});
$
(
"#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
);
// loadProjMg(IPLAT.EFSelect.value($("#result-0-subcontractCode")));
});
//
$("#result-0-subcontractCode").change(function () {
//
let textField = IPLAT.EFSelect.text($("#result-0-subcontractCode"));
//
$("#result-0-subcontractName").val(textField);
//
// loadProjMg(IPLAT.EFSelect.value($("#result-0-subcontractCode")));
//
});
$
(
"#result-0-genralContractCode"
).
change
(
function
()
{
let
textField
=
IPLAT
.
EFSelect
.
text
(
$
(
"#result-0-genralContractCode"
));
$
(
"#result-0-genralContractName"
).
val
(
textField
);
...
...
src/main/webapp/HG/SC/HGSC001D.jsp
View file @
be51fd2f
...
...
@@ -21,11 +21,8 @@
</EF:EFCascadeSelect>
</div>
<div
class=
"row"
>
<EF:EFInput
ename=
"result-0-subcontractName"
cname=
"乙方名称"
type=
"hidden"
/>
<EF:EFSelect
cname=
"乙方"
ename=
"result-0-subcontractCode"
colWidth=
"4"
required=
"true"
filter=
"contains"
>
<EF:EFOption
label=
"-- 请选择 --"
value=
""
/>
<EF:EFOptions
blockId=
"roleCompany"
valueField=
"companyCode"
textField=
"companyName"
/>
</EF:EFSelect>
<EF:EFInput
ename=
"result-0-subcontractName"
cname=
"乙方"
colWidth=
"4"
required=
"true"
readonly=
"true"
/>
<EF:EFInput
ename=
"result-0-subcontractCode"
cname=
"乙方名称"
type=
"hidden"
/>
<EF:EFInput
ename=
"result-0-genralContractName"
cname=
"甲方名称"
type=
"hidden"
/>
<EF:EFCascadeSelect
cascadeFrom=
"result-0-subcontractCode"
cname=
"甲方"
ename=
"result-0-genralContractCode"
colWidth=
"4"
required=
"true"
filter=
"contains"
defaultValue=
""
...
...
src/main/webapp/HG/SC/HGSC001U.js
View file @
be51fd2f
...
...
@@ -63,16 +63,19 @@ $(function () {
$
(
"#result-0-companyCode"
).
change
(
function
()
{
let
textField
=
IPLAT
.
EFSelect
.
text
(
$
(
"#result-0-companyCode"
));
$
(
"#result-0-companyName"
).
val
(
textField
);
})
let
valueField
=
IPLAT
.
EFSelect
.
value
(
$
(
"#result-0-companyCode"
));
$
(
"#result-0-subcontractCode"
).
val
(
valueField
);
$
(
"#result-0-subcontractName"
).
val
(
textField
);
});
$
(
"#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
);
// loadProjMg(IPLAT.EFSelect.value($("#result-0-subcontractCode")));
});
//
$("#result-0-subcontractCode").change(function () {
//
let textField = IPLAT.EFSelect.text($("#result-0-subcontractCode"));
//
$("#result-0-subcontractName").val(textField);
//
// loadProjMg(IPLAT.EFSelect.value($("#result-0-subcontractCode")));
//
});
$
(
"#result-0-genralContractCode"
).
change
(
function
()
{
let
textField
=
IPLAT
.
EFSelect
.
text
(
$
(
"#result-0-genralContractCode"
));
$
(
"#result-0-genralContractName"
).
val
(
textField
);
...
...
src/main/webapp/HG/SC/HGSC001U.jsp
View file @
be51fd2f
...
...
@@ -23,11 +23,8 @@
</EF:EFCascadeSelect>
</div>
<div
class=
"row"
>
<EF:EFInput
ename=
"result-0-subcontractName"
cname=
"乙方名称"
type=
"hidden"
/>
<EF:EFSelect
cname=
"乙方"
ename=
"result-0-subcontractCode"
colWidth=
"4"
required=
"true"
filter=
"contains"
>
<EF:EFOption
label=
"-- 请选择 --"
value=
""
/>
<EF:EFOptions
blockId=
"roleCompany"
valueField=
"companyCode"
textField=
"companyName"
/>
</EF:EFSelect>
<EF:EFInput
ename=
"result-0-subcontractName"
cname=
"乙方"
colWidth=
"4"
required=
"true"
readonly=
"true"
/>
<EF:EFInput
ename=
"result-0-subcontractCode"
cname=
"乙方名称"
type=
"hidden"
/>
<EF:EFInput
ename=
"result-0-genralContractName"
cname=
"甲方名称"
type=
"hidden"
/>
<EF:EFCascadeSelect
cascadeFrom=
"result-0-subcontractCode"
cname=
"甲方"
ename=
"result-0-genralContractCode"
colWidth=
"4"
required=
"true"
filter=
"contains"
defaultValue=
""
...
...
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