直转审核下拉过滤

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: [ tableColumns: [
{ label: '申请时间', prop: 'createTime', showToolTip: true, width: '100' }, { label: '申请时间', prop: 'createTime', showToolTip: true, width: '100' },
{ label: '申请人', prop: 'leaseMan', showToolTip: true, width: '80' }, { label: '申请人', prop: 'leaseMan', showToolTip: true, width: '80' },
{ label: '直转单号', prop: 'code', showToolTip: true },
{ label: '转出单位', prop: 'backUnitName', showToolTip: false }, { label: '转出单位', prop: 'backUnitName', showToolTip: false },
{ label: '转出工程', prop: 'backProName', showToolTip: false }, { label: '转出工程', prop: 'backProName', showToolTip: false },
{ label: '转入单位', prop: 'leaseUnitName', showToolTip: false }, { label: '转入单位', prop: 'leaseUnitName', showToolTip: false },

View File

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