|
|
@@ -94,12 +94,15 @@ $('#dataGrid').dataGrid({
|
|
|
{header:'${text("报检人")}', name:'createBy', index:'a.create_by', width:120, align:"center"},
|
|
|
{header:'${text("报检时间")}', name:'createDate', index:'a.create_date', width:150, align:"center"},
|
|
|
{header:'${text("更新日期")}', name:'updateDate', index:'a.update_date', width:150, align:"center"},
|
|
|
- {header:'${text("操作")}', name:'actions', width:80, formatter: function(val, obj, row, act){
|
|
|
+ {header:'${text("操作")}', name:'actions', width:110, formatter: function(val, obj, row, act){
|
|
|
var actions = [];
|
|
|
//<% if(hasPermi('mes:mesMaterialReport:edit')){ %>
|
|
|
actions.push('<a href="${ctx}/mes/mesMaterialReport/form?id='+row.id+'" class="btnList" title="${text("编辑来料报检")}"><i class="fa fa-pencil"></i></a> ');
|
|
|
actions.push('<a href="${ctx}/mes/mesMaterialReport/delete?id='+row.id+'" class="btnList" title="${text("删除来料报检")}" data-confirm="${text("确认要删除该来料报检吗?")}"><i class="fa fa-trash-o"></i></a> ');
|
|
|
//<% } %>
|
|
|
+ //<% if(hasPermi('mes:mesMaterialCheckRecord:view')){ %>
|
|
|
+ actions.push('<a href="${ctx}/mes/mesMaterialCheckRecord/form?sn='+encodeURIComponent(row.sn||'')+'" class="btnList" title="${text("来料检查")}"><i class="fa fa-check-square-o"></i></a> ');
|
|
|
+ //<% } %>
|
|
|
return actions.join('');
|
|
|
}}
|
|
|
],
|