更新单据列表的操作按钮的样式
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
<!--页面展示特殊要求-->
|
||||
.datagrid-body,.datagrid-footer,.datagrid-pager ,.datagrid-view
|
||||
{
|
||||
.datagrid-body,.datagrid-footer,.datagrid-pager ,.datagrid-view {
|
||||
background-color:#EAF2FD;
|
||||
}
|
||||
|
||||
@@ -8,4 +7,19 @@
|
||||
width:60px;
|
||||
float:left;
|
||||
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;
|
||||
}
|
||||
@@ -315,9 +315,9 @@
|
||||
+ 'AaBb' + rec.AccountName + 'AaBb' + rec.TotalPrice + 'AaBb' + rec.AllocationProjectId + 'AaBb' + rec.AllocationProjectName;
|
||||
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 += '<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 += '<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="showDepotHead(\'' + rowInfo + '\');" style="text-decoration:none;color:black;" href="javascript:void(0)"><span class="action-show">查看</span></a>';
|
||||
str += '<a onclick="editDepotHead(\'' + rowInfo + '\');" style="text-decoration:none;color:black;" href="javascript:void(0)"><span class="action-edit">编辑</span></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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user