优化商品库存明细里的时间格式

This commit is contained in:
季圣华
2020-04-01 23:13:23 +08:00
parent 2879aa1d94
commit 86c6ebe110
3 changed files with 29 additions and 2 deletions

View File

@@ -586,7 +586,9 @@
},
{title: '类型', field: 'Type', width: 100},
{title: '数量', field: 'BasicNumber', width: 80},
{title: '日期', field: 'OperTime', width: 180}
{title: '日期', field: 'OperTime', width: 180, formatter: function (value) {
return formatTime(value, 'Y-M-D h:m:s');
}}
]],
onLoadError: function () {
$.messager.alert('页面加载提示', '页面加载异常,请稍后再试!', 'error');