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
f1cd8d97
Commit
f1cd8d97
authored
Oct 23, 2024
by
zhangzhen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
委外执行加工表页面开发
parent
0c54b931
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
104 additions
and
14 deletions
+104
-14
HGSC012.js
src/main/webapp/HG/SC/HGSC012.js
+0
-0
HGSC012.jsp
src/main/webapp/HG/SC/HGSC012.jsp
+104
-14
No files found.
src/main/webapp/HG/SC/HGSC012.js
View file @
f1cd8d97
This diff is collapsed.
Click to expand it.
src/main/webapp/HG/SC/HGSC012.jsp
View file @
f1cd8d97
<
%
--
Created
by
IntelliJ
IDEA
.
User:
1
Date:
2024
/
10
/
23
Time:
8:45
To
change
this
template
use
File
|
Settings
|
File
Templates
.
--
%
>
<!DOCTYPE html>
<
%@
page
import=
"com.baosight.iplat4j.core.web.threadlocal.UserSession"
%
>
<
%@
page
contentType=
"text/html;charset=UTF-8"
language=
"java"
%
>
<html>
<head>
<title>
Title
</title>
</head>
<body>
<
%@
taglib
uri=
"http://java.sun.com/jsp/jstl/core"
prefix=
"c"
%
>
<
%@
taglib
prefix=
"EF"
tagdir=
"/WEB-INF/tags/EF"
%
>
<
%
String
loginName =
UserSession.getLoginName();
%
>
<c:set
var=
"ctx"
value=
"${pageContext.request.contextPath}"
/>
<c:set
var=
"loginName"
value=
"<%=loginName%>"
/>
<script>
var
ctx
=
"${ctx}"
;
</script>
<script
src=
"${ctx}/common/js/vue-2.6.10.js"
></script>
<style>
table
{
border-color
:
#99d2ff
;
}
table
tr
{
</body>
</html>
}
table
tr
th
{
padding
:
2px
8px
;
font-size
:
.8125rem
;
color
:
#2f80ed
;
background
:
#dbefff
;
height
:
30px
;
text-align
:
center
;
}
table
tr
th
span
{
white-space
:
nowrap
;
}
table
tr
td
span
{
white-space
:
nowrap
;
}
table
tr
td
{
padding
:
0
8px
;
height
:
25px
;
}
#table-box
{
position
:
relative
;
width
:
100%
;
overflow
:
auto
;
min-height
:
100%
;
height
:
74vh
;
}
#table-box
.table-content
{
position
:
absolute
;
min-height
:
100%
;
min-width
:
100%
;
}
</style>
<EF:EFPage
title=
"委外执行加工表"
>
<EF:EFRegion
id=
"inqu"
title=
"查询条件"
>
<div
class=
"row"
>
<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:EFSelect>
<EF:EFDatePicker
blockId=
"inqu_status"
row=
"0"
ename=
"contractDate"
cname=
"委外加工日期"
role=
"date"
format=
"yyyy-MM-dd"
parseFormats=
"['yyyyMMdd']"
colWidth=
"3"
/>
<EF:EFInput
blockId=
"inqu_status"
row=
"0"
ename=
"contractCode"
cname=
"委外加工单号"
placeholder=
"模糊查询"
colWidth=
"3"
/>
<EF:EFSelect
blockId=
"inqu_status"
row=
"0"
ename=
"supCode"
cname=
"供应商名称"
colWidth=
"3"
filter=
"contains"
>
<EF:EFOption
label=
"全部"
value=
""
/>
<EF:EFOptions
blockId=
"sup_record_block_id"
textField=
"textField"
valueField=
"valueField"
/>
</EF:EFSelect>
</div>
</EF:EFRegion>
<EF:EFRegion
id=
"result"
title=
"明细信息"
>
<EF:EFGrid
blockId=
"result"
autoDraw=
"override"
isFloat=
"true"
checkMode=
"row"
>
</EF:EFGrid>
<section
id=
"table-box"
>
<section
class=
"table-content"
>
<table
border=
"1"
>
<colgroup>
<col
v-for=
"(item,k) in columns2"
:key=
"k"
>
</colgroup>
<thead>
<tr>
<th
v-for=
"(item,k) in columns"
:key=
"k"
:colspan=
"item.colspan"
>
<span>
{{item.label}}
</span>
</th>
</tr>
<tr>
<th
v-for=
"(item,k) in columns2"
:key=
"k"
>
<span>
{{item.label}}
</span>
</th>
</tr>
</thead>
<tbody>
<tr
v-for=
"(valObj,i) in list"
:key=
"i"
>
<td
v-for=
"(item,k) in columns2"
:key=
"k"
v-if=
"valObj[item.value].show"
:rowspan=
"valObj[item.value].rowspan"
>
<span>
{{valObj[item.value].value}}
</span>
</td>
</tr>
</tbody>
</table>
</section>
</section>
</EF:EFRegion>
</EF:EFPage>
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