From 297aa8ce0c41932b6263d45d5d6d3eea4122e714 Mon Sep 17 00:00:00 2001 From: qb <1191961160@qq.com> Date: Wed, 25 Dec 2024 18:00:00 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9EtoC=E5=AF=BC=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/finance/ReconciliationDepositSlip.vue | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/src/views/finance/ReconciliationDepositSlip.vue b/src/views/finance/ReconciliationDepositSlip.vue index 82b9cc9e..7f425164 100644 --- a/src/views/finance/ReconciliationDepositSlip.vue +++ b/src/views/finance/ReconciliationDepositSlip.vue @@ -259,6 +259,7 @@ import { postCheckBalance, postReal, postOrderInfoListExport, + postOrderInfoListExport2C, postCreateReconciliationOrder, postCreateFinishWaybillId, postCreateReconciliationwWaybillId, @@ -429,8 +430,8 @@ const onLoad = async () => { submitData.listType = details.pageStatus; if (submitData.listType === 1) { - delete submitData.signStatus - } else delete submitData.signStatuses + delete submitData.signStatus; + } else delete submitData.signStatuses; const keys = Object.keys(submitData); @@ -794,10 +795,9 @@ const handleExport = () => { submitData.listType = details.pageStatus; - if (submitData.listType === 1) { - delete submitData.signStatus - } else delete submitData.signStatuses + delete submitData.signStatus; + } else delete submitData.signStatuses; if (getObjType(submitData.createTimeArr) === 'array' && submitData.createTimeArr.length > 0) { submitData.createTimeStartStr = submitData.createTimeArr[0]; @@ -812,7 +812,10 @@ const handleExport = () => { delete submitData.createTimeArr; delete submitData.checkTimeArr; - const res = await postOrderInfoListExport(submitData); + const res = + submitData.listType === 1 + ? await postOrderInfoListExport(submitData) + : await postOrderInfoListExport2C(submitData); const { status, data } = res; if (status !== 200) return;