From 8897a2ad9fe76df6bd47349f6597bdeed6a53b14 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=A0=82=E7=B3=96?= <2178503051@qq.com> Date: Wed, 22 Apr 2026 17:14:47 +0800 Subject: [PATCH] =?UTF-8?q?feat(wms):=20=E6=B7=BB=E5=8A=A0=E5=AF=BC?= =?UTF-8?q?=E5=87=BA=E5=8A=9F=E8=83=BD=E5=B9=B6=E5=A2=9E=E5=8A=A0=E5=AF=BC?= =?UTF-8?q?=E5=87=BA=E6=97=B6=E9=97=B4=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 在coil基础面板中增加exportTimeBy参数用于导出时间控制 在退火性能页面添加导出按钮及导出功能 --- klp-ui/src/views/wms/anneal/performance/index.vue | 6 ++++++ klp-ui/src/views/wms/coil/panels/base.vue | 1 + 2 files changed, 7 insertions(+) diff --git a/klp-ui/src/views/wms/anneal/performance/index.vue b/klp-ui/src/views/wms/anneal/performance/index.vue index 6b3647f4..2e09a570 100644 --- a/klp-ui/src/views/wms/anneal/performance/index.vue +++ b/klp-ui/src/views/wms/anneal/performance/index.vue @@ -24,6 +24,7 @@ 查询 重置 + 导出 @@ -121,6 +122,11 @@ export default { resetQuery() { this.resetForm("queryForm"); this.handleQuery(); + }, + exportData() { + this.download('/wms/materialCoil/exportAnneal', { + coilIds: this.detailList.map(item => item.coilId).join(','), + }, `annealPerformance_${new Date().getTime()}.xlsx`) } } }; diff --git a/klp-ui/src/views/wms/coil/panels/base.vue b/klp-ui/src/views/wms/coil/panels/base.vue index 668920f1..d86e5ab7 100644 --- a/klp-ui/src/views/wms/coil/panels/base.vue +++ b/klp-ui/src/views/wms/coil/panels/base.vue @@ -1189,6 +1189,7 @@ export default { if (this.showWaybill) { const { shipmentTime, ...query } = { ...this.queryParams, + exportTimeBy: true, selectType: this.querys.materialType === '原料' ? 'raw_material' : 'product', startTime: this.queryParams.shipmentTime?.[0], endTime: this.queryParams.shipmentTime?.[1],