小小儁爺
2025-02-08 3f386968d4b5cbb002ad93483f86a5443159e18a
src/views/basicSettings/meterPrice.vue
@@ -297,7 +297,6 @@
                    />
                    <div style="margin-left: 5px">秒</div>
                  </div>
                </template>
              </el-table-column>
              <el-table-column
@@ -330,6 +329,19 @@
              >
                <template slot-scope="{row}">
                  <el-input v-model="row.unprice" oninput="value=value.replace(/[^0-9.]/g,'')" />
                </template>
              </el-table-column>
              <el-table-column
                prop="enable"
                label="是否启用"
                min-width="150"
              >
                <template slot-scope="{row}">
                  <el-switch
                    v-model="row.enable"
                    inactive-value="N"
                    active-value="Y"
                  />
                </template>
              </el-table-column>
            </el-table>
@@ -781,6 +793,7 @@
        row.stand_value = 0
      }
    },
    // 获取页面高度
    getHeight() {
      this.$nextTick(() => {
@@ -792,6 +805,7 @@
        this.$refs.tableDataRef.doLayout()
      })
    }
  }
}
</script>