作者 shenhailong

用户水电缴费 样式调试 location 完善input 隐藏问题

... ... @@ -275,23 +275,24 @@
<el-input v-model="editLocationForm.adrname" auto-complete="off" placeholder="请输入名称"></el-input>
</el-form-item>
<el-col v-if="waterNumber === 'waterNum'">
<el-form-item label="水表编号" prop="adrName">
<el-select style="height: 38px; width: 100%"
v-model="editLocationForm.wmid"
filterable
remote
default-first-option
placeholder="请输入关键词"
:remote-method="waterMeterAlls"
:loading="listLoading" clearable>
<el-option
v-for="item in waterMeterList"
:key="item.wmId" :label="item.wmId" :value="item.wmId" clearable>
</el-option>
</el-select>
</el-form-item>
</el-col>
<el-form-item label="水表编号" prop="adrName" >
<!-- <el-input v-model="editLocationForm.adrname" auto-complete="off" placeholder=""></el-input>-->
<el-select style="height: 38px; width: 100%"
v-model="editLocationForm.wmid"
filterable
remote
default-first-option
placeholder="请输入关键词"
:remote-method="waterMeterAlls"
:loading="listLoading">
<el-option
v-for="item in waterMeterList"
:key="item.wmId" :label="item.wmId" :value="item.wmId">
</el-option>
</el-select>
</el-form-item>
... ... @@ -684,12 +685,12 @@
* @param row 为这行的数据对象
*/
handleEdit: function (index, row) {
this.waterNumber = undefined;
this.editFormLocationVisible = true;
this.editLocationForm = row;
console.log(row)
// if (row.type == 3){
// this.waterNumber ='waterNum'
// }
if (row.type == 3){
this.waterNumber ='waterNum';
}
},
... ...
... ... @@ -3,8 +3,8 @@
<el-main >
<el-row type="flex" class="row-bg" justify="center">
<el-col :span="20">
<div style="background-color: mediumseagreen; height: 45px; color: #e6f1fe;">
<h2>&nbsp;&nbsp;查询房间号</h2>
<div>
<h2 style="width: 150px" type="primary">&nbsp;&nbsp;查询房间号</h2>
</div>
<br/>
<el-form :inline="true" :model="filters">
... ... @@ -19,16 +19,15 @@
<el-col :span="24">
<el-form-item label="透支电费">
<el-input disabled="" style="width: 200px; -webkit-text-fill-color: #070A08" v-model="electricityForm.overdraftthreshold"></el-input>
<span style="margin-right: 200px">&nbsp;元</span>
<span style="margin-right: 140px">&nbsp;状态</span>
<span style="margin-right: 100px">&nbsp;元</span>
<span style="margin-right: 100px">&nbsp;状态</span>
<el-input disabled="" style="width: 200px; -webkit-text-fill-color: #070A08" v-model="electricityForm.payUserName"></el-input>
</el-form-item>
</el-col>
<el-col :span="24">
<el-form-item label="剩余电费">
<el-input disabled="" style="width: 200px; margin-right: 200px; -webkit-text-fill-color: #070A08" v-model="electricityForm.payLocationName"></el-input>
<span style="margin-right: 134px">&nbsp;充值日期</span>
<el-input disabled="" style="width: 200px; margin-right: 100px; -webkit-text-fill-color: #070A08" v-model="electricityForm.payLocationName"></el-input>
<span style="margin-right: 95px">&nbsp;充值日期</span>
<el-date-picker type="date" placeholder="" v-model="electricityForm.payTime" disabled="" style="width: 200px; -webkit-text-fill-color: #070A08" value-format="yyyy-MM-dd HH:mm:ss"></el-date-picker>
</el-form-item>
</el-col>
... ... @@ -49,16 +48,16 @@
<el-col :span="24">
<el-form-item label="透支水费">
<el-input disabled="" style="width: 200px; -webkit-text-fill-color: #070A08" v-model="waterForm.overdraftthreshold"></el-input>
<span style="margin-right: 200px">&nbsp;元</span>
<span style="margin-right: 100px">&nbsp;元</span>
<span style="margin-right: 140px">&nbsp;状态</span>
<span style="margin-right: 100px">&nbsp;状态</span>
<el-input disabled style="width: 200px; -webkit-text-fill-color: #070A08" v-model="waterForm.wmFmstate"></el-input>
</el-form-item>
</el-col>
<el-col :span="24">
<el-form-item label="剩余水费">
<el-input disabled="" style="width: 200px; -webkit-text-fill-color: #070A08; margin-right: 200px;" v-model="waterForm.subtraction"></el-input>
<span style="margin-right: 134px">&nbsp;充值日期</span>
<el-input disabled="" style="width: 200px; -webkit-text-fill-color: #070A08; margin-right: 100px;" v-model="waterForm.subtraction"></el-input>
<span style="margin-right: 95px">&nbsp;充值日期</span>
<el-date-picker type="date" placeholder="" v-model="waterForm.payTime" disabled="" style="width: 200px; -webkit-text-fill-color: #070A08" value-format="yyyy-MM-dd HH:mm:ss"></el-date-picker>
</el-form-item>
</el-col>
... ... @@ -93,7 +92,7 @@
data() {
return{
filters:{
roomNumber:'三号楼一层卫生间'
roomNumber:''
},
electricityForm:{
... ...