Commit 512f0882 authored by 任鸿志's avatar 任鸿志

feat(settle): 结算时增加慢病病种为空的判断

- 在门诊结算页面添加了对慢病病种为空的判断逻辑
- 当满足特定条件时,如果未选择慢病病种,结算操作将被禁止并提示用户
parent a2ea861b
...@@ -1925,6 +1925,12 @@ export default { ...@@ -1925,6 +1925,12 @@ export default {
} else { } else {
// this.zhenduanData=this.moreshowdata.data.mzdbjbs_arr.filter(item => item.code === zhenduan)[0].name // this.zhenduanData=this.moreshowdata.data.mzdbjbs_arr.filter(item => item.code === zhenduan)[0].name
} }
if (this.man_name == '4' || this.selectTableArr[0]?.settle_type.is_mb==true) {
if (zhenduan=='') {
this.$message.success('慢病病种为空,禁止结算!')
return false
}
}
this.yujiesuanLoading = true this.yujiesuanLoading = true
this.xj_amount = 0 this.xj_amount = 0
...@@ -1942,7 +1948,7 @@ export default { ...@@ -1942,7 +1948,7 @@ export default {
// is_gz: this.man_name == '3' ? true : false, // is_gz: this.man_name == '3' ? true : false,
injury_date: this.GSdatatime, injury_date: this.GSdatatime,
p_jbbm: p_jbbm:
this.man_name == '1' this.man_name == '1'
? '' ? ''
: this.man_name == '2' : this.man_name == '2'
? '' ? ''
......
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