Commit 6684c7d2 authored by 卢均锐's avatar 卢均锐

fix: 批量开票判断修改

parent 00fc0485
......@@ -119,7 +119,7 @@ const SettlementList: React.FC = () => {
res[item] = array
})
/** 批量开票 */
if (invoiceInfo[0].receiptInvoiceIds.length > 0) {
if (invoiceInfo?.[0]?.receiptInvoiceIds?.length > 0) {
const _postData = { ...invoiceInfo[0], proveList: res[`list-0`] };
postSettleAccountsMemberSettlementBatchInvoiceProve(_postData).then((res) => {
if (res.code === 1000) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment