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

refactor(outpatientCharging): 修改结算时 is_mt 参数的逻辑

- 根据 man_name 的值决定 is_mt 的参数
- 如果 man_name 为 '2',则将 is_mt 设为 true
- 否则,使用 selectTableArr[0].settle_type.is_mt 的值
parent cc5b9ee5
...@@ -2456,7 +2456,7 @@ export default { ...@@ -2456,7 +2456,7 @@ export default {
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.selectTableArr[0] ? this.selectTableArr[0].settle_type.is_mt : '', is_mt: 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