diff --git a/src/views/system/erpProduct/index.vue b/src/views/system/erpProduct/index.vue index 0c4e280..44d623a 100644 --- a/src/views/system/erpProduct/index.vue +++ b/src/views/system/erpProduct/index.vue @@ -670,15 +670,18 @@ export default { this.$modal.msgSuccess("删除成功"); }).catch(() => {}); }, - /** 导出按钮操作 */ + /** 导出按钮操作(与当前筛选条件一致,导出全部匹配行,非当前分页) */ handleExport() { if (!this.queryParams.appid) { this.$modal.msgWarning("请先选择ERP账号"); return; } - this.download('jarvis/erpProduct/export', { - ...this.queryParams - }, `erpProduct_${new Date().getTime()}.xlsx`) + const { pageNum, pageSize, ...exportQuery } = this.queryParams; + this.download( + 'jarvis/erpProduct/export', + exportQuery, + `闲鱼商品_AI明细_${new Date().getTime()}.xlsx` + ); }, /** 格式化价格(分转元) */ formatPrice(price) {