|
|
@@ -29,7 +29,7 @@
|
|
|
small
|
|
|
@size-change="handleSizeChange"
|
|
|
@current-change="handleCurrentChange"
|
|
|
- :current-page="params.content.pageNumber"
|
|
|
+ :current-page="currentPage"
|
|
|
:page-size="params.content.pageSize"
|
|
|
layout="total, prev, pager, next, jumper"
|
|
|
:total="total">
|
|
|
@@ -61,6 +61,7 @@ export default {
|
|
|
}
|
|
|
},
|
|
|
total:0,
|
|
|
+ currentPage:0,
|
|
|
list:[],
|
|
|
layout:[
|
|
|
{title:'收款条件编码',columnname:'ruleno'},
|
|
|
@@ -85,6 +86,7 @@ export default {
|
|
|
const res = await this.$api.requested(this.params)
|
|
|
this.list = res.data
|
|
|
this.total = res.total
|
|
|
+ this.currentPage = res.pageNumber
|
|
|
this.list.forEach(item=>{
|
|
|
if (item.accountingnodes){
|
|
|
item.accountingnodes.ordercheck.amountrate = Math.round((item.accountingnodes.ordercheck.amountrate * 100)*100)/100
|