<template>
    <div>
      <ImportDialog
        :tablename="tablename"
        :title="title"
        :visible="visible"
        :main-id="mainId"
        :custom-import="customImport"
        :father-method="fatherClose"
      />
    </div>
  </template>
  <script>
  
    import ImportDialog from '../customizedContent/ImportDialog';
  
    const R3 = window.R3;
    const { network, urlSearchParams, store } = R3;
  
    export default {
      name: 'OnlyReturnMoneyOrderDetailImport',
      components: { ImportDialog },
      props: {
        visible: { // 获取ID用于多选
            type: Boolean,
            default: false
        },
        pageMsgId: { // 活动明细id
            type: String,
            default: ''
        },
      },
      data() {
        return {
          tablename: 'T_OMSSHOPEXTRASDETAIL',
          title: '仅退款单明细',
          mainTable: 'T_V_OMSINCIDENTALSRECORD',
          mainId: this.pageMsgId,
          customImport: false, // 自定义导入接口
        };
      },
      created() {
      },
      methods: {
        fatherClose() {
          this.$emit('closeActionDialog', true);
        }
      }
    };
  </script>
  