<template>
  <div id="time">
    <pl-date-picker
        v-model='spcpFormData[fieldId]'
        :style="{ width: width || '100%', height: controlHeight, display: 'inline-block' }"
        :attrs='{style: colCss}'
        v-bind="bindProps"
    >
    </pl-date-picker>
  </div>
</template>
<script>
import proto from '../spcp-proto.vue';
import PlDatePicker from "../../../../mix/plDatePicker";
export default {
    name: "spcp-time",
    components: {PlDatePicker},
    extends: proto,
    props:{
      format:{required:false,default:'yyyy-MM-dd'},
      type:{required: false,default: ""},
      value: {required: false,default: ""},
      valueFormat:{required:false,default:''},
      disabled:{required:false,default:false},
      editable:{required:false,default:false},
      maxDate:{required:false,default:''},
      minDate:{required:false,default:''},
      size:{required:false,default:'small'},
      placeholder:{required:false,default:'请输入日期'},
      isContainsMaxDate:{type:String,default:"1"}, //包含最大时间
      isContainsMinDate:{type:String,default:"1"},
      skinType: {type: String, default: ""},
      controlHeight:{type:String,default:"100%"},
    },
    data(){
        return {

        }
    },
    created() {
    },
}
</script>
<style scoped>

</style>
