Commit e2b52867 authored by 陈智峰's avatar 陈智峰

Merge branch 'feng-jinfa-20221102' into 'jinfa-20221102'

feat: 金发bug See merge request project/jinfa-platform!443
parents dc32e4df 2c768353
...@@ -21,7 +21,7 @@ import { ...@@ -21,7 +21,7 @@ import {
getSettleAccountsMemberSettlementAccountStatementCoordinationInvoiceList, getSettleAccountsMemberSettlementAccountStatementCoordinationInvoiceList,
postSettleAccountsMemberSettlementAccountStatementCoordinationInvoiceConfirm, postSettleAccountsMemberSettlementAccountStatementCoordinationInvoiceConfirm,
postSettleAccountsMemberSettlementAccountStatementCoordinationInvoiceReturn, postSettleAccountsMemberSettlementAccountStatementCoordinationInvoiceReturn,
postSettleAccountsMemberSettlementAccountStatementCoordinationExport postSettleAccountsMemberSettlementAccountStatementCoordinationExportNew
} from '@/services/SettleV2Api'; } from '@/services/SettleV2Api';
import AuthButton from '@/components/AuthButton'; import AuthButton from '@/components/AuthButton';
import './index.less'; import './index.less';
...@@ -294,7 +294,7 @@ const InvoiceJoint: React.FC = () => { ...@@ -294,7 +294,7 @@ const InvoiceJoint: React.FC = () => {
message.warning(intl.formatMessage({ id: 'balance.export.quantity.limit' })) message.warning(intl.formatMessage({ id: 'balance.export.quantity.limit' }))
return return
} }
postSettleAccountsMemberSettlementAccountStatementCoordinationExport({ids: selectedRowKeys}, { responseType: 'blob', getResponse: true }).then((res: any) => { postSettleAccountsMemberSettlementAccountStatementCoordinationExportNew({ids: selectedRowKeys}, { responseType: 'blob', getResponse: true }).then((res: any) => {
const { data, response } = res const { data, response } = res
if (response.status == 200) { if (response.status == 200) {
const suffixName = response.headers.get('content-disposition').split('.')[1] const suffixName = response.headers.get('content-disposition').split('.')[1]
......
...@@ -629,8 +629,8 @@ const IncreaseRequisition: React.FC<{}> = () => { ...@@ -629,8 +629,8 @@ const IncreaseRequisition: React.FC<{}> = () => {
linkage.enum('currency', currencyMap) linkage.enum('currency', currencyMap)
}) })
getMemberParameterManageGetArrivalArea().then((res: any) => { getMemberParameterManageGetArrivalArea().then((res: any) => {
const arrivalAreaMap = fnMap(res.data) // const arrivalAreaMap = fnMap(res.data)
linkage.enum('arrivalArea', arrivalAreaMap); linkage.enum('arrivalArea', res.data.map(el=>({label:el.name,value:el.key})));
}) })
}) })
} }
......
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