|
@@ -145,11 +145,13 @@ let rptSignatureHelper = {
|
|
|
const elementsStrArr = [];
|
|
|
let dftDate = _getSignDateByAllScenarios(userAcc.id);
|
|
|
if (dftDate !== '' && dftDate.length >= 10) {
|
|
|
- // dftDate = (new Date(dftDate)).Format('yyyy-MM-dd');
|
|
|
dftDate = new Date(dftDate); // 不Format,保留时分秒
|
|
|
} else if (dftDate === '') {
|
|
|
- // dftDate = (new Date()).Format('yyyy-MM-dd');
|
|
|
- dftDate = new Date();
|
|
|
+ if (STAGE_ID <= -300 && STAGE_ID > -400 && BGL_OBJ && BGL_OBJ.currentBz && BGL_OBJ.currentBz.status === 3) {
|
|
|
+ dftDate = new Date(BGL_OBJ.currentBz.in_time);
|
|
|
+ } else {
|
|
|
+ dftDate = new Date();
|
|
|
+ }
|
|
|
}
|
|
|
let roleRel = null;
|
|
|
if (directAcc) {
|
|
@@ -836,11 +838,13 @@ let rptSignatureHelper = {
|
|
|
if (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('yyyy-MM-dd');
|
|
|
dftDate = new Date(dftDate); // 不Format,保留时分秒
|
|
|
} else if (dftDate === '') {
|
|
|
- // dftDate = (new Date()).Format('yyyy-MM-dd');
|
|
|
- dftDate = new Date();
|
|
|
+ if (STAGE_ID <= -300 && STAGE_ID > -400 && BGL_OBJ && BGL_OBJ.currentBz && BGL_OBJ.currentBz.status === 3) {
|
|
|
+ dftDate = new Date(BGL_OBJ.currentBz.in_time);
|
|
|
+ } else {
|
|
|
+ dftDate = new Date();
|
|
|
+ }
|
|
|
}
|
|
|
role_rel.sign_date = dftDate;
|
|
|
if (isMergeOrgAlso) {
|