列表修改

This commit is contained in:
2020-06-09 20:11:02 +08:00
parent 5e7214345f
commit f48ab07f2f
6 changed files with 13 additions and 17 deletions

View File

@ -6,17 +6,17 @@ function initGrid(){
if(val == 1) return '代快付';
else return '代慢付'
}},
{title:'金额', name:'title' ,width:200,renderer: function(val,item,rowIndex){
{title:'金额', name:'num' ,width:200,renderer: function(val,item,rowIndex){
if(item.changeType!=1){
val = '-'+val;
}
return "¥"+val;
}},
{title:'创建时间', name:'create_time' ,width:120,sortable:true},
{title:'时间', name:'createTime' ,width:120,sortable:true},
];
mmg = $('.mmg').mmGrid({height: h-85,indexCol: true, cols: cols,method:'POST',checkCol:true,multiSelect:true,
url: WST.U('admin/logSysData/pageQuery?type=1'), fullWidthRows: true, autoLoad: true,remoteSort: true,
mmg = $('.mmg').mmGrid({height: h-85,indexCol: true, cols: cols,method:'POST',checkCol:false,multiSelect:true,
url: WST.U('admin/log_sys_data/pageQuery','type=1'), fullWidthRows: true, autoLoad: true,remoteSort: true,
plugins: [
$('#pg').mmPaginator({})
]