1
This commit is contained in:
@@ -670,15 +670,18 @@ export default {
|
|||||||
this.$modal.msgSuccess("删除成功");
|
this.$modal.msgSuccess("删除成功");
|
||||||
}).catch(() => {});
|
}).catch(() => {});
|
||||||
},
|
},
|
||||||
/** 导出按钮操作 */
|
/** 导出按钮操作(与当前筛选条件一致,导出全部匹配行,非当前分页) */
|
||||||
handleExport() {
|
handleExport() {
|
||||||
if (!this.queryParams.appid) {
|
if (!this.queryParams.appid) {
|
||||||
this.$modal.msgWarning("请先选择ERP账号");
|
this.$modal.msgWarning("请先选择ERP账号");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
this.download('jarvis/erpProduct/export', {
|
const { pageNum, pageSize, ...exportQuery } = this.queryParams;
|
||||||
...this.queryParams
|
this.download(
|
||||||
}, `erpProduct_${new Date().getTime()}.xlsx`)
|
'jarvis/erpProduct/export',
|
||||||
|
exportQuery,
|
||||||
|
`闲鱼商品_AI明细_${new Date().getTime()}.xlsx`
|
||||||
|
);
|
||||||
},
|
},
|
||||||
/** 格式化价格(分转元) */
|
/** 格式化价格(分转元) */
|
||||||
formatPrice(price) {
|
formatPrice(price) {
|
||||||
|
|||||||
Reference in New Issue
Block a user