Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
省
省二结算
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
任鸿志
省二结算
Commits
1086f385
Commit
1086f385
authored
Jul 04, 2025
by
任鸿志
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix(outpatientCharging): 修复共济支付逻辑
- 优化了共济支付相关的计算逻辑 - 调整了患者负担、医保扣除金额等字段的处理方式 - 修复了部分潜在的bug和性能问题
parent
59febbd0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
38 additions
and
31 deletions
+38
-31
outpatientCharging.vue
src/views/jiesuan/outpatientCharging.vue
+38
-31
No files found.
src/views/jiesuan/outpatientCharging.vue
View file @
1086f385
...
...
@@ -176,7 +176,6 @@
<div
class=
"form_item"
>
<el-tag
class=
"label"
color=
"#E7EEFF"
>
人员类别
</el-tag>
<el-input
v-model=
"patientData.type.name"
disabled
></el-input>
</div>
</el-form-item>
<el-form-item>
...
...
@@ -677,9 +676,9 @@ export default {
cardType
:
''
,
// 卡类型
patientData
:
{
type
:
{},
settle_type
:{
name
:
''
}
settle_type
:
{
name
:
''
,
}
,
},
tableDataList
:
[],
only_qq
:
0
,
...
...
@@ -765,9 +764,9 @@ export default {
name
:
''
,
},
patient_burden
:
0
,
his_deduct_amount
:
0
,
grzhzf
:
0
,
patient_burden
:
0
,
his_deduct_amount
:
0
,
grzhzf
:
0
,
djf
:
0
,
zhye
:
0
,
brxm
:
''
,
...
...
@@ -788,7 +787,7 @@ export default {
form
:
{
djf
:
0
,
admin_djf
:
''
,
grzhzf
:
0
,
grzhzf
:
0
,
ybkh
:
''
,
sfzh
:
''
,
jbjg
:
''
,
...
...
@@ -1064,14 +1063,14 @@ export default {
//当共济支付开关打开时,其他额度根据共济变动
gjzhifu
(
e
)
{
this
.
$forceUpdate
()
if
(
this
.
bxxxinfo
.
his_deduct_amount
==
''
)
{
if
(
this
.
bxxxinfo
.
his_deduct_amount
==
''
)
{
this
.
bxxxinfo
.
his_deduct_amount
=
0
}
if
(
this
.
bxxxinfo
.
gjzhzf
==
''
)
{
this
.
bxxxinfo
.
gjzhzf
=
0
if
(
this
.
bxxxinfo
.
gjzhzf
==
''
)
{
this
.
bxxxinfo
.
gjzhzf
=
0
}
if
(
this
.
bxxxinfo
.
grzhzf
==
''
)
{
this
.
bxxxinfo
.
grzhzf
=
0
if
(
this
.
bxxxinfo
.
grzhzf
==
''
)
{
this
.
bxxxinfo
.
grzhzf
=
0
}
let
chongzhi
=
this
.
source_pay_amount
*
1
+
this
.
xj_amount
*
1
...
...
@@ -2398,10 +2397,10 @@ export default {
},
selectCardYiboPreselect
(
data
,
x
,
y
)
{
// 判断慢病
if
(
this
.
selectTableArr
[
0
]?.
settle_type
.
is_mb
&&
this
.
man_name
==
''
)
{
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
.
moreshowdata
=
{
data
:
data
,
...
...
@@ -2469,25 +2468,32 @@ export default {
channel
:
this
.
channel
,
// is_gz: this.man_name == '3' ? true : false,
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
,
cache_key
:
data
.
cache_key
,
prescription_nos
:
this
.
cost_id
,
is_mt
:
this
.
man_name
==
'
3
'
?
false
:
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
,
settle_type
:
this
.
selectTableArr
[
0
]
?
this
.
selectTableArr
[
0
].
settle_type
.
code
:
''
,
})
.
then
(
res
=>
{
this
.
bxxxinfo
=
res
.
data
this
.
bxxxinfo
.
his_deduct_amount
=
0
this
.
bxxxinfo
.
settle_type
=
this
.
man_name
==
'
1
'
?
'
自费
'
:
this
.
man_name
==
'
2
'
?
'
门诊统筹
'
:
this
.
man_name
==
'
3
'
?
'
医保个账
'
:
this
.
man_name
==
'
4
'
?
'
门诊慢性病
'
:
this
.
typeList
[
0
].
settle_type
.
name
this
.
bxxxinfo
.
settle_type
=
this
.
man_name
==
'
1
'
?
'
自费
'
:
this
.
man_name
==
'
2
'
?
'
门诊统筹
'
:
this
.
man_name
==
'
3
'
?
'
医保个账
'
:
this
.
man_name
==
'
4
'
?
'
门诊慢性病
'
:
this
.
typeList
[
0
].
settle_type
.
name
if
(
res
.
data
.
mzxets
!=
''
)
{
this
.
dataText
=
res
.
data
.
mzxets
this
.
GSshow
=
true
}
this
.
yujiesuanLoading
=
false
this
.
moreLoading
=
false
.
022
console
.
log
(
res
.
data
.
his_deduct_amount
,
'
*********************
'
)
familybalanceinfor
({
patient_id
:
this
.
patientData
.
patient_id
,
pre_key
:
res
.
data
.
pre_key
,
cache_key
:
this
.
form
.
cache_key
,
}).
then
(
async
res2
=>
{
this
.
familyType
=
res2
.
data
.
family_type
if
(
res2
.
data
.
family_type
==
'
1
'
)
{
this
.
bxxxinfo
.
gjzhzf
=
res2
.
data
.
gjzhxfje
this
.
bxxxinfo
.
grzhzf
=
this
.
round
(
res2
.
data
.
grzhzf
-
res2
.
data
.
gjzhxfje
,
2
)
...
...
@@ -2583,12 +2589,13 @@ export default {
channel
:
this
.
channel
,
})
.
then
(
res
=>
{
console
.
log
(
"
=----------------------
"
)
console
.
log
(
'
=----------------------
'
)
this
.
yujiesuanLoading
=
false
this
.
dialogVisible
=
true
this
.
bxxxinfo
=
res
.
data
console
.
log
(
this
.
bxxxinfo
,
'
++++++++++++++++++++
'
)
this
.
bxxxinfo
.
settle_type
=
this
.
man_name
==
'
1
'
?
'
自费
'
:
this
.
man_name
==
'
2
'
?
'
门诊统筹
'
:
this
.
man_name
==
'
3
'
?
'
医保个账
'
:
this
.
man_name
==
'
4
'
?
'
门诊慢性病
'
:
this
.
typeList
[
0
].
settle_type
.
name
console
.
log
(
this
.
bxxxinfo
,
'
++++++++++++++++++++
'
)
this
.
bxxxinfo
.
settle_type
=
this
.
man_name
==
'
1
'
?
'
自费
'
:
this
.
man_name
==
'
2
'
?
'
门诊统筹
'
:
this
.
man_name
==
'
3
'
?
'
医保个账
'
:
this
.
man_name
==
'
4
'
?
'
门诊慢性病
'
:
this
.
typeList
[
0
].
settle_type
.
name
this
.
bxxxinfo
.
gjzhzf
=
0
this
.
bxxxinfo
.
his_deduct_amount
=
0
this
.
bxxxinfo
.
grzhzf
=
0
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment