|
|
@@ -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;
|