优化代码

This commit is contained in:
java110 2021-06-30 15:18:58 +08:00
parent ef51a1cd66
commit 0a774d79e9
2 changed files with 2 additions and 2 deletions

View File

@ -57,7 +57,7 @@
<td class="text-center" v-if="fee.computingFormula == '5005' || fee.computingFormula == '9009'">
<div>上期度数:{{fee.preDegrees}}</div>
<div>本期度数:{{fee.curDegrees}}</div>
<div>单价:{{_getOnePrice(fee)}}</div>
<div>单价:{{_getOnePrice1(fee)}}</div>
<div>附加费:{{fee.additionalAmount}}</div>
</td>
<td class="text-center" v-else-if="fee.computingFormula == '6006'">

View File

@ -179,7 +179,7 @@
}
);
},
_getOnePrice:function (fee) {
_getOnePrice1:function (fee) {
let _price = fee.mwPrice;
if (!_price) {
return fee.squarePrice;