Quellcode durchsuchen

设施环境通用组件只读模式下禁止计算

luoaoxuan vor 1 Jahr
Ursprung
Commit
5f3b080d4d
1 geänderte Dateien mit 1 neuen und 0 gelöschten Zeilen
  1. 1 0
      src/views/component/facility/facilityData.vue

+ 1 - 0
src/views/component/facility/facilityData.vue

@@ -158,6 +158,7 @@ export default {
         // 计算修正值
         culXiuZheng () {
             if (!this.isCul) return
+            if (this.readonly) return
             this.forms.forEach(item => {
                 if (item.value) {
                     if (item.fixValue) {