diff --git a/app/admin/view/Goods/goodslist.html b/app/admin/view/Goods/goodslist.html index f729fcd..f8a3c27 100755 --- a/app/admin/view/Goods/goodslist.html +++ b/app/admin/view/Goods/goodslist.html @@ -187,6 +187,12 @@ } columns.push({ field: 'sort', title: '排序', minWidth: 80, edit: 'text' }); + columns.push({ field: 'addtime', title: '添加时间', minWidth: 150, templet: function(d){ + return d.addtime ? new Date(d.addtime * 1000).toLocaleString() : ''; + }}); + columns.push({ field: 'update_time', title: '更新时间', minWidth: 150, templet: function(d){ + return d.update_time ? new Date(d.update_time * 1000).toLocaleString() : ''; + }}); columns.push({ title: '操作', toolbar: '#operationTpl', minWidth: 210, fixed: 'right' }); // 渲染表格