直转审核下拉过滤
This commit is contained in:
		
							parent
							
								
									ad900d3256
								
							
						
					
					
						commit
						455c0ff092
					
				| 
						 | 
				
			
			@ -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 },
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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
 | 
			
		||||
                })
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue