优化窗口收费查看所有未结算显示

This commit is contained in:
ryoeiken 2021-01-22 09:24:19 +08:00
parent 974f1fb229
commit de61b4bb35

View File

@ -603,17 +603,6 @@ export default {
this.leaveForm.prepayment = response.prepayment.prepaid;
}
this.leaveForm.settlementDays = response.reportMeals.days;
this.open = true;
this.leaveForm.hospitalId = row.hospitalId;
this.leaveForm.name = row.name;
this.leaveForm.departName = row.departName;
this.leaveForm.bedId = row.bedId;
this.leaveForm.patientId = row.patientId;
this.leaveForm.price = row.price;
this.leaveForm.netPeceipt = null;
this.leaveForm.userName = this.userName;
showAllMealsWithNoPay(row.patientId).then(response => {
console.log(response);
this.mealsList = response.data.reportMealsList;
@ -631,6 +620,17 @@ export default {
this.formAddNewSettlement.netPeceipt = this.sumTotalPrice;
}
})
this.leaveForm.settlementDays = response.reportMeals.days;
this.open = true;
this.leaveForm.hospitalId = row.hospitalId;
this.leaveForm.name = row.name;
this.leaveForm.departName = row.departName;
this.leaveForm.bedId = row.bedId;
this.leaveForm.patientId = row.patientId;
this.leaveForm.price = row.price;
this.leaveForm.netPeceipt = null;
this.leaveForm.userName = this.userName;
});
},