|
@@ -1,6 +1,7 @@
|
|
<template>
|
|
<template>
|
|
<el-dialog :title="title" :visible.sync="dialogFormVisible" width="900px" @close="close" top="2%">
|
|
<el-dialog :title="title" :visible.sync="dialogFormVisible" width="900px" @close="close" top="2%">
|
|
- <el-form ref="form" :model="form" :rules="rules" label-width="170px">
|
|
|
|
|
|
+ <!-- :rules="rules" -->
|
|
|
|
+ <el-form ref="form" :model="form" label-width="170px">
|
|
<el-row>
|
|
<el-row>
|
|
<el-col :span="12"><el-form-item label="编号" prop="id"><el-input placeholder="请输入" class="inputs" v-model.trim="form.id"></el-input></el-form-item></el-col>
|
|
<el-col :span="12"><el-form-item label="编号" prop="id"><el-input placeholder="请输入" class="inputs" v-model.trim="form.id"></el-input></el-form-item></el-col>
|
|
<el-col :span="12"><el-form-item label="编码" prop="nemCode"><el-input placeholder="请输入" class="inputs" v-model.trim="form.nemCode"></el-input></el-form-item></el-col>
|
|
<el-col :span="12"><el-form-item label="编码" prop="nemCode"><el-input placeholder="请输入" class="inputs" v-model.trim="form.nemCode"></el-input></el-form-item></el-col>
|
|
@@ -33,7 +34,6 @@
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :span="12">
|
|
<el-col :span="12">
|
|
<el-form-item label="区域编号" prop="regionId">
|
|
<el-form-item label="区域编号" prop="regionId">
|
|
- <!-- <el-input placeholder="请输入" class="inputs" v-model.trim="form.regionId"></el-input> -->
|
|
|
|
<el-select style="width:200px" v-model="form.regionId" placeholder="请选择">
|
|
<el-select style="width:200px" v-model="form.regionId" placeholder="请选择">
|
|
<el-option
|
|
<el-option
|
|
v-for="item in regionIdOptions"
|
|
v-for="item in regionIdOptions"
|
|
@@ -46,7 +46,6 @@
|
|
</el-col>
|
|
</el-col>
|
|
<el-col :span="12">
|
|
<el-col :span="12">
|
|
<el-form-item label="集团编号" prop="groupId">
|
|
<el-form-item label="集团编号" prop="groupId">
|
|
- <!-- <el-input placeholder="请输入" class="inputs" v-model.trim="form.groupId"></el-input> -->
|
|
|
|
<el-select style="width:200px" v-model="form.groupId" placeholder="请选择">
|
|
<el-select style="width:200px" v-model="form.groupId" placeholder="请选择">
|
|
<el-option
|
|
<el-option
|
|
v-for="item in groupIdOptions"
|
|
v-for="item in groupIdOptions"
|
|
@@ -62,8 +61,18 @@
|
|
<el-col :span="12"><el-form-item label="在建容量" prop="conCapacity"><el-input placeholder="请输入" class="inputs" v-model.trim="form.conCapacity"></el-input></el-form-item></el-col>
|
|
<el-col :span="12"><el-form-item label="在建容量" prop="conCapacity"><el-input placeholder="请输入" class="inputs" v-model.trim="form.conCapacity"></el-input></el-form-item></el-col>
|
|
<el-col :span="12"><el-form-item label="并网容量" prop="gridCapacity"><el-input placeholder="请输入" class="inputs" v-model.trim="form.gridCapacity"></el-input></el-form-item></el-col>
|
|
<el-col :span="12"><el-form-item label="并网容量" prop="gridCapacity"><el-input placeholder="请输入" class="inputs" v-model.trim="form.gridCapacity"></el-input></el-form-item></el-col>
|
|
<el-col :span="12"><el-form-item label="吊装容量" prop="hoiCapacity"><el-input placeholder="请输入" class="inputs" v-model.trim="form.hoiCapacity"></el-input></el-form-item></el-col>
|
|
<el-col :span="12"><el-form-item label="吊装容量" prop="hoiCapacity"><el-input placeholder="请输入" class="inputs" v-model.trim="form.hoiCapacity"></el-input></el-form-item></el-col>
|
|
- <el-col :span="12"><el-form-item label="首批并网时间" prop="firstGridTime"><el-input placeholder="请输入" class="inputs" v-model.trim="form.firstGridTime"></el-input></el-form-item></el-col>
|
|
|
|
- <el-col :span="12"><el-form-item label="整场投运时间" prop="wholeGridTime"><el-input placeholder="请输入" class="inputs" v-model.trim="form.wholeGridTime"></el-input></el-form-item></el-col>
|
|
|
|
|
|
+ <!-- <el-col :span="12"><el-form-item label="首批并网时间" prop="firstGridTime"><el-input placeholder="请输入" class="inputs" v-model.trim="form.firstGridTime"></el-input></el-form-item></el-col> -->
|
|
|
|
+ <el-col :span="12">
|
|
|
|
+ <el-form-item label="首批并网时间" prop="firstGridTime">
|
|
|
|
+ <el-date-picker value-format="yyyy-MM-dd" key="100" style="width:200px" @input="changeDate" v-model="form.firstGridTime" type="month" placeholder="选择月"></el-date-picker>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </el-col>
|
|
|
|
+ <!-- <el-col :span="12"><el-form-item label="整场投运时间" prop="wholeGridTime"><el-input placeholder="请输入" class="inputs" v-model.trim="form.wholeGridTime"></el-input></el-form-item></el-col> -->
|
|
|
|
+ <el-col :span="12">
|
|
|
|
+ <el-form-item label="整场投运时间" prop="wholeGridTime">
|
|
|
|
+ <el-date-picker value-format="yyyy-MM-dd" key="100" style="width:200px" @input="changeDate" v-model="form.wholeGridTime" type="month" placeholder="选择月"></el-date-picker>
|
|
|
|
+ </el-form-item>
|
|
|
|
+ </el-col>
|
|
<el-col :span="12"><el-form-item label="测风塔数量" prop="anemoNumber"><el-input placeholder="请输入" class="inputs" v-model.trim="form.anemoNumber"></el-input></el-form-item></el-col>
|
|
<el-col :span="12"><el-form-item label="测风塔数量" prop="anemoNumber"><el-input placeholder="请输入" class="inputs" v-model.trim="form.anemoNumber"></el-input></el-form-item></el-col>
|
|
<el-col :span="12"><el-form-item label="升压站数量" prop="stationNumber"><el-input placeholder="请输入" class="inputs" v-model.trim="form.stationNumber"></el-input></el-form-item></el-col>
|
|
<el-col :span="12"><el-form-item label="升压站数量" prop="stationNumber"><el-input placeholder="请输入" class="inputs" v-model.trim="form.stationNumber"></el-input></el-form-item></el-col>
|
|
</el-row>
|
|
</el-row>
|
|
@@ -82,8 +91,8 @@
|
|
<!-- 光伏 -->
|
|
<!-- 光伏 -->
|
|
<el-divider><span>光伏信息</span></el-divider>
|
|
<el-divider><span>光伏信息</span></el-divider>
|
|
<el-row>
|
|
<el-row>
|
|
- <el-col :span="12"><el-form-item label="光伏装机容量" prop="capacity2"><el-input placeholder="请输入" class="inputs" v-model.trim="form.capacity2"></el-input></el-form-item></el-col>
|
|
|
|
- <el-col :span="12"><el-form-item label="光伏容量单位" prop="capacityUnit2"><el-input placeholder="请输入" class="inputs" v-model.trim="form.capacityUnit2"></el-input></el-form-item></el-col>
|
|
|
|
|
|
+ <el-col :span="12"><el-form-item label="光伏装机容量" prop="capacity"><el-input placeholder="请输入" class="inputs" v-model.trim="form.capacity"></el-input></el-form-item></el-col>
|
|
|
|
+ <el-col :span="12"><el-form-item label="光伏容量单位" prop="capacityUnit"><el-input placeholder="请输入" class="inputs" v-model.trim="form.capacityUnit"></el-input></el-form-item></el-col>
|
|
<el-col :span="12"><el-form-item label="光伏装机数量集中" prop="quantityJz"><el-input placeholder="请输入" class="inputs" v-model.trim="form.quantityJz"></el-input></el-form-item></el-col>
|
|
<el-col :span="12"><el-form-item label="光伏装机数量集中" prop="quantityJz"><el-input placeholder="请输入" class="inputs" v-model.trim="form.quantityJz"></el-input></el-form-item></el-col>
|
|
<el-col :span="12"><el-form-item label="光伏装机数量组串" prop="quantityZc"><el-input placeholder="请输入" class="inputs" v-model.trim="form.quantityZc"></el-input></el-form-item></el-col>
|
|
<el-col :span="12"><el-form-item label="光伏装机数量组串" prop="quantityZc"><el-input placeholder="请输入" class="inputs" v-model.trim="form.quantityZc"></el-input></el-form-item></el-col>
|
|
<el-col :span="12"><el-form-item label="接入光伏装机容量" prop="jrCapacity"><el-input placeholder="请输入" class="inputs" v-model.trim="form.jrCapacity"></el-input></el-form-item></el-col>
|
|
<el-col :span="12"><el-form-item label="接入光伏装机容量" prop="jrCapacity"><el-input placeholder="请输入" class="inputs" v-model.trim="form.jrCapacity"></el-input></el-form-item></el-col>
|
|
@@ -127,8 +136,8 @@ export default {
|
|
windCapacityUnit: "",
|
|
windCapacityUnit: "",
|
|
windQuantityHs: "",
|
|
windQuantityHs: "",
|
|
windQuantityLd: "",
|
|
windQuantityLd: "",
|
|
- capacity2: "",
|
|
|
|
- capacityUnit2: "",
|
|
|
|
|
|
+ capacity: "",
|
|
|
|
+ capacityUnit: "",
|
|
quantityJz: "",
|
|
quantityJz: "",
|
|
quantityZc: "",
|
|
quantityZc: "",
|
|
jrwindCapacity: "",
|
|
jrwindCapacity: "",
|
|
@@ -173,8 +182,8 @@ export default {
|
|
windCapacityUnit: [{ required: true, trigger: 'blur', message: '请输入' }],
|
|
windCapacityUnit: [{ required: true, trigger: 'blur', message: '请输入' }],
|
|
windQuantityHs: [{ required: true, trigger: 'blur', message: '请输入' }],
|
|
windQuantityHs: [{ required: true, trigger: 'blur', message: '请输入' }],
|
|
windQuantityLd: [{ required: true, trigger: 'blur', message: '请输入' }],
|
|
windQuantityLd: [{ required: true, trigger: 'blur', message: '请输入' }],
|
|
- capacity2: [{ required: true, trigger: 'blur', message: '请输入' }],
|
|
|
|
- capacityUnit2: [{ required: true, trigger: 'blur', message: '请输入' }],
|
|
|
|
|
|
+ capacity: [{ required: true, trigger: 'blur', message: '请输入' }],
|
|
|
|
+ capacityUnit: [{ required: true, trigger: 'blur', message: '请输入' }],
|
|
quantityJz: [{ required: true, trigger: 'blur', message: '请输入' }],
|
|
quantityJz: [{ required: true, trigger: 'blur', message: '请输入' }],
|
|
quantityZc: [{ required: true, trigger: 'blur', message: '请输入' }],
|
|
quantityZc: [{ required: true, trigger: 'blur', message: '请输入' }],
|
|
jrwindCapacity: [{ required: true, trigger: 'blur', message: '请输入' }],
|
|
jrwindCapacity: [{ required: true, trigger: 'blur', message: '请输入' }],
|
|
@@ -216,6 +225,9 @@ export default {
|
|
},
|
|
},
|
|
created() { this.optionsData()},
|
|
created() { this.optionsData()},
|
|
methods: {
|
|
methods: {
|
|
|
|
+ changeDate() {
|
|
|
|
+ this.$forceUpdate()
|
|
|
|
+ },
|
|
optionsData(){
|
|
optionsData(){
|
|
api.companys({id:"",name:"", pageNum: 1,pageSize: 1000,}).then(res => {
|
|
api.companys({id:"",name:"", pageNum: 1,pageSize: 1000,}).then(res => {
|
|
if (res.data) {
|
|
if (res.data) {
|