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 { // 导出的二次确认