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
3f96edd4
Commit
3f96edd4
authored
Oct 26, 2024
by
zhangzhen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新表格模式页面查询条件优化
parent
148edc12
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
6 deletions
+14
-6
HGSC013.js
src/main/webapp/HG/SC/HGSC013.js
+14
-5
HGSC013.jsp
src/main/webapp/HG/SC/HGSC013.jsp
+0
-1
No files found.
src/main/webapp/HG/SC/HGSC013.js
View file @
3f96edd4
$
(
function
()
{
$
(
function
()
{
let
inInfo
=
new
EiInfo
();
$
(
"#QUERY"
).
on
(
"click"
,
()
=>
{
$
(
"#QUERY"
).
on
(
"click"
,
()
=>
{
inInfo
.
set
(
"inqu_status-0-companyCode"
,
$
(
"#inqu_status-0-companyCode"
).
val
());
inInfo
.
set
(
"inqu_status-0-contractDate"
,
$
(
"#inqu_status-0-projName"
).
val
())
inInfo
.
set
(
"inqu_status-0-contractCode"
,
$
(
"#inqu_status-0-productName"
).
val
())
vue
.
onLoading
()
vue
.
onLoading
()
});
});
...
@@ -170,11 +167,15 @@ $(function () {
...
@@ -170,11 +167,15 @@ $(function () {
}
}
},
},
mounted
(){
mounted
(){
this
.
onLoading
();
},
},
methods
:{
methods
:{
onLoading
(){
onLoading
(){
let
that
=
this
;
let
that
=
this
;
let
inInfo
=
new
EiInfo
();
inInfo
.
set
(
"inqu_status-0-companyCode"
,
$
(
"#inqu_status-0-companyCode"
).
val
());
inInfo
.
set
(
"inqu_status-0-contractDate"
,
$
(
"#inqu_status-0-projName"
).
val
())
inInfo
.
set
(
"inqu_status-0-contractCode"
,
$
(
"#inqu_status-0-productName"
).
val
())
IPLAT
.
EiCommunicator
.
send
(
'HGSC013'
,
'query'
,
inInfo
,
{
IPLAT
.
EiCommunicator
.
send
(
'HGSC013'
,
'query'
,
inInfo
,
{
onSuccess
:
(
res
)
=>
{
onSuccess
:
(
res
)
=>
{
if
(
res
.
extAttr
.
result
&&
res
.
extAttr
.
result
.
length
){
if
(
res
.
extAttr
.
result
&&
res
.
extAttr
.
result
.
length
){
...
@@ -306,6 +307,8 @@ $(function () {
...
@@ -306,6 +307,8 @@ $(function () {
arr1
.
forEach
(
item
=>
{
arr1
.
forEach
(
item
=>
{
that
.
list
.
push
(...
item
);
that
.
list
.
push
(...
item
);
})
})
}
else
{
that
.
list
=
[]
}
}
},
},
onFail
:
(
err
)
=>
{
onFail
:
(
err
)
=>
{
...
@@ -318,6 +321,12 @@ $(function () {
...
@@ -318,6 +321,12 @@ $(function () {
}
}
}
}
})
})
$
(
window
).
load
(
function
()
{
// 查
vue
.
onLoading
()
});
});
});
src/main/webapp/HG/SC/HGSC013.jsp
View file @
3f96edd4
...
@@ -66,7 +66,6 @@
...
@@ -66,7 +66,6 @@
<EF:EFRegion id="inqu" title="查询条件">
<EF:EFRegion id="inqu" title="查询条件">
<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:EFOptions blockId="roleCompany" textField="companyName" valueField="companyCode"/>
<EF:EFOptions blockId="roleCompany" textField="companyName" valueField="companyCode"/>
</EF:EFSelect>
</EF:EFSelect>
<%-- <EF:EFDatePicker blockId="inqu_status" row="0" ename="contractDate" cname="委外加工日期" role="date" format="yyyy-MM-dd" parseFormats="['yyyyMMdd']" colWidth="3"/>--%>
<%-- <EF:EFDatePicker blockId="inqu_status" row="0" ename="contractDate" cname="委外加工日期" role="date" format="yyyy-MM-dd" parseFormats="['yyyyMMdd']" colWidth="3"/>--%>
...
...
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