Przeglądaj źródła

收款条件设置调整

qymljy 1 rok temu
rodzic
commit
3c599202d7
1 zmienionych plików z 3 dodań i 1 usunięć
  1. 3 1
      src/HDrpManagement/collectionRule/index.vue

+ 3 - 1
src/HDrpManagement/collectionRule/index.vue

@@ -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