Przeglądaj źródła

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

luoaoxuan 1 rok temu
rodzic
commit
5f3b080d4d
1 zmienionych plików z 1 dodań i 0 usunięć
  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) {