Explorar o código

Merge branch 'dev' of http://192.168.1.41:3000/maixinrong/Calculation into dev

Tony Kang hai 1 ano
pai
achega
2a6965afac
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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;