<template>
  <ImportDialog
    :tablename="tablename"
    :title="title"
    :visible="visible"
    :main-id="mainId"
    :father-method="fatherClose"
    :custom-import="true"
    :show-icon="false"
    :show-check-box="false"
  />
</template>

<script>
  import ImportDialog from '../customizedContent/ImportDialog.vue';

  export default {
    name: 'PreSaleSettingImport',

    components: { ImportDialog },

    data() {
      return {
        tablename: 'T_OMSPRESALEGOODSQTY',
        title: '商品预售库存设置',
        visible: true,
        mainId: this.$route.params.itemId,
      };
    },

    mounted() {

    },

    methods: {
      fatherClose() {
        this.$emit('closeActionDialog', true);
      }
    },
  };
</script>

<style lang="less" scoped>

</style>
