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
3b6130bf
Commit
3b6130bf
authored
Sep 02, 2025
by
任鸿志
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
refactor(outpatientCharging): 修复普通就诊结算时选择病人后自动选中对应医保类型
- 将过滤条件从 e 改为 this.patientInfo.yblx,以正确匹配病人医保类型 - 添加日志输出,便于调试
parent
a42e0f69
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
outpatientCharging.vue
src/views/jiesuan/outpatientCharging.vue
+4
-3
No files found.
src/views/jiesuan/outpatientCharging.vue
View file @
3b6130bf
...
@@ -1168,16 +1168,17 @@ export default {
...
@@ -1168,16 +1168,17 @@ export default {
//选中左边处方,展示右边方法
//选中左边处方,展示右边方法
seletei
(
e
)
{
seletei
(
e
)
{
this
.
man_name
=
''
this
.
man_name
=
''
let
searchByFind
=
this
.
tableData
.
cost
.
filter
(
item
=>
item
.
settle_type
.
name
===
e
)
let
searchByFind
=
this
.
tableData
.
cost
.
filter
(
item
=>
item
.
settle_type
.
name
===
this
.
patientInfo
.
yblx
)
let
arr
=
[]
let
arr
=
[]
for
(
let
index
=
0
;
index
<
searchByFind
.
length
;
index
++
)
{
for
(
let
index
=
0
;
index
<
searchByFind
.
length
;
index
++
)
{
if
(
searchByFind
[
index
].
settle_type
.
name
==
e
)
{
if
(
searchByFind
[
index
].
settle_type
.
name
==
this
.
patientInfo
.
yblx
)
{
arr
.
push
(
searchByFind
[
index
])
arr
.
push
(
searchByFind
[
index
])
}
}
}
}
console
.
log
(
this
.
patientInfo
.
yblx
,
'
ooooooooooooooooooooo
'
)
this
.
tableDataList
=
arr
this
.
tableDataList
=
arr
this
.
typeList
.
forEach
(
element
=>
{
this
.
typeList
.
forEach
(
element
=>
{
if
(
element
.
settle_type
.
name
==
e
)
{
if
(
element
.
settle_type
.
name
==
this
.
patientInfo
.
yblx
)
{
this
.
typelistno
=
element
.
settle_type
.
value
this
.
typelistno
=
element
.
settle_type
.
value
this
.
ztvalue
=
element
.
settle_type
this
.
ztvalue
=
element
.
settle_type
}
}
...
...
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