Tony Kang 1 rok temu
rodzic
commit
a8312d5e08
1 zmienionych plików z 3 dodań i 3 usunięć
  1. 3 3
      app/public/report/js/rpt_signature.js

+ 3 - 3
app/public/report/js/rpt_signature.js

@@ -134,12 +134,12 @@ let rptSignatureHelper = {
             let dftDate = _getSignDateByAllScenarios(userAcc.id);
             if (dftDate !== '' && dftDate.length > 20) {
                 dftDate = (new Date(dftDate)).Format('yyyy-MM-dd');
+            } else if (dftDate === '') {
+                // dftDate = (new Date()).Format('yyyy-MM-dd');
+                dftDate = new Date();
             }
             let roleRel = null;
             if (directAcc) {
-
-              
-
                 rptSignatureHelper.pushDomElementByUser(elementsStrArr, userAcc.name, userAcc.role);
                 // 还有ROLE_REL_LIST
                 let roleRelObj = {};