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

fix(settle): 优化慢病病种为空时的结算限制逻辑

- 扩展了慢病病种为空时的检查范围,适用于所有非前三类人员
- 修改了提示消息的类型,从 success 改为 error,以更好地反映错误情况
parent 512f0882
......@@ -1925,9 +1925,10 @@ export default {
} else {
// 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 (this.man_name != '1' &&this.man_name != '2' && this.man_name != '3' && (this.man_name == '4' || this.selectTableArr[0]?.settle_type.is_mb==true) ) {
if (zhenduan=='') {
this.$message.success('慢病病种为空,禁止结算!')
this.$message.error('慢病病种为空,禁止结算!')
return false
}
}
......
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