Commit 38a4c174 authored by 我在何方's avatar 我在何方

收款单收款账户分页

parent 6eeba1a0
...@@ -762,7 +762,7 @@ export default { ...@@ -762,7 +762,7 @@ export default {
codeLoading: false, codeLoading: false,
codePage: { codePage: {
pageNo: 1, pageNo: 1,
pageSize: 100 pageSize: 8
}, },
pages:1 pages:1
}; };
...@@ -909,8 +909,8 @@ export default { ...@@ -909,8 +909,8 @@ export default {
setTimeout(() => { setTimeout(() => {
getBankAccountPage(this.codePage).then(res => { getBankAccountPage(this.codePage).then(res => {
this.codeLoading = false this.codeLoading = false
this.pages = res.data.pages
this.bankData = this.bankData.concat(res.data.list) this.bankData = this.bankData.concat(res.data.list)
this.pages = (res.data.total/this.codePage.pageSize)+1
}) })
}, 200) }, 200)
}, },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment