Browse Source

多期同时计量签名判断补漏

Tony Kang 10 months ago
parent
commit
483efb1cf0
1 changed files with 2 additions and 1 deletions
  1. 2 1
      app/public/report/js/rpt_signature.js

+ 2 - 1
app/public/report/js/rpt_signature.js

@@ -883,7 +883,8 @@ let rptSignatureHelper = {
             for (let rridx = 0; rridx < currRoleRelList.length; rridx++) {
                 const role_rel = currRoleRelList[rridx];
                 // if (role_rel.sign_date === undefined || role_rel.sign_date ===  null || role_rel.sign_date ===  '' || this._chkIfOrgRpt(role_rel.acc_id)) {
-                if (role_rel.sign_date === undefined || role_rel.sign_date ===  null || role_rel.sign_date ===  '') {
+                // if (role_rel.sign_date === undefined || role_rel.sign_date ===  null || role_rel.sign_date ===  '') {
+                if (role_rel.acc_id && (role_rel.sign_date === undefined || role_rel.sign_date ===  null || role_rel.sign_date ===  '')) {
                     let dftDate = _getSignDateByAllScenarios(role_rel.acc_id);
                     if (dftDate !== '' && dftDate.length >= 10) {
                         dftDate = new Date(dftDate); // 不Format,保留时分秒