|
@@ -736,7 +736,12 @@ function initSummarizingTable() {
|
|
|
index: 'confirmTime',
|
|
|
align: 'center',
|
|
|
width: 40,
|
|
|
- formatter: "date", formatoptions: {srcformat: 'Y-m-d H:i:s', newformat: 'Y-m-d H:i:s'},
|
|
|
+ formatter: function (cellvalue, options, rowObject) {
|
|
|
+ if (!isEmpty(cellvalue)) {
|
|
|
+ return format(cellvalue, "yyyy-MM-dd HH:mm:ss");
|
|
|
+ }
|
|
|
+ return "";
|
|
|
+ },
|
|
|
hidden: groupNo === '81' ? true : false
|
|
|
},
|
|
|
{name: 'serial', index: 'serial', align: 'center', width: 40, hidden: true},
|
|
@@ -937,7 +942,12 @@ function initDetailTable() {
|
|
|
index: 'confirmTime',
|
|
|
align: 'center',
|
|
|
width: 40,
|
|
|
- formatter: "date", formatoptions: {srcformat: 'Y-m-d H:i:s', newformat: 'Y-m-d H:i:s'}
|
|
|
+ formatter: function (cellvalue, options, rowObject) {
|
|
|
+ if (!isEmpty(cellvalue)) {
|
|
|
+ return format(cellvalue, "yyyy-MM-dd HH:mm:ss");
|
|
|
+ }
|
|
|
+ return "";
|
|
|
+ }
|
|
|
},
|
|
|
{name: 'frequCode', index: 'frequCode', align: 'center', width: 40, hidden: true},
|
|
|
{name: 'dose', index: 'dose', align: 'center', width: 40, hidden: true},
|