Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
pet-finance-web
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
刘怀志
pet-finance-web
Commits
fd5fabb2
Commit
fd5fabb2
authored
Aug 23, 2023
by
刘怀志
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
66355 缴费管理-住院治疗缴费详情页面,押金信息标题旁边要显示住院状态
parent
0ebd05b6
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
7 deletions
+18
-7
deposit-modle.vue
...anagement/payment-management/components/deposit-modle.vue
+1
-0
payment-detail.vue
...inancial-management/payment-management/payment-detail.vue
+6
-6
payment-single-detail.vue
...l-management/payment-management/payment-single-detail.vue
+11
-1
No files found.
src/views/financial-management/payment-management/components/deposit-modle.vue
View file @
fd5fabb2
...
...
@@ -83,6 +83,7 @@ export default {
Object
.
assign
(
this
.
ownerData
,
val
.
ownerData
)
Object
.
assign
(
this
.
hospitalData
,
val
.
hospitalData
)
console
.
log
(
'settlementData'
,
this
.
depositForm
,
this
.
ownerData
)
console
.
log
(
'depositDataKKKKKKKKKKKKKKKKKKKKK'
,
val
)
this
.
hospitalData
[
'depositShow'
]
=
moneyFormat
(
this
.
hospitalData
.
deposit
)
this
.
hospitalData
[
'roomNoShow'
]
=
this
.
hospitalData
.
status
===
'4'
?
'已出院'
:
this
.
hospitalData
.
roomNo
}
...
...
src/views/financial-management/payment-management/payment-detail.vue
View file @
fd5fabb2
...
...
@@ -677,12 +677,12 @@ export default {
settlementData
:
{
}
,
// 充值数据
depositData
:
{
}
,
hospitalData
:
{
}
,
hospitalStatusMap
:
{
'2'
:
'待入院'
,
'3'
:
'住院中'
,
'4'
:
'已出院'
}
,
hospitalStatus
:
''
,
rowData
:
{
}
,
// 列表传来的数据
// 状态下拉框
statusList
:
[{
...
...
@@ -751,9 +751,6 @@ export default {
return
item
.
feeItems
.
indexOf
(
'住院'
)
>
-
1
}
)
return
temp
.
length
>
0
}
,
hospitalStatus
()
{
return
this
.
hospitalStatusMap
[
this
.
hospitalData
.
status
]
}
}
,
created
()
{
...
...
@@ -782,8 +779,9 @@ export default {
}
hospitalGetInfoById
(
this
.
rowData
.
medicalRecordId
).
then
(
res
=>
{
console
.
log
(
'hospitalGetInfoById'
,
res
)
this
.
hospitalData
=
res
.
data
this
.
depositData
=
{
...
this
.
rowData
,
ownerData
:
temp
,
hospitalData
:
res
.
data
}
const
hospitalData
=
res
.
data
hospitalData
[
'status'
]
=
this
.
detailInfo
.
inHospitalBo
.
status
this
.
depositData
=
{
...
this
.
rowData
,
ownerData
:
temp
,
hospitalData
}
this
.
depositModal
=
true
}
).
catch
(
err
=>
{
console
.
log
(
'hospitalGetInfoByIdErr'
,
err
)
...
...
@@ -1025,7 +1023,9 @@ export default {
}
)
}
else
{
getRecord
(
this
.
rowData
.
medicalRecordId
).
then
(
response
=>
{
console
.
log
(
'getRecord'
,
response
)
this
.
detailInfo
=
{
...
response
.
data
}
this
.
hospitalStatus
=
this
.
hospitalStatusMap
[
this
.
detailInfo
.
inHospitalBo
.
status
]
this
.
detailInfo
.
petOwnerBo
[
'cardBalanceShow'
]
=
moneyFormat
(
this
.
detailInfo
.
petOwnerBo
.
cardBalance
)
this
.
detailInfo
[
'payAmountShow'
]
=
moneyFormat
(
this
.
detailInfo
.
payAmount
)
}
)
...
...
src/views/financial-management/payment-management/payment-single-detail.vue
View file @
fd5fabb2
...
...
@@ -397,6 +397,7 @@ color: #333333;"
<div
class=
"tip-text"
>
押金信息
<span
v-show=
"hospitalStatus"
>
({{ hospitalStatus }})
</span>
</div>
</div>
<el-button
...
...
@@ -468,6 +469,7 @@ export default {
data
()
{
return
{
parentData
:
{},
hospitalStatus
:
''
,
// 收入类目
tradeTypeMap
:
tradeTypeMap
,
depositList
:
[],
...
...
@@ -483,6 +485,11 @@ export default {
settlementModal
:
false
,
// 结算弹窗数据
settlementData
:
{},
hospitalStatusMap
:
{
'2'
:
'待入院'
,
'3'
:
'住院中'
,
'4'
:
'已出院'
},
singleData
:
{},
// 状态下拉框
statusList
:
[{
...
...
@@ -594,7 +601,9 @@ export default {
}
hospitalGetInfoById
(
rowData
.
medicalRecordId
).
then
(
res
=>
{
console
.
log
(
'hospitalGetInfoById'
,
res
)
this
.
depositData
=
{
...
rowData
,
ownerData
:
temp
,
hospitalData
:
res
.
data
}
const
hospitalData
=
res
.
data
hospitalData
[
'status'
]
=
this
.
detailInfo
.
inHospitalBo
.
status
this
.
depositData
=
{
...
rowData
,
ownerData
:
temp
,
hospitalData
}
this
.
depositModal
=
true
}).
catch
(
err
=>
{
console
.
log
(
'hospitalGetInfoByIdErr'
,
err
)
...
...
@@ -751,6 +760,7 @@ export default {
this
.
singleData
=
{
...
temp
.
singleData
}
// this.depositList = [...temp.depositList]
this
.
parentData
=
{
...
temp
.
parentData
}
this
.
hospitalStatus
=
this
.
hospitalStatusMap
[
this
.
detailInfo
.
inHospitalBo
.
status
]
this
.
singleData
.
standardAmountShow
=
moneyFormat
(
this
.
singleData
.
standardAmount
)
console
.
log
(
'initData'
,
this
.
detailInfo
,
this
.
singleData
)
this
.
singleData
[
'payStatusName'
]
=
this
.
showStatus
(
this
.
singleData
.
payStatus
)
...
...
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