From 0f587e9a4f6c782fcdddad085f7a06c0f8ec7800 Mon Sep 17 00:00:00 2001 From: bb_pan Date: Tue, 18 Feb 2025 19:25:17 +0800 Subject: [PATCH] =?UTF-8?q?=E7=9B=B4=E8=BD=AC=E7=94=B3=E8=AF=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/business/index.js | 62 +++ .../business/businessHandling/directApply.vue | 446 ++++++++++++------ .../directApplyRecord.vue | 42 +- 3 files changed, 372 insertions(+), 178 deletions(-) diff --git a/src/api/business/index.js b/src/api/business/index.js index 1b01dea6..17902e34 100644 --- a/src/api/business/index.js +++ b/src/api/business/index.js @@ -59,4 +59,66 @@ export function deleteLeaseTask(id) { url: '/material/leaseTask/' + id, method: 'delete' }) +} + +// 根据协议id查再用列表 +export function getUseringData(query) { + return request({ + url: '/material/directRotation/getUseringData', + method: 'get', + params: query + }) +} + +// 领用申请提交-新增 +export function receiveSubmit(data) { + return request({ + url: '/material/directRotation/submit', + method: 'post', + data + }) +} + +// 领用申请提交-编辑 +export function receiveEdit(data) { + return request({ + url: '/material/directRotation/edit', + method: 'post', + data + }) +} + +// 领用申请提交-详情 +export function receiveDetail(query) { + return request({ + url: '/material/directRotation/getInfo', + method: 'get', + params: query + }) +} + +// 领用申请提交-删除 +export function receiveDelete(id) { + return request({ + url: '/material/directRotation/' + id, + method: 'delete' + }) +} + +// 领用申请查询-列表 +export function getReceiveList(query) { + return request({ + url: '/material/directRotation/list', + method: 'get', + params: query + }) +} + +// 物资类型-3级tree +export function getEquipmentThreeTypes(query) { + return request({ + url: '/material/ma_type/equipmentThreeTypes', + method: 'get', + params: query + }) } \ No newline at end of file diff --git a/src/views/business/businessHandling/directApply.vue b/src/views/business/businessHandling/directApply.vue index 3041855c..58834309 100644 --- a/src/views/business/businessHandling/directApply.vue +++ b/src/views/business/businessHandling/directApply.vue @@ -5,9 +5,9 @@ - + - + - + - + - + - + - + - + - + - - - - + + - - - + + + @@ -210,7 +220,7 @@ - + -