From de61b4bb359b8acf433edbe40e2c1598dec21eee Mon Sep 17 00:00:00 2001 From: ryoeiken <754264374@qq.com> Date: Fri, 22 Jan 2021 09:24:19 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E7=AA=97=E5=8F=A3=E6=94=B6?= =?UTF-8?q?=E8=B4=B9=E6=9F=A5=E7=9C=8B=E6=89=80=E6=9C=89=E6=9C=AA=E7=BB=93?= =?UTF-8?q?=E7=AE=97=E6=98=BE=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ruoyi-ui/src/views/fantang/settle/index.vue | 22 ++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/ruoyi-ui/src/views/fantang/settle/index.vue b/ruoyi-ui/src/views/fantang/settle/index.vue index 3eb0c7ac3..cabb9a7f1 100644 --- a/ruoyi-ui/src/views/fantang/settle/index.vue +++ b/ruoyi-ui/src/views/fantang/settle/index.vue @@ -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; }); },