更换材料站 领料新增工程下拉接口

This commit is contained in:
bb_pan 2025-10-24 10:00:47 +08:00
parent 2b8d5df9e9
commit 0a97ae9147
2 changed files with 4 additions and 3 deletions

View File

@ -461,7 +461,8 @@ export default {
/** 工程-下拉选 */ /** 工程-下拉选 */
async projectInfoList() { async projectInfoList() {
try { 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 this.projectList = res.data
} catch (error) { } catch (error) {
console.log('🚀 ~ projectInfoList ~ error:', error) console.log('🚀 ~ projectInfoList ~ error:', error)

View File

@ -744,8 +744,8 @@ export default {
async projectInfoList() { async projectInfoList() {
try { 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 }) const res = await getListProject({ unitId: null, isApp: true, teamName: this.maForm.teamName })
this.projectList = res.data this.projectList = res.data
} catch (error) { } catch (error) {
console.log('🚀 ~ projectInfoList ~ error:', error) console.log('🚀 ~ projectInfoList ~ error:', error)