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

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

- 修复了结算类型赋值逻辑,确保根据 man_name 正确设置结算类型
- 优化了代码格式,提高了可读性
parent 57201ead
......@@ -2517,7 +2517,7 @@ export default {
this.bxxxinfo = res.data
this.bxxxinfo.his_deduct_amount = 0
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.man_name == '1' ? '自费' : this.man_name == '2' ? '门诊统筹' : this.man_name == '3' ? '医保个账' : this.man_name == '4' ? '门诊慢性病' : this.typeList[0].settle_type.name
if (res.data.mzxets != '') {
this.dataText = res.data.mzxets
this.GSshow = true
......
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