From 9c0d5a65a8f400dc2130f877b2f5408767db950f Mon Sep 17 00:00:00 2001 From: tzy Date: Sun, 14 Sep 2025 16:51:45 +0800 Subject: [PATCH] `` --- src/api/system/assetCard.js | 8 +++ src/api/system/orderPro.js | 9 +++ src/views/system/assetCard/index.vue | 89 ++++++++++++++++++++++++++-- src/views/system/orderPro/index.vue | 39 ++++++++++++ 4 files changed, 139 insertions(+), 6 deletions(-) diff --git a/src/api/system/assetCard.js b/src/api/system/assetCard.js index b9326b2..fb104dc 100644 --- a/src/api/system/assetCard.js +++ b/src/api/system/assetCard.js @@ -42,3 +42,11 @@ export function delAssetCard(id) { method: 'delete' }) } + +// 批量更新金蝶资产卡片 +export function updateAssetCardBatch() { + return request({ + url: '/system/assetCard/updateAssetCard', + method: 'post' + }) +} \ No newline at end of file diff --git a/src/api/system/orderPro.js b/src/api/system/orderPro.js index 8e7bfc6..9749c4c 100644 --- a/src/api/system/orderPro.js +++ b/src/api/system/orderPro.js @@ -119,3 +119,12 @@ export function uploadPDF(id) { headers: { 'Content-Type': 'application/json; application/octet-stream' } }) } + +// 下载生产工艺计划表 +export function exportRoute(id) { + return request({ + url: `/system/orderPro/exportRoute?id=${id}`, + method: 'post', + responseType: 'blob' + }) +} diff --git a/src/views/system/assetCard/index.vue b/src/views/system/assetCard/index.vue index cef10f2..76bde3d 100644 --- a/src/views/system/assetCard/index.vue +++ b/src/views/system/assetCard/index.vue @@ -65,12 +65,12 @@ @keyup.enter.native="handleQuery" /> + 搜索 重置 - 导出 + + 获取数据 + - + + @@ -128,7 +139,18 @@ - + + + + + + + + + + + @@ -183,6 +208,25 @@ + + + + + + + + + + +