优化水电充值

This commit is contained in:
wuxw 2024-04-11 22:07:54 +08:00
parent ce1cfba190
commit 840a48d382

View File

@ -15,7 +15,7 @@
<text class="text-grey">剩余余额</text> <text class="text-grey">剩余余额</text>
</view> </view>
<view class="action"> <view class="action">
<text class="text-grey text-sm">{{prestoreDegrees}}</text> <text class="text-grey text-sm">{{curDegrees}}</text>
</view> </view>
</view> </view>
<view class="cu-item"> <view class="cu-item">
@ -53,8 +53,8 @@
return { return {
machineId:'', machineId:'',
machineName:'', machineName:'',
feeConfigName:'', address:'',
prestoreDegrees:'0', curDegrees:'0',
amount:'0', amount:'0',
appId:'', appId:'',
communityId:'', communityId:'',
@ -77,8 +77,8 @@
roomId:this.roomId roomId:this.roomId
}).then(_data=>{ }).then(_data=>{
_that.machineName=_data[0].machineName; _that.machineName=_data[0].machineName;
_that.feeConfigName=_data[0].feeConfigName; _that.address=_data[0].address;
_that.prestoreDegrees=_data[0].prestoreDegrees; _that.curDegrees=_data[0].curDegrees;
_that.amount=_data[0].amount; _that.amount=_data[0].amount;
}) })
}, },