소스 검색

审批通过bug

MaiXinRong 1 개월 전
부모
커밋
28569b9977
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      app/service/stage_pos_final.js

+ 1 - 0
app/service/stage_pos_final.js

@@ -59,6 +59,7 @@ module.exports = app => {
             }
             const cur = await this.ctx.service.stagePos.getLastestStageData2(tender.id, stage.id);
             const pre = stage.order > 1 ? await this.getFinalData(tender, stage.order - 1) : [];
+            const time = new Date();
             if ((!cur || cur.length === 0) && (!pre || pre.length === 0)) return;
             for (const c of cur) {
                 delete c.id;