Commit b50878c7 authored by 季圣华's avatar 季圣华
Browse files

更新单据列表的操作按钮的样式

parent d7d2b55a
<!--页面展示特殊要求--> <!--页面展示特殊要求-->
.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
...@@ -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 + '\');"/>&nbsp;<a onclick="showDepotHead(\'' + rowInfo + '\');" style="text-decoration:none;color:black;" href="javascript:void(0)">查看</a>&nbsp;&nbsp;'; 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 + '\');"/>&nbsp;<a onclick="editDepotHead(\'' + rowInfo + '\');" style="text-decoration:none;color:black;" href="javascript:void(0)">编辑</a>&nbsp;&nbsp;'; 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 +');"/>&nbsp;<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;
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment