diff --git a/src/api/part/partLease.js b/src/api/part/partLease.js new file mode 100644 index 00000000..9a343aaf --- /dev/null +++ b/src/api/part/partLease.js @@ -0,0 +1,41 @@ +import request from '@/utils/request' + +// 查询配件领料任务列表 +export function getPartLeaseInfoListApi(query) { + return request({ + url: '/material/part_lease/selectPartLeaseInfoList', + method: 'get', + params: query, + }) +} + +// 任务id查询配件领料明细 +export function getPartLeaseByTaskIdApi(query) { + return request({ + url: '/material/part_lease/selectPartLeaseByTaskId', + method: 'get', + params: query, + }) + } + +// 配件领料-审核 +export function auditApi(data) { + return request({ + url: '/material/part_lease/audit', + method: 'post', + data: data, + }) +} + + + + + + + + + + + + + diff --git a/src/api/repair/scrapManage.js b/src/api/repair/scrapManage.js index e60dfaf3..2db8a30f 100644 --- a/src/api/repair/scrapManage.js +++ b/src/api/repair/scrapManage.js @@ -27,7 +27,7 @@ export function batchPassApi(data) { }) } -//内层审核批量通过 +//内层审核批量拒绝 export function batchRejectApi(data) { return request({ url: '/material/scrap_apply_details/reject', diff --git a/src/views/material/part/partLease/component/addToolsApply.vue b/src/views/material/part/partLease/component/addToolsApply.vue index 2cc17614..32464572 100644 --- a/src/views/material/part/partLease/component/addToolsApply.vue +++ b/src/views/material/part/partLease/component/addToolsApply.vue @@ -1,15 +1,9 @@