|
@@ -1096,7 +1096,11 @@ let rptSignatureHelper = {
|
|
|
}
|
|
|
for (const role of currRoleRelList) {
|
|
|
const role_rel = getTheRightRole(role, pageIdx);
|
|
|
- if (role.type === '流程') rptSignatureHelper._setDftDate(role_rel, false);
|
|
|
+ // if (role.type === '流程') rptSignatureHelper._setDftDate(role_rel, false);
|
|
|
+ if (role.type === '流程') {
|
|
|
+ if (role.flowAccList[pageIdx] < 0) continue; // 没有合适的,则判断下一个
|
|
|
+ rptSignatureHelper._setDftDate(role_rel, false);
|
|
|
+ }
|
|
|
if (sCell.signature_name === role_rel.signature_name + '_签字日期') {
|
|
|
if (!checkAudit || rptSignatureHelper._chkIfAudit(role_rel)) {
|
|
|
// 如果签名者是在审核流程中并已审批通过(个人通过,非期通过),则也需要显示
|
|
@@ -1458,6 +1462,7 @@ function getTheRightRole(role, pageIdx) {
|
|
|
if (role.flowAccList && role.flowAccList.length > pageIdx) {
|
|
|
if (role.flowAccList[pageIdx] !== -1) {
|
|
|
rst = role.assFlowInfos[role.flowAccList[pageIdx]];
|
|
|
+ if (role.areaData) rst.areaData = role.areaData;
|
|
|
}
|
|
|
}
|
|
|
}
|