From 5a90b4d1a16f527d0b2071663766ff3771628857 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=99=BD=E5=B0=81=E7=BE=BD?= <2360164671@qq.com> Date: Tue, 3 Jan 2023 17:04:07 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B8=AE=E5=B8=AE=E5=BF=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/reimbursement/mine/ReimbursementDetail.tsx | 9 +++++---- src/pages/reimbursement/mine/component/tempComponent.tsx | 3 ++- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/src/pages/reimbursement/mine/ReimbursementDetail.tsx b/src/pages/reimbursement/mine/ReimbursementDetail.tsx index ad10682..2efd805 100644 --- a/src/pages/reimbursement/mine/ReimbursementDetail.tsx +++ b/src/pages/reimbursement/mine/ReimbursementDetail.tsx @@ -4,6 +4,7 @@ import TextArea from "antd/es/input/TextArea"; import {ApprovalProcess, Invoice, ReimbursementDetailModal} from "../../../models/ReimbursementDetailModal"; import dayjs, {Dayjs} from "dayjs"; import {ExclamationCircleOutlined} from "@ant-design/icons"; +import displayInvoicesList from "./component/tempComponent"; const statusEnum = { 0: {text: '已报销', status: 'Success'}, @@ -21,10 +22,10 @@ const statusEnum2 = { 3: "总经理", } -function displayInvoicesList(departureInvoice: Invoice, destinationInvoice: Invoice | null, otherInvoices: Invoice[]) { - - return (<>) -} +// function displayInvoicesList(departureInvoice: Invoice, destinationInvoice: Invoice | null, otherInvoices: Invoice[]) { +// +// return (<>) +// } function displayRawInfo(reimbursement: ReimbursementDetailModal | undefined | null) { if (reimbursement == undefined) diff --git a/src/pages/reimbursement/mine/component/tempComponent.tsx b/src/pages/reimbursement/mine/component/tempComponent.tsx index ee24120..9ac90bc 100644 --- a/src/pages/reimbursement/mine/component/tempComponent.tsx +++ b/src/pages/reimbursement/mine/component/tempComponent.tsx @@ -5,4 +5,5 @@ import React from "react"; function displayInvoicesList(departureInvoice: Invoice, destinationInvoice: Invoice | null, otherInvoices: Invoice[]) { return (<>) -} \ No newline at end of file +} +export default displayInvoicesList \ No newline at end of file