直转审核下拉过滤

This commit is contained in:
hongchao 2025-09-27 16:05:11 +08:00
parent ad900d3256
commit 455c0ff092
2 changed files with 23 additions and 7 deletions

View File

@ -133,6 +133,7 @@ export default {
tableColumns: [
{ label: '申请时间', prop: 'createTime', showToolTip: true, width: '100' },
{ label: '申请人', prop: 'leaseMan', showToolTip: true, width: '80' },
{ label: '直转单号', prop: 'code', showToolTip: true },
{ label: '转出单位', prop: 'backUnitName', showToolTip: false },
{ label: '转出工程', prop: 'backProName', showToolTip: false },
{ label: '转入单位', prop: 'leaseUnitName', showToolTip: false },

View File

@ -785,7 +785,7 @@ export default {
},
uniteChange(val) {
setTimeout(() => {
getListProject({ unitId: this.maForm.backUnitId }).then(response => {
getListProject({ unitId: this.maForm.backUnitId,enableFilter: true }).then(response => {
this.projectList = response.data
this.maForm.backProId = null
})
@ -793,7 +793,7 @@ export default {
},
projectChange(val) {
setTimeout(() => {
getListUnite({}).then(response => {
getListUnite({enableFilter: true}).then(response => {
this.uniteList = response.data
})
this.getAgreementId()
@ -817,23 +817,38 @@ export default {
},
/** 租赁单位和工程-下拉选 */
projectInfoList() {
console.log("kkkkkkkkkkk",this.isEdit)
if (!this.isEdit) {
getListUnite({ projectId: null }).then(response => {
//
getListUnite({ projectId: null,enableFilter: true }).then(response => {
this.uniteList = response.data
})
//
getListProject({ unitId: null,enableFilter: true }).then(response => {
this.projectList = response.data
})
//
getListUnite({ projectId: null }).then(response => {
this.lessUniteList = response.data
})
//
getListProject({ unitId: null }).then(response => {
this.projectList = response.data
this.leaseProjectList = response.data
})
} else {
getListUnite({ projectId: null }).then(response => {
//
getListUnite({ projectId: null,enableFilter: true }).then(response => {
this.uniteList = response.data
this.lessUniteList = response.data
})
getListProject({ unitId: this.maForm.backUnitId }).then(response => {
//
getListProject({ unitId: this.maForm.backUnitId,enableFilter: true }).then(response => {
this.projectList = response.data
})
//
getListUnite({ projectId: null }).then(response => {
this.lessUniteList = response.data
})
//
getListProject({ unitId: this.maForm.leaseUnitId }).then(response => {
this.leaseProjectList = response.data
})