浏览代码

修复新增部位编辑bug

ellisran 1 年之前
父节点
当前提交
8eb9bd1e51
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/controller/change_controller.js

+ 1 - 1
app/controller/change_controller.js

@@ -1427,7 +1427,7 @@ module.exports = app => {
                     edit = false;
                     revising = true;
                 }
-                const renderData = await this._getDefaultReviseInfoData(ctx, change, edit);
+                const renderData = await this._getDefaultReviseInfoData(ctx, change, !edit);
                 // 台账只读、使用数据
                 renderData.readOnly = !edit;
                 renderData.changing = changing;