|
@@ -300,7 +300,11 @@ let rptArchiveObj = {
|
|
let achivedItem = null;
|
|
let achivedItem = null;
|
|
for (let item of ARCHIVE_LIST) {
|
|
for (let item of ARCHIVE_LIST) {
|
|
if (parseInt(item.rpt_id) === currentNode.refId) {
|
|
if (parseInt(item.rpt_id) === currentNode.refId) {
|
|
- auditDate = new Date(LAST_AUDITOR.begin_time);
|
|
|
|
|
|
+ if (LAST_AUDITOR.end_time) {
|
|
|
|
+ auditDate = new Date(LAST_AUDITOR.end_time);
|
|
|
|
+ } else {
|
|
|
|
+ auditDate = new Date(LAST_AUDITOR.begin_time);
|
|
|
|
+ }
|
|
achivedAmt = item.items?item.items.length:0;
|
|
achivedAmt = item.items?item.items.length:0;
|
|
achivedItem = item;
|
|
achivedItem = item;
|
|
break;
|
|
break;
|