Przeglądaj źródła

审批通过bug

MaiXinRong 1 miesiąc temu
rodzic
commit
28569b9977
1 zmienionych plików z 1 dodań i 0 usunięć
  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;