|
|
@@ -213,13 +213,12 @@
|
|
|
}
|
|
|
},
|
|
|
{field:'id',title:'ID',align:'center',sortable:false,width:100,hidden:true},
|
|
|
-
|
|
|
{field: 'file_dir', title: '发货单打印', align: 'center', sortable: true, width: 200,
|
|
|
formatter: function(value,row,index){
|
|
|
- if(row.status==0){
|
|
|
+ if(row.status==0 && row.user_type == 1){
|
|
|
return "<a href='javascript:;' onclick='dayin("+row.id+")'>点击打印</a>";
|
|
|
}else{
|
|
|
- return "";
|
|
|
+ return "<a href='javascript:;'>未开通权限</a>";
|
|
|
}
|
|
|
|
|
|
}
|