|
@@ -10,9 +10,9 @@ Component({
|
|
|
},
|
|
|
|
|
|
didMount() {
|
|
|
- const { depositId, inpatientId, hisPatientId } =
|
|
|
+ const { depositId, inpatientId, hisPatientId, name } =
|
|
|
this.$page.data.query || {};
|
|
|
- this.getDepositDetailsFn(depositId, inpatientId, hisPatientId);
|
|
|
+ this.getDepositDetailsFn(depositId, inpatientId, hisPatientId, name);
|
|
|
// this.subscribeMsg();
|
|
|
/* 服务办结,押金缴纳完成 */
|
|
|
|
|
@@ -66,12 +66,13 @@ Component({
|
|
|
},
|
|
|
|
|
|
// 获取支付详情
|
|
|
- async getDepositDetailsFn(depositId, inpatientId, hisPatientId) {
|
|
|
+ async getDepositDetailsFn(depositId, inpatientId, hisPatientId, name) {
|
|
|
try {
|
|
|
const detail = await getDepositDetails({
|
|
|
depositId,
|
|
|
hisPatientId: hisPatientId,
|
|
|
receiptNo: depositId,
|
|
|
+ name,
|
|
|
});
|
|
|
this.setData({
|
|
|
detail,
|