From 3ce49c1eef5fbf0040c6ad79190bd1561ce715c3 Mon Sep 17 00:00:00 2001 From: bb_pan Date: Tue, 11 Nov 2025 10:45:35 +0800 Subject: [PATCH] =?UTF-8?q?=E9=A2=86=E6=96=99=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../material/lease/apply/component/addToolsApply.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/views/material/lease/apply/component/addToolsApply.vue b/src/views/material/lease/apply/component/addToolsApply.vue index 547c0b70..f9ea8e8c 100644 --- a/src/views/material/lease/apply/component/addToolsApply.vue +++ b/src/views/material/lease/apply/component/addToolsApply.vue @@ -314,7 +314,7 @@ import { } from "@/api/purchase/goodsArrived"; import { getMaterialProjectListApi, - getListUnite, + getMaterialUnitListApi, addApplyInfo, updateApplyInfo, getApplyInfo, @@ -598,7 +598,7 @@ export default { // } setTimeout(()=>{ // projectId: this.maForm.projectId - getListUnite({ }).then((response) => { + getMaterialUnitListApi({ projectId: this.maForm.projectId }).then((response) => { this.uniteList = response.data; }); },500) @@ -606,14 +606,14 @@ export default { /** 租赁单位和工程-下拉选 */ projectInfoList() { if (!this.isEdit) { - getListUnite({ projectId: null }).then((response) => { + getMaterialUnitListApi({ projectId: null }).then((response) => { this.uniteList = response.data; }); getMaterialProjectListApi({ unitId: null }).then((response) => { this.projectList = response.data; }); } else { - getListUnite({ projectId: null }).then((response) => { + getMaterialUnitListApi({ projectId: null }).then((response) => { this.uniteList = response.data; }); getMaterialProjectListApi({ unitId: this.maForm.unitId }).then((response) => {