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

refactor(settlement): 修改结算逻辑

- 注释掉 is_gz 字段,暂时不使用
- 调整 is_mt 字段的逻辑:
  - 当 man_name 为 3 时,设置为 false
  - 当 man_name 为 2 时,设置为 true
  - 否则使用 selectTableArr[0].settle_type.is_mt 的值
parent f0c05288
...@@ -2450,13 +2450,13 @@ export default { ...@@ -2450,13 +2450,13 @@ export default {
settlementPre({ settlementPre({
sy: this.is_sy, sy: this.is_sy,
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.man_name == '1'?'': this.man_name == '2'?'': this.man_name == '3'?'':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,
is_mt: this.man_name == '2'?true:this.selectTableArr[0] ? this.selectTableArr[0].settle_type.is_mt : '', is_mt: this.man_name == '3' ? false :this.man_name == '2'?true:this.selectTableArr[0] ? this.selectTableArr[0].settle_type.is_mt : '',
family_pay: false, family_pay: false,
settle_type: this.selectTableArr[0] ? this.selectTableArr[0].settle_type.code : '', settle_type: this.selectTableArr[0] ? this.selectTableArr[0].settle_type.code : '',
}) })
......
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