Browse Source

台账审批完成后,修改金额、单价小数位数,不重算台账

MaiXinRong 4 years ago
parent
commit
65d365ccb7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/service/tender_info.js

+ 1 - 1
app/service/tender_info.js

@@ -296,7 +296,7 @@ module.exports = app => {
             }
 
             let billsService = null;
-            if (this.ctx.tender.data.status === auditConst.ledger.status.checked) {
+            if (this.ctx.tender.data.ledger_status === auditConst.ledger.status.checked) {
                 const stageCount = this.ctx.service.stage.count({tid: tenderId});
                 if (stageCount === 0) {
                     const revise = await ctx.service.ledgerRevise.getLastestRevise(tenderId);