领用申请单位下拉修改
This commit is contained in:
parent
cf16fa9630
commit
2af8a729de
|
|
@ -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 => {
|
||||
|
|
|
|||
Loading…
Reference in New Issue