Commit 90c0a87f authored by 任鸿志's avatar 任鸿志

fix(jiesuan): 修复获取自付比例时未传入 patient_id 的问题

- 在 outpatient、outpatientCharging、outpatientTwo 和 outpatientYfang 组件中,为 getProp 方法添加 patient_id 参数
- 修复 outpatientYfang 组件中 zfbl_desc 赋值逻辑
parent 16156a73
...@@ -2261,7 +2261,9 @@ export default { ...@@ -2261,7 +2261,9 @@ export default {
}, },
//获取自付比例 //获取自付比例
getProp(row) { getProp(row) {
console.log(this.patientData.patient_id)
get_zfbl({ get_zfbl({
patient_id:this.patientData.patient_id,
item_code: row.item_code, item_code: row.item_code,
//yltclb:row.settle_type.is_mb==true?'4':'6', //yltclb:row.settle_type.is_mb==true?'4':'6',
rqlb: this.patientData.crowd_type, rqlb: this.patientData.crowd_type,
......
...@@ -2404,6 +2404,7 @@ export default { ...@@ -2404,6 +2404,7 @@ export default {
//获取自付比例 //获取自付比例
getProp(row) { getProp(row) {
get_zfbl({ get_zfbl({
patient_id:this.patientData.patient_id,
item_code: row.item_code, item_code: row.item_code,
//yltclb:row.settle_type.is_mb==true?'4':'6', //yltclb:row.settle_type.is_mb==true?'4':'6',
rqlb: this.is_sy ? 'E' : this.patientData.crowd_type, rqlb: this.is_sy ? 'E' : this.patientData.crowd_type,
......
...@@ -2003,6 +2003,7 @@ export default { ...@@ -2003,6 +2003,7 @@ export default {
//获取自付比例 //获取自付比例
getProp(row) { getProp(row) {
get_zfbl({ get_zfbl({
patient_id:this.patientData.patient_id,
item_code: row.item_code, item_code: row.item_code,
//yltclb:row.settle_type.is_mb==true?'4':'6', //yltclb:row.settle_type.is_mb==true?'4':'6',
rqlb: this.patientData.crowd_type, rqlb: this.patientData.crowd_type,
......
...@@ -2174,6 +2174,7 @@ export default { ...@@ -2174,6 +2174,7 @@ export default {
//获取自付比例 //获取自付比例
getProp(row) { getProp(row) {
get_zfbl({ get_zfbl({
patient_id:this.patientData.patient_id,
item_code: row.item_code, item_code: row.item_code,
//yltclb:row.settle_type.is_mb==true?'4':'6', //yltclb:row.settle_type.is_mb==true?'4':'6',
rqlb: this.patientData.crowd_type, rqlb: this.patientData.crowd_type,
...@@ -2188,7 +2189,7 @@ export default { ...@@ -2188,7 +2189,7 @@ export default {
this.costlist.forEach(element => { this.costlist.forEach(element => {
if (row.item_code == element.item_code) { if (row.item_code == element.item_code) {
response.data.zfbl_desc.forEach(elements => { response.data.zfbl_desc.forEach(elements => {
element.zfbl_desc == response.data.zfbl_desc //[elements.key]=elements.value element.zfbl_desc = response.data.zfbl_desc //[elements.key]=elements.value
}) })
} }
}) })
......
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