Sfoglia il codice sorgente

修复新增部位编辑bug

ellisran 1 anno fa
parent
commit
8eb9bd1e51
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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;