xiangpei
2025-02-25 79950e4f7b59fecd435a1c9f7a0cbbd70bea6a1d
src/views/projectEngineering/projectLibrary/component/legalPerson.vue
@@ -4,8 +4,9 @@
      <el-row :gutter="20">
        <el-col :span="6">
          <el-form-item label="项目总投额" label-width="120px" prop="investmentType" style="width: 100%">
            <el-input v-model="legalPersonForm.totalInvestment" class="item" clearable maxlength="255"
            <el-input v-model="legalPersonForm.totalInvestment" class="item" clearable maxlength="255" style="width: 90%"
                      placeholder="请输入"/>
            <span class="money">万元</span>
          </el-form-item>
        </el-col>
        <el-col :span="6">
@@ -177,6 +178,7 @@
  },
  data() {
    return {
      projectForm: {},
      legalPersonForm: {
        // id: '',
        // totalInvestment: '',
@@ -219,6 +221,7 @@
      this.getProjectUnitRegistrationInfo();
    }
    this.legalPersonForm.projectId = this.projectForm.id;
  },
  beforeDestroy() {
    if(Object.keys(this.legalPersonForm).length !==0)  localStorage.setItem("legalPersonForm", JSON.stringify(this.legalPersonForm));
@@ -250,6 +253,14 @@
        }
      }
    },
  },
  watch: {
    legalPersonForm: {
      deep: true,
      handler(newVal) {
        this.$emit('legalPersonForm', newVal)
      }
    }
  }
}
</script>
@@ -267,7 +278,11 @@
    width: 100%;
  }
}
.money {
  font-size: 12px;
  margin-left: 2px;
  color: #909399;
}
.map-btn {
  width: 32px;
  height: 32px;