Browse Source

fix:调整应付对账页面不显示分页的问题,空状态问题
调整应收对账页面不显示分页的问题,空状态问题

shenjunjie 7 years ago
parent
commit
7100bb5f6e

+ 2 - 0
src/main/webapp/resources/js/usercenter/controllers/b2b/fa/arCheck.js

@@ -346,6 +346,8 @@
                               params.total(page.totalElement);
                               $defer.resolve(page.content);
                           }
+                          $scope.infoCommon = page
+                          $scope.infoCommon.all = page.content.length
                           $scope.ALLList = page.content || []
                           $scope.totalCount = page.totalElement;
                       }, function (response) {

+ 2 - 0
src/main/webapp/resources/js/vendor/controllers/b2b/apCheck.js

@@ -134,6 +134,8 @@ define(['app/app'], function (app) {
                           params.total(page.totalElement);
                           $defer.resolve(page.content);
                       }
+                      $scope.infoCommon = page
+                      $scope.infoCommon.all = page.content.length
                       $scope.ALLList = page.content
                       $scope.totalCount = page.totalElement;
                   }, function (response) {

+ 1 - 1
src/main/webapp/resources/view/usercenter/b2b/fa/arCheck.html

@@ -771,7 +771,7 @@
           </td>
         </tr>
         </tbody>
-        <tbody ng-if="active === 'all' && (ALLList !== undefined && ALLList.length == 0)">
+        <tbody ng-if="active === 'all' && (ALLList === undefined || ALLList.length == 0)">
         <tr>
           <td colspan="6">
             <div class="empty">

+ 1 - 1
src/main/webapp/resources/view/vendor/b2b/apCheck.html

@@ -771,7 +771,7 @@
           </td>
         </tr>
         </tbody>
-        <tbody ng-if="active === 'all' && (ALLList !== undefined && ALLList.length == 0)">
+        <tbody ng-if="active === 'all' && (ALLList === undefined || ALLList.length == 0)">
           <tr>
             <td colspan="6">
               <div class="empty">