diff --git a/src/views/reagent/management/index.vue b/src/views/reagent/management/index.vue index a237a3f..97f3409 100644 --- a/src/views/reagent/management/index.vue +++ b/src/views/reagent/management/index.vue @@ -482,7 +482,7 @@ export default { page_size: this.history_page_size } get_durg_record(stringify(data)).then(res => { - this.historyData = res.data.data + this.historyData = res.data.data_list this.history_total = res.data.total_count }).finally(() => { this.loadingHistory = false }) }, @@ -618,8 +618,8 @@ export default { data.is_weigh = data.is_weigh ? 1 : 0 update(stringify(data)).then(res => { this.$message.success(res.msg) + this.getList() }) - this.getList() this.onClose() }) }