Commit 46ee1319 authored by 任鸿志's avatar 任鸿志

refactor(settlement): 优化结算流程中的慢病判断逻辑

- 修改了慢病判断条件,增加了对 man_name 的检查
- 注释掉了慢病未审核禁止结算的代码块
- 优化了诊断代码 p_jbbm 的赋值逻辑,根据 man_name 的不同值进行处理
parent defa0e33
...@@ -2380,9 +2380,10 @@ export default { ...@@ -2380,9 +2380,10 @@ export default {
}, },
selectCardYiboPreselect(data, x, y) { selectCardYiboPreselect(data, x, y) {
// 判断慢病 // 判断慢病
if (this.selectTableArr[0]?.settle_type.is_mb) { if (this.selectTableArr[0]?.settle_type.is_mb && this.man_name=='') {
// 判断多病种慢病 // 判断多病种慢病
if (data?.mzdbjbs_arr.length > 1) {
if (data?.mzdbjbs_arr.length > 1 ) {
this.moreshow = true this.moreshow = true
this.moreshowdata = { this.moreshowdata = {
data: data, data: data,
...@@ -2392,28 +2393,28 @@ export default { ...@@ -2392,28 +2393,28 @@ export default {
} else { } else {
this.selectCardYiboPre(data, x, y, data?.mzdbjbs_arr[0]?.code) this.selectCardYiboPre(data, x, y, data?.mzdbjbs_arr[0]?.code)
} }
// 慢病未审核禁止结算 // // 慢病未审核禁止结算
if (this.selectTableArr.some(item => item.reviewed != '1')) { // if (this.selectTableArr.some(item => item.reviewed != '1')) {
this.$alert('存在未审核的收费项目,请审核后再进行结算!', '提示', { // this.$alert('存在未审核的收费项目,请审核后再进行结算!', '提示', {
confirmButtonText: '确定', // confirmButtonText: '确定',
callback: action => { // callback: action => {
// this.$message({ // // this.$message({
// type: 'info', // // type: 'info',
// message: `action: ${ action }` // // message: `action: ${ action }`
// }); // // });
}, // },
}) // })
return false // return false
} // }
} else { } else {
// 省职未审核禁止结算 // // 省职未审核禁止结算
if (this.selectTableArr.some(item => item.reviewed != '1') && this.form.insurance_type == 'PROVINCE') { // if (this.selectTableArr.some(item => item.reviewed != '1') && this.form.insurance_type == 'PROVINCE') {
this.$alert('存在未审核的收费项目,请审核后再进行结算!', '提示', { // this.$alert('存在未审核的收费项目,请审核后再进行结算!', '提示', {
confirmButtonText: '确定', // confirmButtonText: '确定',
callback: action => {}, // callback: action => {},
}) // })
return false // return false
} // }
this.selectCardYiboPre(data, x, y, data?.mzdbjbs_arr[0]?.code) this.selectCardYiboPre(data, x, y, data?.mzdbjbs_arr[0]?.code)
} }
// if (data?.mzdbjbs_arr.length > 1 && this.selectTableArr[0]?.settle_type.is_mb) { // if (data?.mzdbjbs_arr.length > 1 && this.selectTableArr[0]?.settle_type.is_mb) {
...@@ -2449,7 +2450,7 @@ export default { ...@@ -2449,7 +2450,7 @@ export default {
channel: this.channel, channel: this.channel,
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: this.selectTableArr[0]?.settle_type.is_mb ? zhenduan : '', p_jbbm: this.man_name == '1'?'': this.man_name == '2'?'': this.man_name == '3'?'':this.selectTableArr[0]?.settle_type.is_mb ? zhenduan : '',
patient_id: this.patientData.patient_id, patient_id: this.patientData.patient_id,
cache_key: data.cache_key, cache_key: data.cache_key,
prescription_nos: this.cost_id, prescription_nos: this.cost_id,
......
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