租赁工程下拉框
This commit is contained in:
		
							parent
							
								
									18628e8288
								
							
						
					
					
						commit
						7affaf9a39
					
				| 
						 | 
				
			
			@ -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,
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue