This commit is contained in:
		
							parent
							
								
									39f0809be6
								
							
						
					
					
						commit
						1454ddf9bd
					
				| 
						 | 
				
			
			@ -129,6 +129,13 @@
 | 
			
		|||
      @close="closeView"
 | 
			
		||||
    >
 | 
			
		||||
      <el-form ref="maForm" :model="maForm" :rules="rules" label-width="120px">
 | 
			
		||||
        <el-row :gutter="24">
 | 
			
		||||
          <el-col :span="24">
 | 
			
		||||
            <el-form-item label="领用工程" prop="projectName">
 | 
			
		||||
              <el-input v-model="maForm.projectName" placeholder="请输入领用工程" readonly style="width: 240px" />
 | 
			
		||||
            </el-form-item>
 | 
			
		||||
          </el-col>
 | 
			
		||||
        </el-row>
 | 
			
		||||
        <el-row :gutter="24">
 | 
			
		||||
          <el-col :span="16">
 | 
			
		||||
            <el-form-item label="领用单位" prop="unitId">
 | 
			
		||||
| 
						 | 
				
			
			@ -291,6 +298,7 @@ export default {
 | 
			
		|||
        productionTime: "",
 | 
			
		||||
      },
 | 
			
		||||
      maForm: {
 | 
			
		||||
        projectName: undefined,
 | 
			
		||||
        unitId: undefined,
 | 
			
		||||
        num: "",
 | 
			
		||||
        leasePerson: "",
 | 
			
		||||
| 
						 | 
				
			
			@ -425,6 +433,7 @@ export default {
 | 
			
		|||
        return
 | 
			
		||||
      }
 | 
			
		||||
      this.title = "新增发布";
 | 
			
		||||
      this.maForm.projectName = this.leaseApplyData.leaseProject
 | 
			
		||||
      await this.getUnit();
 | 
			
		||||
      this.openView = true;
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -201,7 +201,7 @@ export default {
 | 
			
		|||
    created() {
 | 
			
		||||
          const end = new Date()
 | 
			
		||||
          let start = new Date()
 | 
			
		||||
          start.setMonth(start.getMonth() - 1)
 | 
			
		||||
          start.setFullYear(start.getFullYear() - 1); // 设置为去年的今天
 | 
			
		||||
          this.queryParams.time = [this.format(start), this.format(end)]
 | 
			
		||||
        this.initSelectData()
 | 
			
		||||
        this.getList()
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue