Browse Source

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

luoaoxuan 1 năm trước cách đây
mục cha
commit
5f3b080d4d
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  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) {