|
@@ -880,7 +880,7 @@ let rptSignatureHelper = {
|
|
|
if (currRoleRelList && currRoleRelList.length > 0 && STAGE_AUDIT && STAGE_AUDIT.length > 0) {
|
|
|
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 === '') {
|
|
|
+ if (role_rel.sign_date === undefined || role_rel.sign_date === null || role_rel.sign_date === '' || this._chkIfOrgRpt(role_rel.acc_id)) {
|
|
|
let dftDate = _getSignDateByAllScenarios(role_rel.acc_id);
|
|
|
if (dftDate !== '' && dftDate.length >= 10) {
|
|
|
dftDate = new Date(dftDate); // 不Format,保留时分秒
|
|
@@ -987,12 +987,12 @@ let rptSignatureHelper = {
|
|
|
// rst = true; //测试,未来将屏蔽
|
|
|
return rst;
|
|
|
},
|
|
|
- _chkIfOrgRpt: function(role_rel) {
|
|
|
+ _chkIfOrgRpt: function(acc_id) {
|
|
|
// 检测是否原报
|
|
|
let rst = false;
|
|
|
for (const stg of STAGE_LIST) {
|
|
|
if (stg.id === current_stage_id) {
|
|
|
- if (stg.user_id === role_rel.acc_id) {
|
|
|
+ if (stg.user_id === acc_id) {
|
|
|
rst = true;
|
|
|
}
|
|
|
break;
|