From 892b40d904b8e3ac5ed00d46428d0b77e810555a Mon Sep 17 00:00:00 2001 From: bb_pan Date: Wed, 24 Dec 2025 14:22:42 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=A5=E5=BA=93=E7=AE=A1=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/EquipmentEntryApply/index.js | 51 ++++++++ src/components/FileImageUpload/index.vue | 7 +- src/views/EquipmentServicing/index.vue | 33 ++++- .../stockManagement/entryApply/apply.vue | 116 +++++++++--------- .../entryApply/components/AddCode.vue | 81 +++++++++--- .../entryApply/components/AddNum.vue | 81 +++++++++--- .../entryApply/components/EquipmentAdd.vue | 39 ++++-- .../stockManagement/entryApply/index.vue | 71 ++++++----- .../stockManagement/inventoryAudit/index.vue | 18 +-- 9 files changed, 346 insertions(+), 151 deletions(-) diff --git a/src/api/EquipmentEntryApply/index.js b/src/api/EquipmentEntryApply/index.js index e3840a00..cc1c4844 100644 --- a/src/api/EquipmentEntryApply/index.js +++ b/src/api/EquipmentEntryApply/index.js @@ -291,4 +291,55 @@ export const updateWarehousingApi = (data) => { method: 'POST', data }) +} + +// 入库申请-工具详情 +export const getListByApplyIdApi = (data) => { + return request({ + url: '/material-mall/toolApply/listByApplyId', + method: 'GET', + params: data, + }) +} + +// 工具删除 +export const deleteToolApi = (data) => { + return request({ + url: '/material-mall/toolApply/deleteTool', + method: 'POST', + params: data + }) +} + +// 删除 +export const deleteByIdApi = (data) => { + return request({ + url: '/material-mall/warehousing/deleteById', + method: 'POST', + params: data + }) +} + +// 批量/单个-提交 +export const batchSubmissionApi = (data) => { + return request({ + url: `/material-mall/warehousing/batchSubmission/${data}`, + method: 'POST', + }) +} + +// 批量单个-审核 +export const batchApprovalApi = (data) => { + return request({ + url: `/material-mall/warehousing/batchApproval/${data}`, + method: 'POST', + }) +} + +// 批量单个-驳回 +export const batchRejectionApi = (data) => { + return request({ + url: `/material-mall/warehousing/batchRejection/${data}`, + method: 'POST', + }) } \ No newline at end of file diff --git a/src/components/FileImageUpload/index.vue b/src/components/FileImageUpload/index.vue index cd53f114..a4fde74d 100644 --- a/src/components/FileImageUpload/index.vue +++ b/src/components/FileImageUpload/index.vue @@ -15,7 +15,7 @@ :headers="headers" :file-list="fileList" :on-preview="handlePictureCardPreview" - :class="{ hide: this.fileList.length >= this.limit }" + :class="{ hide: fileList.length >= limit }" >