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 () {