MaiXinRong 2 дней назад
Родитель
Сommit
c695df1544
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      app/service/cost_stage_book_detail.js

+ 1 - 0
app/service/cost_stage_book_detail.js

@@ -164,6 +164,7 @@ module.exports = app => {
             const orgLedger = await this.ctx.service.costStageLedger.getDataById(orgDetail[0].ledger_id);
             if (bookUpdate) {
                 if (!orgBook) {
+                    bookUpdate.id = this.uuid.v4();
                     bookUpdate.tender_id = this.ctx.costStage.tid;
                     bookUpdate.stage_id = this.ctx.costStage.id;
                     bookUpdate.ledger_id = orgLedger.id;