|
@@ -5,8 +5,8 @@
|
|
|
<el-form-item label="id" prop="id">
|
|
|
<el-input class="inputs" v-model="form.id" autocomplete="off" :disabled="!idAdd?true:false"></el-input>
|
|
|
</el-form-item>
|
|
|
- <el-form-item label="编码" prop="code">
|
|
|
- <el-input class="inputs" v-model.trim="form.code" autocomplete="off"></el-input>
|
|
|
+ <el-form-item label="编码" prop="nemCode">
|
|
|
+ <el-input class="inputs" v-model.trim="form.nemCode" autocomplete="off"></el-input>
|
|
|
</el-form-item>
|
|
|
</div>
|
|
|
<div class="lists">
|
|
@@ -18,14 +18,14 @@
|
|
|
</el-form-item>
|
|
|
</div>
|
|
|
<div class="lists">
|
|
|
- <el-form-item label="风场编号" prop="windpowerstationid">
|
|
|
- <el-select v-model="form.windpowerstationid" placeholder="请选择" clearable>
|
|
|
+ <el-form-item label="风场编号" prop="windpowerstationId">
|
|
|
+ <el-select v-model="form.windpowerstationId" placeholder="请选择" clearable style="width: 200px;">
|
|
|
<el-option v-for="item in stationList" :key="item.id" :label="item.name" :value="item.id">
|
|
|
</el-option>
|
|
|
</el-select>
|
|
|
</el-form-item>
|
|
|
- <el-form-item label="顺序" prop="ordernum">
|
|
|
- <el-input class="inputs" v-model="form.ordernum" autocomplete="off"></el-input>
|
|
|
+ <el-form-item label="顺序" prop="orderNum">
|
|
|
+ <el-input class="inputs" v-model="form.orderNum" autocomplete="off"></el-input>
|
|
|
</el-form-item>
|
|
|
</div>
|
|
|
</el-form>
|
|
@@ -55,20 +55,20 @@ export default {
|
|
|
return {
|
|
|
form: {
|
|
|
id: '',
|
|
|
- code: '',
|
|
|
+ nemCode: '',
|
|
|
name: '',
|
|
|
aname: '',
|
|
|
- windpowerstationid: '',
|
|
|
- ordernum: ''
|
|
|
+ windpowerstationId: '',
|
|
|
+ orderNum: ''
|
|
|
|
|
|
},
|
|
|
rules: {
|
|
|
id: [{ required: true, trigger: 'blur', message: '请输入' }],
|
|
|
- code: [{ required: true, trigger: 'blur', message: '请输入' }],
|
|
|
+ nemCode: [{ required: true, trigger: 'blur', message: '请输入' }],
|
|
|
name: [{ required: true, trigger: 'blur', message: '请输入' }],
|
|
|
aname: [{ required: true, trigger: 'blur', message: '请输入' }],
|
|
|
- windpowerstationid: [{ required: true, trigger: 'blur', message: '请输入' }],
|
|
|
- ordernum: [{ required: true, trigger: 'blur', message: '请输入' }]
|
|
|
+ windpowerstationId: [{ required: true, trigger: 'blur', message: '请输入' }],
|
|
|
+ orderNum: [{ required: true, trigger: 'blur', message: '请输入' }]
|
|
|
},
|
|
|
title: '',
|
|
|
dialogFormVisible: false,
|