<template>
  <div class="auto">
    <validator name='v'>
      <form novalidate class="auto form-horizontal select-overspread">
        <div  class="col-sm-6" :class="[$v.f_price.required ? 'has-error' : 'has-success']">
          <label for="f_price" class="font_normal_body">&nbsp;&nbsp;&nbsp;单价&nbsp;&nbsp;&nbsp;</label>
            <input style="width:60%" class="input_search" type="number" v-model="unitmodel[0].f_price"
                   v-validate:f_price='{required: true }'  placeholder="单价" :disabled="isDisable">
        </div>
      </form>
    </validator>
  </div>
</template>
<script>
/**
*阶梯气价管理组件
*/
export default {
  props: ['unitmodel', 'isDisable']
}
</script>
