|
@@ -297,7 +297,7 @@ let rptSignatureHelper = {
|
|
|
'</small></span><a onclick="rptSignatureHelper.removeSignature(this)" class="text-danger"><i class="fa fa-remove" title="移除签名"></i></a></p>');
|
|
|
},
|
|
|
pushDatePickerDom: function (elementsStrArr, userAcc, role_rel, seq = 0) {
|
|
|
- // let idSuffixStr = 'dtp_' + rptSignatureHelper.currentSelectedESignAccName + '_' + rptSignatureHelper.currentSelectedESignParentDivId;
|
|
|
+ const dateIdSuffixStr = 'dtp_' + role_rel.signature_name + '_' + rptSignatureHelper.currentSelectedESignParentDivId;
|
|
|
let milliSec = (new Date()).getMilliseconds();
|
|
|
const idSuffixStr = `dtp_${seq}_${milliSec}_${rptSignatureHelper.currentSelectedESignParentDivId}`;
|
|
|
elementsStrArr.push('<div class="mt-3">');
|
|
@@ -353,9 +353,9 @@ let rptSignatureHelper = {
|
|
|
elementsStrArr.push(' <span class="input-group-text height-inputbox" id="inputGroup-sizing-sm"><i class="fa fa-calendar" title="添加签名日期"></i></span>');
|
|
|
elementsStrArr.push(' </div>');
|
|
|
if (dftDate !== '') {
|
|
|
- elementsStrArr.push(`<input id="${idSuffixStr}" type="text" class="form-control datepicker-here height-inputbox" aria-label="Small" aria-describedby="inputGroup-sizing-sm" data-language="zh" value="${dftDate}"></input>`);
|
|
|
+ elementsStrArr.push(`<input id="${dateIdSuffixStr}" type="text" class="form-control datepicker-here height-inputbox" aria-label="Small" aria-describedby="inputGroup-sizing-sm" data-language="zh" value="${dftDate}"></input>`);
|
|
|
} else {
|
|
|
- elementsStrArr.push(`<input id="${idSuffixStr}" type="text" class="form-control datepicker-here height-inputbox" aria-label="Small" aria-describedby="inputGroup-sizing-sm" data-language="zh"></input>`);
|
|
|
+ elementsStrArr.push(`<input id="${dateIdSuffixStr}" type="text" class="form-control datepicker-here height-inputbox" aria-label="Small" aria-describedby="inputGroup-sizing-sm" data-language="zh"></input>`);
|
|
|
}
|
|
|
elementsStrArr.push('</div>');
|
|
|
//-------------------------------------------------
|