Browse Source

采购:采购订单数据显示异常的问题处理

git-svn-id: svn+ssh://10.10.101.21/source/platform/platform-b2b@8220 f3bf4e98-0cf0-11e4-a00c-a99a8b9d557d
hejq 9 years ago
parent
commit
4030980006

+ 1 - 0
src/main/webapp/resources/js/index/app.js

@@ -1952,6 +1952,7 @@ define([ 'toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
   					$scope.loading = false;
   					if(page) {
   						$defer.resolve(page.content);
+  						$scope.total = page.totalElement;
   						params.total(page.totalElement);
   						$scope.searchFilterXls = angular.copy(pageParams.searchFilter);//保存当前取值的条件
   					}

+ 1 - 1
src/main/webapp/resources/tpl/index/purc/order.html

@@ -188,7 +188,7 @@
 		<div class="row">
 			<div id="topSearch" style="float: left">
 				<span class="text-muted"><i class="fa fa-search fa-lg"></i> 搜索"{{tip}}",为您找到结果:</span>
-				单据{{total()}}条
+				单据{{total}}条
 			</div>
 			<div class="col-xs-6">
 				<div class="search">