From 258fcfb470e0a2b02e761e2cc5fc7de8c49d67d6 Mon Sep 17 00:00:00 2001 From: bb_pan Date: Tue, 8 Jul 2025 19:39:08 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9D=90=E6=96=99=E5=91=98=E7=A1=AE=E8=AE=A4-?= =?UTF-8?q?=E9=A2=86=E6=96=99=E5=8D=95/=E5=87=BA=E9=97=A8=E8=AF=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/lease/out.js | 116 ++- .../material/lease/materialConfirm/index.vue | 960 +++++++++++------- 2 files changed, 678 insertions(+), 398 deletions(-) diff --git a/src/api/lease/out.js b/src/api/lease/out.js index 7a9bb63f..56e61fdf 100644 --- a/src/api/lease/out.js +++ b/src/api/lease/out.js @@ -2,90 +2,108 @@ import request from '@/utils/request' // 材料员确认-列表 export function getCompleteOutTaskList(query) { - return request({ - url: '/material/lease_apply_info/getCompleteOutTaskList', - method: 'get', - params: query - }) + return request({ + url: '/material/lease_apply_info/getCompleteOutTaskList', + method: 'get', + params: query + }) } //领料出库-列表 export function getListLeaseOut(query) { - return request({ - url: '/material/lease_out_details/list', - method: 'get', - params: query - }) + return request({ + url: '/material/lease_out_details/list', + method: 'get', + params: query + }) } // 领料出库-出库详情信息 export function outInfoList(id, query) { - return request({ - url: '/material/lease_apply_info/' + id, - method: 'get', - params: query - }) + return request({ + url: '/material/lease_apply_info/' + id, + method: 'get', + params: query + }) } // 领料出库-编码出库详情信息 export function getDetailsByTypeId(query) { - return request({ - url: '/material/ma_machine/list', - method: 'get', - params: query - }) + return request({ + url: '/material/ma_machine/list', + method: 'get', + params: query + }) } // 领料出库-编码出库 export function submitOut(data) { - return request({ - url: '/material/lease_apply_info/leaseOut', - method: 'post', - data: data - }) + return request({ + url: '/material/lease_apply_info/leaseOut', + method: 'post', + data: data + }) } //-------暂未用到----------- // 领料出库-新增 export function addApplyInfo(data) { - return request({ - url: '/material/lease_apply_info', - method: 'post', - data: data - }) + return request({ + url: '/material/lease_apply_info', + method: 'post', + data: data + }) } // 领料出库-编辑 export function updateApplyInfo(data) { - return request({ - url: '/material/lease_apply_info', - method: 'put', - data: data - }) + return request({ + url: '/material/lease_apply_info', + method: 'put', + data: data + }) } // 领料出库-详情信息 export function getLeaseOutInfo(id) { - return request({ - url: '/material/lease_apply_info/' + id, - method: 'get' - }) + return request({ + url: '/material/lease_apply_info/' + id, + method: 'get' + }) } // 领料出库-数量出库 export function submitNumOut(data) { - return request({ - url: '/material/lease_apply_info/leaseOut', - method: 'post', - data: data - }) + return request({ + url: '/material/lease_apply_info/leaseOut', + method: 'post', + data: data + }) } // 材料员确认 export function confirmMaterial(data) { - return request({ - url: '/material/lease_apply_info/confirmMaterial', - method: 'post', - data: data - }) + return request({ + url: '/material/lease_apply_info/confirmMaterial', + method: 'post', + data: data + }) +} + +// 确认列表 +export function getInfoApi(data) { + return request({ + url: '/material/lease_apply_info/getInfoById', + method: 'get', + params: data + }) +} + +// 领料单 +export function getLeaseRequestVoApi(data) { + return request({ + url: '/material/lease_apply_info/getLeaseRequestVo', + method: 'get', + params: data + }) } diff --git a/src/views/material/lease/materialConfirm/index.vue b/src/views/material/lease/materialConfirm/index.vue index 34bd4819..dbd1ce51 100644 --- a/src/views/material/lease/materialConfirm/index.vue +++ b/src/views/material/lease/materialConfirm/index.vue @@ -1,37 +1,30 @@ \ No newline at end of file +