diff --git a/ruoyi-ui/src/views/fantang/prepayment/index.vue b/ruoyi-ui/src/views/fantang/prepayment/index.vue index ddc23c2ec..c64c21adf 100644 --- a/ruoyi-ui/src/views/fantang/prepayment/index.vue +++ b/ruoyi-ui/src/views/fantang/prepayment/index.vue @@ -264,6 +264,7 @@ created() { this.getList(); + this.buildSuggestionList(); this.myGetUser(); }, mounted() { @@ -316,6 +317,21 @@ }; }, + buildSuggestionList() { + listNoPrepayment(this.queryParams).then(response => { + let prepaymentList = response.data.records; + this.suggestionList = prepaymentList.map(item => { + return { + "value": item.hospitalId, + "departName": item.departName, + "name": item.name, + "bedId": item.bedId, + "patientId": item.patientId, + } + }); + }); + }, + // 填充所有待缴预付伙食费的病人清单 getDefaultNoPrepayment() { this.loading = true;