<template>
    <validator name='v'>
      <!-- <form > -->
        <div class="form-group" :class="[$v.f_price.required ? 'has-error' : 'has-success']">
          <label for="f_price" class="col-sm-2 control-label">单价</label>
          <div class="col-sm-3">
            <input class="form-control" type="number" v-model="unitmodel[0].f_price"
             v-validate:f_price='{required: true }'  placeholder="单价" :disabled="isDisable">
          </div>
        </div>
      <!-- </form> -->
    </validator>
</template>
<script>
/**
*阶梯气价管理组件
*/
export default {
  props: ['unitmodel', 'isDisable']
}
</script>
