Commit d7b41cf1 by xinla

--no commit message

1 parent 0dfa082a
...@@ -216,7 +216,7 @@ export default { ...@@ -216,7 +216,7 @@ export default {
getList() { getList() {
this.loading = true this.loading = true
getList(this.query) getList(this.query)
.then((res) => { .then(({rows,total}) => {
rows.forEach((e) => { rows.forEach((e) => {
// 单位换算 分转元 // 单位换算 分转元
e.singleCustomerReceiveMoney = (e.singleCustomerReceiveMoney / 100).toFixed(2) e.singleCustomerReceiveMoney = (e.singleCustomerReceiveMoney / 100).toFixed(2)
...@@ -224,8 +224,8 @@ export default { ...@@ -224,8 +224,8 @@ export default {
e.todayNoIssuedAmount = (e.todayNoIssuedAmount / 100).toFixed(2) e.todayNoIssuedAmount = (e.todayNoIssuedAmount / 100).toFixed(2)
e.totalIssuedAmount = (e.totalIssuedAmount / 100).toFixed(2) e.totalIssuedAmount = (e.totalIssuedAmount / 100).toFixed(2)
}) })
this.list = res.rows this.list = rows
this.total = +res.total this.total = +total
}) })
.finally(() => (this.loading = false)) .finally(() => (this.loading = false))
}, },
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!