diff --git a/src/views/invoice/Detail.jsx b/src/views/invoice/Detail.jsx index fdf9db8..7d9435f 100644 --- a/src/views/invoice/Detail.jsx +++ b/src/views/invoice/Detail.jsx @@ -179,138 +179,167 @@ function Detail() { } } - //循环生成多次报账信息 - function bindSubmitForm() { - let submitForm = invoiceZDDetail.map((data, index) => { - if (data.GMD_Dealed) { - //已审核的直接显示信息即可,无需表单 - return ( - - - - Invoice {index + 1} - -
- -
Click to Upload
-
-
- Details - - - - - - Currency: - - - - - - {addButton(index + 1 == invoiceZDDetail.length)} - - -
- ); - } else { - // 一个团只能有一个未审核的账单记录 - return ( - - - -
- Invoice {index + 1} - - -
- -
Click to Upload
-
-
-
- Details - - - {" "} - - - - - - - - - - - - - - - - - - - -
- - -
- ); - } - }); - return submitForm; - } + //循环生成多次报账信息 + function bindSubmitForm() { + let submitForm = invoiceZDDetail.map((data, index) => { + if (data.GMD_Dealed) { //已审核的直接显示信息即可,无需表单 + return ( + + + + Invoice {index + 1} + +
+ +
Click to Upload
+
+
+ Details + + + + + + Currency: + + + + + + {addButton(index + 1 == invoiceZDDetail.length)} + + + +
+ + ) + } else { + // 一个团只能有一个未审核的账单记录 + return ( + + + +
+ Invoice {index + 1} + + +
+ +
Click to Upload
+
+
+
+ Details + + + + + + + + + + + + + + + + + + +

Our Finance Dept makes payment during the last week in each month. So due date can only the last day of each month. If there's urgent payment, please contact the travel advisor and send invoice separately.

+
+ + +
+ ) + } + + }) + return submitForm; + } + + + + return ( + <> + + + + + Reference Number: {invoiceGroupInfo.VGroupInfo} + + + + + + + {bindSubmitForm()} + + + ); + + + - return ( - <> - - - - Reference Number: {invoiceGroupInfo.VGroupInfo} - - - Back - - - - {bindSubmitForm()} - - - ); } export default observer(Detail);