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 }" >