|
@@ -63,7 +63,7 @@
|
63
|
63
|
<div class="content" style="margin-top:5px;margin-left:0;">
|
64
|
64
|
<span class="text" style="text-align:left;display:block;height:0.4rem;" id="txms">透后称重:<span style="color:#ec6618;display:inline-block;text-align:center;margin:0 2px;">{{getAfterWeight(record)}}</span>kg=
|
65
|
65
|
透后总重:<span style="color:#ec6618;display:inline-block;text-align:center;center;margin:0 2px;">{{record.weight_after}}</span>kg-
|
66
|
|
- 衣服重:<span style="color:#ec6618;display:inline-block;text-align:center;center;margin:0 2px;">{{predialysis.additional_weight}}</span>kg
|
|
66
|
+ 衣服重:<span style="color:#ec6618;display:inline-block;text-align:center;center;margin:0 2px;">{{record.additional_weight}}</span>kg
|
67
|
67
|
</span>
|
68
|
68
|
</div>
|
69
|
69
|
<br>
|
|
@@ -85,7 +85,7 @@
|
85
|
85
|
<div class="content" style="margin-top:5px;margin-left:0;">
|
86
|
86
|
<span class="text" style="text-align:left;display:block;height:0.4rem;" id="txms">上次透后称重:<span style="color:#ec6618;display:inline-block;text-align:center;margin:0 2px;">{{getLastAfterWeight(last_record)}}</span>kg=
|
87
|
87
|
上次透后总重:<span style="color:#ec6618;display:inline-block;text-align:center;center;margin:0 2px;">{{last_record.weight_after}}</span>kg-
|
88
|
|
- 上次衣服重:<span style="color:#ec6618;display:inline-block;text-align:center;center;margin:0 2px;">{{last_predialysis.additional_weight}}</span>kg
|
|
88
|
+ 上次衣服重:<span style="color:#ec6618;display:inline-block;text-align:center;center;margin:0 2px;">{{last_record.additional_weight}}</span>kg
|
89
|
89
|
</span>
|
90
|
90
|
</div>
|
91
|
91
|
<br>
|
|
@@ -197,8 +197,8 @@ export default {
|
197
|
197
|
if (last_record.id > 0) {
|
198
|
198
|
if (last_record.weight_after > 0) {
|
199
|
199
|
let additional_weight = 0
|
200
|
|
- if (this.last_predialysis.additional_weight != undefined) {
|
201
|
|
- additional_weight = this.last_predialysis.additional_weight
|
|
200
|
+ if (this.last_record.additional_weight != undefined) {
|
|
201
|
+ additional_weight = this.last_record.additional_weight
|
202
|
202
|
}
|
203
|
203
|
return parseFloat(last_record.weight_after - additional_weight).toFixed(1)
|
204
|
204
|
} else {
|