Commit a2f21b83 authored by 任鸿志's avatar 任鸿志

refactor(jiesuan): 优化门诊收费结算类型逻辑

- 移除冗余的结算类型判断逻辑
- 使用 bxxxinfo.settle_type 的 name 属性直接赋值
- 注释保留原始逻辑以备参考
parent 80228ad4
......@@ -2067,8 +2067,8 @@ export default {
this.yujiesuanLoading = false
this.dialogVisible = true
this.bxxxinfo = res.data
this.bxxxinfo.settle_type =
this.man_name == '1' ? '自费' : this.man_name == '2' ? '门诊统筹' : this.man_name == '3' ? '医保个账' : this.man_name == '4' ? '门诊慢性病' : this.typeList[0].settle_type.name
this.bxxxinfo.settle_type = this.bxxxinfo.settle_type = this.bxxxinfo.settle_type.name
// this.man_name == '1' ? '自费' : this.man_name == '2' ? '门诊统筹' : this.man_name == '3' ? '医保个账' : this.man_name == '4' ? '门诊慢性病' : this.typeList[0].settle_type.name
this.bxxxinfo.gjzhzf = 0
this.bxxxinfo.his_deduct_amount = 0
this.bxxxinfo.grzhzf = 0
......
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