Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
JSH ERP
Commits
b50878c7
Commit
b50878c7
authored
Mar 05, 2017
by
季圣华
Browse files
更新单据列表的操作按钮的样式
parent
d7d2b55a
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/main/webapp/css/common.css
View file @
b50878c7
<!
--页面展示特殊要求--
>
<!
--页面展示特殊要求--
>
.datagrid-body
,
.datagrid-footer
,
.datagrid-pager
,
.datagrid-view
.datagrid-body
,
.datagrid-footer
,
.datagrid-pager
,
.datagrid-view
{
{
background-color
:
#EAF2FD
;
background-color
:
#EAF2FD
;
}
}
...
@@ -8,4 +7,19 @@
...
@@ -8,4 +7,19 @@
width
:
60px
;
width
:
60px
;
float
:
left
;
float
:
left
;
padding
:
5px
;
padding
:
5px
;
}
#tablePanel
.action-show
{
background
:
url('../js/easyui-1.3.5/themes/icons/list.png')
no-repeat
left
center
;
padding
:
0
8px
0
20px
;
}
#tablePanel
.action-edit
{
background
:
url('../js/easyui-1.3.5/themes/icons/pencil.png')
no-repeat
left
center
;
padding
:
0
8px
0
20px
;
}
#tablePanel
.action-delete
{
background
:
url('../js/easyui-1.3.5/themes/icons/edit_remove.png')
no-repeat
left
center
;
padding-left
:
20px
;
}
}
\ No newline at end of file
src/main/webapp/js/pages/materials/in_out.js
View file @
b50878c7
...
@@ -315,9 +315,9 @@
...
@@ -315,9 +315,9 @@
+
'
AaBb
'
+
rec
.
AccountName
+
'
AaBb
'
+
rec
.
TotalPrice
+
'
AaBb
'
+
rec
.
AllocationProjectId
+
'
AaBb
'
+
rec
.
AllocationProjectName
;
+
'
AaBb
'
+
rec
.
AccountName
+
'
AaBb
'
+
rec
.
TotalPrice
+
'
AaBb
'
+
rec
.
AllocationProjectId
+
'
AaBb
'
+
rec
.
AllocationProjectName
;
if
(
1
==
value
)
if
(
1
==
value
)
{
{
str
+=
'
<
img src="
'
+
path
+
'
/js/easyui-1.3.5/themes/icons/list.png" style="cursor: pointer;" onclick="showDepotHead(
\'
'
+
rowInfo
+
'
\'
);"/> <
a onclick="showDepotHead(
\'
'
+
rowInfo
+
'
\'
);" style="text-decoration:none;color:black;" href="javascript:void(0)">
查看</a>
'
;
str
+=
'
<a onclick="showDepotHead(
\'
'
+
rowInfo
+
'
\'
);" style="text-decoration:none;color:black;" href="javascript:void(0)">
<span class="action-show">查看</span></a>
'
;
str
+=
'
<
img src="
'
+
path
+
'
/js/easyui-1.3.5/themes/icons/pencil.png" style="cursor: pointer;" onclick="editDepotHead(
\'
'
+
rowInfo
+
'
\'
);"/> <
a onclick="editDepotHead(
\'
'
+
rowInfo
+
'
\'
);" style="text-decoration:none;color:black;" href="javascript:void(0)">
编辑</a>
'
;
str
+=
'
<a onclick="editDepotHead(
\'
'
+
rowInfo
+
'
\'
);" style="text-decoration:none;color:black;" href="javascript:void(0)">
<span class="action-edit">编辑</span></a>
'
;
str
+=
'
<
img src="
'
+
path
+
'
/js/easyui-1.3.5/themes/icons/edit_remove.png" style="cursor: pointer;" onclick="deleteDepotHead(
'
+
rec
.
Id
+
'
);"/> <
a onclick="deleteDepotHead(
'
+
rec
.
Id
+
'
);" style="text-decoration:none;color:black;" href="javascript:void(0)">
删除
</a>
'
;
str
+=
'
<a onclick="deleteDepotHead(
'
+
rec
.
Id
+
'
);" style="text-decoration:none;color:black;" href="javascript:void(0)">
<span class="action-delete">删除</span>
</a>
'
;
}
}
return
str
;
return
str
;
}
}
...
...
Write
Preview
Supports
Markdown
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