领用申请单位下拉修改
This commit is contained in:
parent
cf16fa9630
commit
2af8a729de
|
|
@ -455,7 +455,8 @@
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
import {equipmentTypeLease} from '@/api/purchase/goodsArrived'
|
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 { getImpUnitListApi } from "@/api/materialsStation"
|
||||||
import {
|
import {
|
||||||
getStandardConfigList,
|
getStandardConfigList,
|
||||||
|
|
@ -1040,14 +1041,14 @@ export default {
|
||||||
/** 租赁单位和工程-下拉选 */
|
/** 租赁单位和工程-下拉选 */
|
||||||
projectInfoList() {
|
projectInfoList() {
|
||||||
if (!this.isEdit) {
|
if (!this.isEdit) {
|
||||||
getListUnite({ projectId: null, enableFilter: true }).then(response => {
|
getUnitData({ projectId: null, enableFilter: true }).then(response => {
|
||||||
this.uniteList = response.data
|
this.uniteList = response.data
|
||||||
})
|
})
|
||||||
getLeaseProjectListApi({ unitId: null, enableFilter: true, departName: this.maForm.departName }).then(response => {
|
getLeaseProjectListApi({ unitId: null, enableFilter: true, departName: this.maForm.departName }).then(response => {
|
||||||
this.projectList = response.data
|
this.projectList = response.data
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
getListUnite({ projectId: null, enableFilter: true }).then(response => {
|
getUnitData({ projectId: null, enableFilter: true }).then(response => {
|
||||||
this.uniteList = response.data
|
this.uniteList = response.data
|
||||||
})
|
})
|
||||||
getLeaseProjectListApi({ unitId: this.maForm.unitId, enableFilter: true, departName: this.maForm.departName }).then(response => {
|
getLeaseProjectListApi({ unitId: this.maForm.unitId, enableFilter: true, departName: this.maForm.departName }).then(response => {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue