<template>
  <!-- 提货查询详情-->
  <a-modal class="add-custom custom-detail"
           title="提货查询详情"
           centered
           v-model:visible="visible"
           :maskClosable="false"
           @cancel="cancel"
           width="1000px">
    <template #footer>
      <a-button key="submit"
                type="primary"
                :loading="loading"
                @click="cancel">关闭</a-button>
    </template>
    <CommomDetail :selectedRow="selectedRow" />
  </a-modal>
</template>
<script lang="ts">
import { defineComponent, PropType, ref } from 'vue';
import { closeModal } from '@/common/setup/modal/index';
import { QueryCustomInfoType } from '@/services/go/ermcp/customInfo/interface';
import CommomDetail from '../common-detail/index.vue';
import { QhjTradeGoodsPickup } from '@/services/go/ermcp/qhj/interface';

export default defineComponent({
    name: 'platinum_withdrawal_review_detail-desc',
    components: { CommomDetail },
    props: {
        selectedRow: {
            type: Object as PropType<QhjTradeGoodsPickup>,
            default: {},
        },
    },
    setup(props, context) {
        const { visible, cancel } = closeModal('detail');
        const loading = ref<boolean>(false);
        return {
            cancel,
            visible,
            loading,
        };
    },
});
</script>

<style lang="less">
.commom-des {
    .ant-descriptions-item-label {
        width: 156px;
    }
    .ant-descriptions-item-content {
        width: calc(100% - 156px);
    }
}
</style>
