|
|
@@ -125,6 +125,7 @@ const open = async (elderId, id, type = 1, single = true) => {
|
|
|
dialogVisible.value = true
|
|
|
pageType.value = type
|
|
|
singleType.value = single
|
|
|
+ /** 押金 */
|
|
|
if (type == 1) {
|
|
|
pageTitle.value = '押金'
|
|
|
const res = await getDepositDetail(elderId)
|
|
|
@@ -153,6 +154,7 @@ const open = async (elderId, id, type = 1, single = true) => {
|
|
|
})
|
|
|
}
|
|
|
} else if (type == 2) {
|
|
|
+ /** 账单余额预存打印 */
|
|
|
pageTitle.value = '余额预存'
|
|
|
const res = await getBalanceDetail(elderId)
|
|
|
// 如果有id就过滤只显示那一条的数据
|
|
|
@@ -163,7 +165,8 @@ const open = async (elderId, id, type = 1, single = true) => {
|
|
|
...res,
|
|
|
list: [item],
|
|
|
orderNumber: item.orderNumber,
|
|
|
- createdBy: item.createdBy
|
|
|
+ createdBy: item.createdBy,
|
|
|
+ createdTime: item.createdTime
|
|
|
}
|
|
|
}
|
|
|
}
|