|
|
@@ -219,7 +219,11 @@ |
|
|
|
}, |
|
|
|
date: function (value) { |
|
|
|
var date = new Date(value); |
|
|
|
return date.toLocaleDateString(); |
|
|
|
if (date instanceof Date && !isNaN(date.getTime())) { |
|
|
|
return date.toLocaleDateString(); |
|
|
|
} else { |
|
|
|
return ''; |
|
|
|
} |
|
|
|
}, |
|
|
|
nationalityNo: function (value) { |
|
|
|
var result; |
|
|
@@ -236,7 +240,7 @@ |
|
|
|
var result; |
|
|
|
top.learun.clientdata.getAsync('dataItem', { |
|
|
|
key: value, |
|
|
|
code: 'BCdPartyFace', |
|
|
|
code: 'PolityStatus', |
|
|
|
callback: function (_data) { |
|
|
|
result = _data.text; |
|
|
|
} |
|
|
@@ -461,7 +465,11 @@ |
|
|
|
}, |
|
|
|
date: function (value) { |
|
|
|
var date = new Date(value); |
|
|
|
return date.toLocaleDateString(); |
|
|
|
if (date instanceof Date && !isNaN(date.getTime())) { |
|
|
|
return date.toLocaleDateString(); |
|
|
|
} else { |
|
|
|
return ''; |
|
|
|
} |
|
|
|
}, |
|
|
|
company: function (value) { |
|
|
|
var result; |
|
|
@@ -491,7 +499,7 @@ |
|
|
|
var result; |
|
|
|
top.learun.clientdata.getAsync('dataItem', { |
|
|
|
key: value, |
|
|
|
code: 'BCdPartyFace', |
|
|
|
code: 'PolityStatus', |
|
|
|
callback: function (_data) { |
|
|
|
result = _data.text; |
|
|
|
} |
|
|
|