小小儁爺
2024-08-07 a00f2386cd0e504892abb4af6cfe2f5c8502105f
src/views/basicSettings/meterPrice.vue
@@ -288,7 +288,7 @@
                min-width="150"
              >
                <template slot-scope="{row}">
                  <div style="display: flex">
                  <div style="display: flex;align-items: center">
                    <el-input
                      v-model="row.eqp_value"
                      placeholder="请输入"
@@ -297,7 +297,6 @@
                    />
                    <div style="margin-left: 5px">秒</div>
                  </div>
                </template>
              </el-table-column>
              <el-table-column
@@ -306,7 +305,7 @@
                min-width="120"
              >
                <template slot-scope="{row}">
                  <div>{{ row.stand_value + ' ' + '秒' }}</div>
                  <div>{{ row.stand_value + ' ' + '秒/次' }}</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>