|
@@ -880,10 +880,11 @@ let rptSignatureHelper = {
|
|
|
for (const page of pageData.items) {
|
|
|
if (page.signature_date_cells) {
|
|
|
for (const sCell of page.signature_date_cells) {
|
|
|
- // if (sCell.Value === undefined || sCell.Value === null && sCell.Value === '') {
|
|
|
- // sCell.Value = _getSignDateDftName();
|
|
|
- // }
|
|
|
- sCell.Value = '';
|
|
|
+ if (typeof sCell.Value === 'string' && sCell.Value.replace(/ /g, '') === '年月日') {
|
|
|
+ sCell.Value = _getSignDateDftName();
|
|
|
+ } else {
|
|
|
+ sCell.Value = '';
|
|
|
+ }
|
|
|
for (const role_rel of currRoleRelList) {
|
|
|
if (sCell.signature_name === role_rel.signature_name + '_签字日期') {
|
|
|
if (!checkAudit || rptSignatureHelper._chkIfAudit(role_rel)) {
|