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

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

  export default {
    name: 'ReturnReceiptImport',

    components: { ImportDialog },

    data() {
      return {
        tablename: 'V_OMSSTORAGEIN_IMPORT',
        title: '退货入库单',
        visible: true,
        mainId: this.$route.params.itemId,
      };
    },

    mounted() {

    },

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

<style lang="less" scoped>

</style>
