加入 抄表度数功能

This commit is contained in:
java110 2021-07-22 13:17:36 +08:00
parent c100a0c938
commit ec87f752e9
2 changed files with 23 additions and 1 deletions

View File

@ -56,6 +56,8 @@ export function getRoomFees(_objData,_tmpRoom) {
_tmpRoom.paymentCycle = _roomFee.paymentCycle;
_tmpRoom.preDegrees = _roomFee.preDegrees;
_tmpRoom.curDegrees = _roomFee.curDegrees;
_tmpRoom.preReadingTime = _roomFee.preReadingTime;
_tmpRoom.curReadingTime = _roomFee.curReadingTime;
moreRooms.push(_tmpRoom);
});
resolve(moreRooms);

View File

@ -74,6 +74,14 @@
<text class="text-grey text-sm">{{endTime }}</text>
</view>
</view>
<view class="cu-item" v-if="preReadingTime">
<view class="content">
<text class="text-grey">上期读表时间</text>
</view>
<view class="action">
<text class="text-grey text-sm">{{preReadingTime }}</text>
</view>
</view>
<view class="cu-item" v-if="preDegrees">
<view class="content">
<text class="text-grey">上期度数</text>
@ -82,6 +90,14 @@
<text class="text-grey text-sm">{{preDegrees }}</text>
</view>
</view>
<view class="cu-item" v-if="curReadingTime">
<view class="content">
<text class="text-grey">本期读表时间</text>
</view>
<view class="action">
<text class="text-grey text-sm">{{curReadingTime }}</text>
</view>
</view>
<view class="cu-item" v-if="curDegrees">
<view class="content">
<text class="text-grey">本期度数</text>
@ -180,7 +196,9 @@
paymentCycle:1,
squarePrice: 0,
preDegrees:'',
curDegrees:''
curDegrees:'',
preReadingTime:'',
curReadingTime:''
};
},
@ -225,6 +243,8 @@
this.squarePrice = _fee.squarePrice;
this.preDegrees = _fee.preDegrees;
this.curDegrees = _fee.curDegrees;
this.preReadingTime = _fee.preReadingTime;
this.curReadingTime = _fee.curReadingTime;
if(this.feeFlag == '2006012'){
return;
}