浏览代码

fix: 预付款详情页bug修复

lanjianrong 4 年之前
父节点
当前提交
f8e4845755
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/controller/advance_controller.js

+ 1 - 1
app/controller/advance_controller.js

@@ -145,7 +145,7 @@ module.exports = app => {
          * @param {Object} ctx 全局上下文
          * @param {Object} ctx 全局上下文
          */
          */
         async detail(ctx) {
         async detail(ctx) {
-            const advancePayTotal = ctx.tender.info.deal_param[`${typeConsts.typeColMap[ctx.advance.type].value}startAdvance`];
+            const advancePayTotal = ctx.tender.info.deal_param[`${typeConsts.typeColMap[ctx.advance.type].value}Advance`];
             try {
             try {
                 await this._checkCanEntry(ctx);
                 await this._checkCanEntry(ctx);
                 const { uncheck, checkNo } = auditConst.status;
                 const { uncheck, checkNo } = auditConst.status;