Explorar el Código

审批通过bug

MaiXinRong hace 1 mes
padre
commit
28569b9977
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  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;