租赁工程下拉框

This commit is contained in:
jjLv 2024-11-14 13:20:52 +08:00
parent 18628e8288
commit 7affaf9a39
2 changed files with 4 additions and 1 deletions

View File

@ -33,6 +33,7 @@
clearable
filterable
style="width: 240px"
@change="projectChange"
>
<el-option
v-for="item in projectList"
@ -343,6 +344,7 @@ export default {
projectChange(val) {
this.maForm.leaseProjectId = val;
this.projectTemp = val;
console.log("projectTemp", this.projectTemp);
},
/** 租赁单位和工程-下拉选 */
projectInfoList() {
@ -465,6 +467,7 @@ export default {
if (this.equipmentList.length > 0) {
this.$refs["maForm"].validate(async (valid) => {
if (valid) {
console.log("projectId", this.projectTemp);
await getAgreement({
unitId: this.unitTemp,
projectId: this.projectTemp,

View File

@ -687,7 +687,7 @@ export default {
typeId: this.queryParams.typeId,
pageSize: this.queryParams.pageSize,
pageNum: this.queryParams.pageNum,
statusList: [0, 1],
statusList: [1],
};
getListLeaseApply(this.addDateRange(params)).then((response) => {
this.typeList = response.rows;