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