领用申请单位下拉修改

This commit is contained in:
hongchao 2026-01-28 17:43:20 +08:00
parent cf16fa9630
commit 2af8a729de
1 changed files with 4 additions and 3 deletions

View File

@ -455,7 +455,8 @@
<script>
import {equipmentTypeLease} from '@/api/purchase/goodsArrived'
import { getLeaseProjectListApi, getListUnite, getAgreement, getProjectList, getDepartNameList } from '@/api/lease/apply'
import { getLeaseProjectListApi, getAgreement, getProjectList, getDepartNameList } from '@/api/lease/apply'
import { getUnitData } from '@/api/lease/picking'
import { getImpUnitListApi } from "@/api/materialsStation"
import {
getStandardConfigList,
@ -1040,14 +1041,14 @@ export default {
/** 租赁单位和工程-下拉选 */
projectInfoList() {
if (!this.isEdit) {
getListUnite({ projectId: null, enableFilter: true }).then(response => {
getUnitData({ projectId: null, enableFilter: true }).then(response => {
this.uniteList = response.data
})
getLeaseProjectListApi({ unitId: null, enableFilter: true, departName: this.maForm.departName }).then(response => {
this.projectList = response.data
})
} else {
getListUnite({ projectId: null, enableFilter: true }).then(response => {
getUnitData({ projectId: null, enableFilter: true }).then(response => {
this.uniteList = response.data
})
getLeaseProjectListApi({ unitId: this.maForm.unitId, enableFilter: true, departName: this.maForm.departName }).then(response => {