Commit 5e73ca30 authored by xuke's avatar xuke

能源消耗

parent b7015d8c
...@@ -125,7 +125,7 @@ const timeFormat = (time) => { ...@@ -125,7 +125,7 @@ const timeFormat = (time) => {
//表单校验规则 //表单校验规则
const rules = reactive({ const rules = reactive({
supplyName: [ supplyId: [
{ required: true, message: "供热站是必填项", trigger: "blur" } { required: true, message: "供热站是必填项", trigger: "blur" }
], ],
energyType: [ energyType: [
...@@ -413,7 +413,7 @@ onMounted(() => { ...@@ -413,7 +413,7 @@ onMounted(() => {
<table cellpadding="0" cellspacing="0"> <table cellpadding="0" cellspacing="0">
<tr> <tr>
<td style="text-align: left"> <td style="text-align: left">
<el-form-item prop="supplyName" style="margin: 0; padding: 0; width: 100%;"> <el-form-item prop="supplyId" style="margin: 0; padding: 0; width: 100%;">
<el-select v-model="formEnergy.supplyId" placeholder="请选择"> <el-select v-model="formEnergy.supplyId" placeholder="请选择">
<el-option v-for="item in supplyData" :key="item.supplyId" :label="item.supplyName" <el-option v-for="item in supplyData" :key="item.supplyId" :label="item.supplyName"
:value="item.supplyId" /> :value="item.supplyId" />
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment