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 +