Commit 055f02f2 authored by 任鸿志's avatar 任鸿志

fix(outpatientCharging): 修正门诊结算界面的费用计算逻辑

- 在预结算功能中添加本次起付线和病人负担金额的计算
- 优化了费用结算的逻辑,确保费用计算准确无误
parent af78937f
......@@ -1834,6 +1834,8 @@ export default {
this.dialogVisible = true
this.yujiesuanload = false
this.bxxxinfo = response.data
// 本次起付线=本次起付线+病人负担金额
this.bxxxinfo.other_expense= this.bxxxinfo.other_expense+bxxxinfo.patient_burden
let frees = this.round(this.bxxxinfo.brfdje * 1 - this.bxxxinfo.his_deduct_amount * 1, 2)
let djf = this.round(this.round(frees - this.bxxxinfo.grzhzf * 1, 2) - this.bxxxinfo.gjzhzf * 1, 2)
if (this.bxxxinfo.personal_balance > djf) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment