From 8559dabff26348ecd1f8e81d7bc0e6bfb017e7c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Cwanyongkang=E2=80=9D?= <“937888580@qq.com”> Date: Sat, 6 Mar 2021 13:33:37 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=AC=E5=85=B1=E9=80=80=E6=AC=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/order/openrefunds.vue | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/src/components/order/openrefunds.vue b/src/components/order/openrefunds.vue index c6831c3..6e45480 100644 --- a/src/components/order/openrefunds.vue +++ b/src/components/order/openrefunds.vue @@ -12,7 +12,7 @@ end-placeholder="结束日期" @change=search > - + @@ -31,14 +31,22 @@
- + > --> + + +
@@ -73,6 +81,7 @@ export default { this.get() }, get () { + this.loading = true if (this.dateRange && this.dateRange.length == 2) { this.searchModel.Btime = this.dateRange[0] this.searchModel.Etime = this.dateRange[1] @@ -82,7 +91,8 @@ export default { // }) this.$api.get(this.$api.phpURL + 'order/OpenRefund/getList', this.searchModel).then(res => { this.retData.Data = res.data.list - this.retData.TotalCount = res.data.count + this.retData.TotalCount = parseInt(res.data.count.count) + this.loading = false }) }, getProduct () {