From acea73bb8abc0fab1255080997bec9ed9a631860 Mon Sep 17 00:00:00 2001 From: bb_pan Date: Thu, 10 Jul 2025 18:02:53 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9D=90=E6=96=99=E7=AB=99-=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/login.js | 2 +- src/api/materialsStation/index.js | 11 +- src/views/home/equipment-supply/index.vue | 5 +- .../toolsBack/back/component/addReturn.vue | 64 ++++--- .../toolsBack/back/component/queryReturn.vue | 168 +++--------------- .../apply/component/addToolsApply.vue | 95 ++++++---- .../toolsLease/apply/component/homeApply.vue | 2 - .../apply/component/queryToolsApply.vue | 16 +- .../outBound/component/addToolsApply.vue | 102 +++++++---- .../outBound/component/homeApply.vue | 2 - .../outBound/component/queryToolsApply.vue | 16 +- 11 files changed, 212 insertions(+), 271 deletions(-) diff --git a/src/api/login.js b/src/api/login.js index 8aa7567e..1d907b72 100644 --- a/src/api/login.js +++ b/src/api/login.js @@ -1,6 +1,6 @@ import request from '@/utils/request' -// 登录方法 +// 登录方法 - 调试使用 - 产线环境需注释 export function login(data) { return request({ url: '/auth/login', diff --git a/src/api/materialsStation/index.js b/src/api/materialsStation/index.js index 3975e455..d9c7ce83 100644 --- a/src/api/materialsStation/index.js +++ b/src/api/materialsStation/index.js @@ -152,6 +152,15 @@ export const getBmTeamApi = data => { }) } +// 班组管理-列表-退料 +export const getTeamListApi = data => { + return request({ + url: '/material/bmTeam/getTeamList', + method: 'get', + params: data + }) +} + // 班组管理-新增 export const addBmTeamApi = data => { return request({ @@ -285,7 +294,7 @@ export function equipmentTypeTree(data) { // 领料申请租赁工程下拉框 export function getListProject(data) { return request({ - url: '/material/select/getProjectList', + url: '/material/select/getProjectInfo', method: 'post', data }) diff --git a/src/views/home/equipment-supply/index.vue b/src/views/home/equipment-supply/index.vue index 869300eb..4677a562 100644 --- a/src/views/home/equipment-supply/index.vue +++ b/src/views/home/equipment-supply/index.vue @@ -511,8 +511,9 @@ export default { this.getCompanyAndProjectFun() this.getCardListFun() this.getPie_1DataFun() - await Promise.all([this.getUserInfoByUserName(), this.projectInfoList()]) - this.getUserInfoByIdCard() + this.getUserInfoByUserName() + // await Promise.all([this.getUserInfoByUserName(), this.projectInfoList()]) + // this.getUserInfoByIdCard() } } diff --git a/src/views/materialsStation/toolsBack/back/component/addReturn.vue b/src/views/materialsStation/toolsBack/back/component/addReturn.vue index 7013905e..af394878 100644 --- a/src/views/materialsStation/toolsBack/back/component/addReturn.vue +++ b/src/views/materialsStation/toolsBack/back/component/addReturn.vue @@ -10,8 +10,21 @@ label-width="100px" > + + + + + + - - - - - - + @@ -257,14 +254,14 @@