فهرست منبع

财务账面,父项计算

MaiXinRong 1 روز پیش
والد
کامیت
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;