diff --git a/src/components/RightToolbar/index.vue b/src/components/RightToolbar/index.vue index f992e6a..098e506 100644 --- a/src/components/RightToolbar/index.vue +++ b/src/components/RightToolbar/index.vue @@ -17,13 +17,12 @@ + + - - - diff --git a/src/views/supermarketerp/purchaseManagement/smErpCgInventory/index.vue b/src/views/supermarketerp/purchaseManagement/smErpCgInventory/index.vue index 86328be..48657c8 100644 --- a/src/views/supermarketerp/purchaseManagement/smErpCgInventory/index.vue +++ b/src/views/supermarketerp/purchaseManagement/smErpCgInventory/index.vue @@ -47,7 +47,11 @@ class="ml10 mr20" style="float: right" @queryTable="getDataList" - /> + > + + + + @@ -174,6 +178,15 @@ const exportExcel = () => { downBlobFile("/supermarket/smErpInventoryRecords/export", Object.assign(state.queryForm, { ids: selectObjs }), "采购入库.xlsx") } +// 全部数据导出excel +const handleExportSummary = () => { + downBlobFile( + "/supermarket/smErpInventoryRecords/exportSummary", + Object.assign(state.queryForm, { ids: selectObjs }), + "采购入库(全部).xlsx", + ) +} + // 多选事件 const selectionChangHandle = (objs: { id: string }[]) => { selectObjs.value = objs.map(({ id }) => id)