This commit is contained in:
shiyj1101 2021-06-30 15:45:32 +08:00
commit d106cfe62c
4 changed files with 23 additions and 3 deletions

View File

@ -80,7 +80,7 @@
:title="_simplifyRoomGetFeeOwnerInfo(fee.feeAttrs)">
<div>上期度数:{{fee.preDegrees}}</div>
<div>本期度数:{{fee.curDegrees}}</div>
<div>单价:{{fee.mwPrice?fee.mwPrice:fee.squarePrice}}</div>
<div>单价:{{getOnePrice1(fee)}}</div>
<div>附加费:{{fee.additionalAmount}}</div>
</td>
<td class="text-center" v-else-if="fee.computingFormula == '6006'"

View File

@ -51,6 +51,16 @@
});
},
methods: {
getOnePrice1:function(fee) {
let _price = fee.mwPrice;
if (!_price) {
return fee.squarePrice;
}
if (parseFloat(_price) > 0) {
return _price;
}
return fee.squarePrice;
},
_listSimplifyRoomFee: function (_page, _row) {
let param = {
params: {

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>单价:{{fee.mwPrice?fee.mwPrice:fee.squarePrice}}</div>
<div>单价:{{getOnePrice1(fee)}}</div>
<div>附加费:{{fee.additionalAmount}}</div>
</td>
<td class="text-center" v-else-if="fee.computingFormula == '6006'">

View File

@ -41,6 +41,16 @@
});
},
methods: {
getOnePrice1:function(fee) {
let _price = fee.mwPrice;
if (!_price) {
return fee.squarePrice;
}
if (parseFloat(_price) > 0) {
return _price;
}
return fee.squarePrice;
},
_loadListRoomCreateFeeInfo: function (_page, _row) {
var param = {
params: {
@ -178,7 +188,7 @@
console.log('请求失败处理');
}
);
},
}
}
});
})(window.vc);