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
3c985027
Commit
3c985027
authored
Oct 24, 2024
by
zhangzhen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
委外执行加工表页面细节优化
parent
9ec270dd
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
2 deletions
+13
-2
HGSC012.js
src/main/webapp/HG/SC/HGSC012.js
+8
-1
HGSC012.jsp
src/main/webapp/HG/SC/HGSC012.jsp
+5
-1
No files found.
src/main/webapp/HG/SC/HGSC012.js
View file @
3c985027
...
...
@@ -143,7 +143,14 @@ $(function () {
onSuccess
:
(
res
)
=>
{
if
(
res
.
extAttr
.
result
&&
res
.
extAttr
.
result
.
length
){
that
.
list
=
[];
let
list
=
res
.
extAttr
.
result
.
map
(
item
=>
{
let
list
=
res
.
extAttr
.
result
.
map
(
item
=>
{
return
{
...
item
,
contractDate
:
item
.
contractDate
?
dayjs
(
item
.
contractDate
).
format
(
'YYYY-MM-DD'
):
''
,
outDate
:
item
.
outDate
?
dayjs
(
item
.
outDate
).
format
(
'YYYY-MM-DD'
):
''
,
depositDate
:
item
.
depositDate
?
dayjs
(
item
.
depositDate
).
format
(
'YYYY-MM-DD'
):
''
}
}).
map
(
item
=>
{
let
obj
=
{}
that
.
columns2
.
forEach
(
val
=>
{
obj
[
val
.
value
]
=
{
...
...
src/main/webapp/HG/SC/HGSC012.jsp
View file @
3c985027
...
...
@@ -11,6 +11,7 @@
<script>
var
ctx
=
"${ctx}"
;
</script>
<script
src=
"${ctx}/common/js/dayjs.min.js"
></script>
<script
src=
"${ctx}/common/js/vue-2.6.10.js"
></script>
<style>
table
{
...
...
@@ -49,6 +50,9 @@
min-height
:
100%
;
min-width
:
100%
;
}
.bg-blue
{
background-color
:
#eff8ff
;
}
</style>
<EF:EFPage
title=
"委外执行加工表"
>
<EF:EFRegion
id=
"inqu"
title=
"查询条件"
>
...
...
@@ -92,7 +96,7 @@
</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"
>
<td
v-for=
"(item,k) in columns2"
:key=
"k"
v-if=
"valObj[item.value].show"
:rowspan=
"valObj[item.value].rowspan"
:class=
"i/2%1?'bg-blue':''"
>
<span>
{{valObj[item.value].value}}
</span>
</td>
</tr>
...
...
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