This commit is contained in:
van
2026-04-10 16:59:17 +08:00
parent a9f4c5adab
commit 92ed8c757a

View File

@@ -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) {