记得上下班打卡 | git大法好,push需谨慎

Commit 3b144fe1 authored by sangchunxi's avatar sangchunxi

演出详情 清理默认时间占位

parent ae91ba00
......@@ -110,7 +110,7 @@
field: 'type',
title: '使用时间',
formatter: function (value, row, index) {
return $.common.dateFormat(new Date(row.useStart), 'yyyy-MM-dd HH:mm:ss') + ' - ' + $.common.dateFormat(new Date(row.useEnd), 'yyyy-MM-dd HH:mm:ss')
return row.useStart ? $.common.dateFormat(new Date(row.useStart), 'yyyy-MM-dd HH:mm:ss') + ' - ' + $.common.dateFormat(new Date(row.useEnd), 'yyyy-MM-dd HH:mm:ss') : ''
}
},
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment