diff --git a/src/views/materialsStation/toolsLease/apply/component/addToolsApply.vue b/src/views/materialsStation/toolsLease/apply/component/addToolsApply.vue index 9fccbb63..fb0e5e41 100644 --- a/src/views/materialsStation/toolsLease/apply/component/addToolsApply.vue +++ b/src/views/materialsStation/toolsLease/apply/component/addToolsApply.vue @@ -461,7 +461,8 @@ export default { /** 工程-下拉选 */ async projectInfoList() { try { - const res = await getProListByDepartApi({ teamName: this.maForm.teamName }) + // const res = await getProListByDepartApi({ teamName: this.maForm.teamName }) + const res = await getListProject({ unitId: null, isApp: true, teamName: this.maForm.teamName }) this.projectList = res.data } catch (error) { console.log('🚀 ~ projectInfoList ~ error:', error) diff --git a/src/views/materialsStation/toolsLease/outBound/component/addToolsApply.vue b/src/views/materialsStation/toolsLease/outBound/component/addToolsApply.vue index 00945d3c..90b6d921 100644 --- a/src/views/materialsStation/toolsLease/outBound/component/addToolsApply.vue +++ b/src/views/materialsStation/toolsLease/outBound/component/addToolsApply.vue @@ -744,8 +744,8 @@ export default { async projectInfoList() { try { - const res = await getProListByDepartApi({ teamName: this.maForm.teamName }) - // const res = await getListProject({ unitId: null, isApp: true, teamName: this.maForm.teamName }) + // const res = await getProListByDepartApi({ teamName: this.maForm.teamName }) + const res = await getListProject({ unitId: null, isApp: true, teamName: this.maForm.teamName }) this.projectList = res.data } catch (error) { console.log('🚀 ~ projectInfoList ~ error:', error)