diff --git a/src/views/material/lease/apply/component/addToolsApply.vue b/src/views/material/lease/apply/component/addToolsApply.vue index 66747b67..287b2f82 100644 --- a/src/views/material/lease/apply/component/addToolsApply.vue +++ b/src/views/material/lease/apply/component/addToolsApply.vue @@ -460,8 +460,8 @@ export default { // 获取班组 async getBmTeam() { try { - const teamLeaderIdCard = sessionStorage.getItem('idCard') - const res = await getBmTeamApi({ isAll: 0, teamLeaderIdCard }) + const idCard = sessionStorage.getItem('idCard') + const res = await getBmTeamApi({ isAll: 0, idCard }) if (!res.data || res.data.length === 0) return this.uniteList = res.data this.maForm.teamId = res.data[0].id