租赁工程下拉框
This commit is contained in:
parent
18628e8288
commit
7affaf9a39
|
|
@ -33,6 +33,7 @@
|
||||||
clearable
|
clearable
|
||||||
filterable
|
filterable
|
||||||
style="width: 240px"
|
style="width: 240px"
|
||||||
|
@change="projectChange"
|
||||||
>
|
>
|
||||||
<el-option
|
<el-option
|
||||||
v-for="item in projectList"
|
v-for="item in projectList"
|
||||||
|
|
@ -343,6 +344,7 @@ export default {
|
||||||
projectChange(val) {
|
projectChange(val) {
|
||||||
this.maForm.leaseProjectId = val;
|
this.maForm.leaseProjectId = val;
|
||||||
this.projectTemp = val;
|
this.projectTemp = val;
|
||||||
|
console.log("projectTemp", this.projectTemp);
|
||||||
},
|
},
|
||||||
/** 租赁单位和工程-下拉选 */
|
/** 租赁单位和工程-下拉选 */
|
||||||
projectInfoList() {
|
projectInfoList() {
|
||||||
|
|
@ -465,6 +467,7 @@ export default {
|
||||||
if (this.equipmentList.length > 0) {
|
if (this.equipmentList.length > 0) {
|
||||||
this.$refs["maForm"].validate(async (valid) => {
|
this.$refs["maForm"].validate(async (valid) => {
|
||||||
if (valid) {
|
if (valid) {
|
||||||
|
console.log("projectId", this.projectTemp);
|
||||||
await getAgreement({
|
await getAgreement({
|
||||||
unitId: this.unitTemp,
|
unitId: this.unitTemp,
|
||||||
projectId: this.projectTemp,
|
projectId: this.projectTemp,
|
||||||
|
|
|
||||||
|
|
@ -687,7 +687,7 @@ export default {
|
||||||
typeId: this.queryParams.typeId,
|
typeId: this.queryParams.typeId,
|
||||||
pageSize: this.queryParams.pageSize,
|
pageSize: this.queryParams.pageSize,
|
||||||
pageNum: this.queryParams.pageNum,
|
pageNum: this.queryParams.pageNum,
|
||||||
statusList: [0, 1],
|
statusList: [1],
|
||||||
};
|
};
|
||||||
getListLeaseApply(this.addDateRange(params)).then((response) => {
|
getListLeaseApply(this.addDateRange(params)).then((response) => {
|
||||||
this.typeList = response.rows;
|
this.typeList = response.rows;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue