From 5de9ca9a55ab2bbfdf31ebdb22e58e37051fa31c Mon Sep 17 00:00:00 2001 From: zhang_li <2235006734@qqq.com> Date: Sun, 18 Aug 2024 13:21:22 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BE=9B=E5=BA=94=E5=95=86=E5=8F=91=E8=B4=A7?= =?UTF-8?q?=E8=AE=B0=E5=BD=95=E4=BB=B7=E5=B7=AE=E6=95=B0=E6=8D=AE=E6=9F=A5?= =?UTF-8?q?=E7=9C=8B=E5=AF=BC=E5=87=BA=E6=B2=A1=E6=9C=89=E5=88=9B=E5=BB=BA?= =?UTF-8?q?=E6=97=B6=E9=97=B4=E5=8E=BB=E6=8E=89=E5=88=9B=E5=BB=BA=E6=97=B6?= =?UTF-8?q?=E9=97=B4=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../supplierinvoice/supplierinvoiceRecordMain/index.vue | 3 +++ .../supplierinvoiceRequestMainDifference/index.vue | 3 +++ 2 files changed, 6 insertions(+) diff --git a/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRecordMain/index.vue b/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRecordMain/index.vue index c794151db..e3b10dcb3 100644 --- a/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRecordMain/index.vue +++ b/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRecordMain/index.vue @@ -308,6 +308,9 @@ const handleExport = async () => { selectionRows.value.forEach(item=>{ rows = [...rows,...item.selectionRows.map(item1=>item1.number)] }) + if (!tableObject.params.createTime || tableObject.params.createTime && tableObject.params. createTime.length == 0) { + delete tableObject.params.createTime + } try { // 导出的二次确认 await message.exportConfirm() diff --git a/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMainDifference/index.vue b/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMainDifference/index.vue index a3358fa02..9dec5c5cd 100644 --- a/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMainDifference/index.vue +++ b/src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMainDifference/index.vue @@ -329,6 +329,9 @@ const searchTableSuccessDetail = async (formField, searchField, val, formRef,sea }else{ paramsData = {...paramsData,checkNums:rows} } + if (!paramsData.createTime || paramsData.createTime && paramsData.createTime.length == 0) { + delete paramsData.createTime + } console.log('批量导出',paramsData) try { // 导出的二次确认