|
@@ -640,7 +640,17 @@ const handleExport = (type) => {
|
|
|
|
|
|
|
|
const exportOtherSettlementExcel = () => {
|
|
const exportOtherSettlementExcel = () => {
|
|
|
api.settlementApi.exportOtherSettlementExcel({
|
|
api.settlementApi.exportOtherSettlementExcel({
|
|
|
-
|
|
|
|
|
|
|
+ agreementType: '2',
|
|
|
|
|
+ settlementId: recordForm1.value.settlementId,
|
|
|
|
|
+ partnerCompanyId: recordForm1.value.partnerCompanyId,
|
|
|
|
|
+ invoiceParty: recordForm1.value.invoiceParty,
|
|
|
|
|
+ invoiceType: recordForm1.value.invoiceType,
|
|
|
|
|
+ status: recordForm1.value.status,
|
|
|
|
|
+ settlementPerson: recordForm1.value.settlementPerson,
|
|
|
|
|
+ invoiceId: recordForm1.value.invoiceId,
|
|
|
|
|
+ settlementTimeStart: recordForm1.value.settlementTime?.[0],
|
|
|
|
|
+ settlementTimeEnd: recordForm1.value.settlementTime?.[1],
|
|
|
|
|
+ invoiceTypes: ['2', '4']
|
|
|
}).then((res: any) => {
|
|
}).then((res: any) => {
|
|
|
const blob = new Blob([res], { type: 'application/vnd.ms-excel' });
|
|
const blob = new Blob([res], { type: 'application/vnd.ms-excel' });
|
|
|
const fileName = '跟单费应收结算报表明细' + new Date().getTime() + '.xlsx';
|
|
const fileName = '跟单费应收结算报表明细' + new Date().getTime() + '.xlsx';
|