<template>
  <div id="currency">
    <pl-data-currency v-model="spcpFormData[fieldId]" v-bind="bindProps">
    </pl-data-currency>
  </div>
</template>
<script>
import proto from '../spcp-proto.vue';
import plDataCurrency from "../../../../mix/plDataCurrecy";
export default {
    name: "spcp-currency",
    components: {plDataCurrency},
    extends: proto,
    props:{
      name: 'String',
      value: {
        type: [String, Number],
        default: ''
      },
      format: {
        type: String,
        default: '16|2'
      },
      placeholder: {type: String, default: ""},
      separator: {
        type: String,
        default: ','
      },
      decimalSymbol: {
        type: String,
        default: '.'
      },
      disabled: {
        type: Boolean,
        default: false
      },
      readonly: {
        type: Boolean,
        default: false
      },
      rounding: {
        type: Boolean,
        default: false
      },
      appendKeyCodes: Array,
      preFormatter: Function,
      currencyType: {
        type: String,
        default: ''
      }
    },
    watch: {
    },
    data(){
        return {
        }
    },
    created() {
    },
}
</script>
<style scoped>

</style>
