退料单位工程下拉修改

This commit is contained in:
hongchao 2026-01-29 10:39:29 +08:00
parent 2af8a729de
commit 662ecdc00c
1 changed files with 6 additions and 4 deletions

View File

@ -208,11 +208,13 @@
import { import {
getBackApplyList, getBackApplyList,
getProjectList,
getUnitList,
backApplyRemove, backApplyRemove,
submitBackApply submitBackApply
} from '@/api/back/index.js' } from '@/api/back/index.js'
import {
getProData,
getUnitData,
} from '@/api/lease/outbound.js'
// import { getInfo, h } from '@/api/login' // import { getInfo, h } from '@/api/login'
// import { // import {
// getUnitData, // getUnitData,
@ -377,7 +379,7 @@ export default {
const params = { const params = {
// projectId: this.queryParams.proId /* */, // projectId: this.queryParams.proId /* */,
} }
const res = await getUnitList(params) const res = await getUnitData(params)
this.unitList = res.data this.unitList = res.data
}, },
unitChange(val){ unitChange(val){
@ -390,7 +392,7 @@ export default {
const params = { const params = {
unitId: this.queryParams.unitId, unitId: this.queryParams.unitId,
} }
const res = await getProjectList(params) const res = await getProData(params)
this.proList = res.data; this.proList = res.data;
this.queryParams.proId=null this.queryParams.proId=null
}, },