Kaynağa Gözat

货款调账更新来源id

git-svn-id: svn+ssh://10.10.101.21/source/platform/platform-b2b@8562 f3bf4e98-0cf0-11e4-a00c-a99a8b9d557d
hejq 9 yıl önce
ebeveyn
işleme
76af2f74e4
1 değiştirilmiş dosya ile 2 ekleme ve 2 silme
  1. 2 2
      src/main/webapp/resources/js/index/app.js

+ 2 - 2
src/main/webapp/resources/js/index/app.js

@@ -7061,7 +7061,7 @@ define([ 'toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
 		}
 	}]);
 	
-	//未对账单据列表
+	//货款调账
 	app.controller('PurchaseAdjustListCtrl',['$scope', 'FaApCheck', 'toaster', '$state','$filter', '$modal', 'ApbillAdjustment', function($scope, FaApCheck, toaster, $state, $filter, $modal, ApbillAdjustment){
 		$scope.data = [];// 列表数据
 		
@@ -7345,7 +7345,7 @@ define([ 'toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
 	  			$scope.item.price = check.orderprice;
 	  			$scope.item.checkQty = check.thischeckqty;
 	  			$scope.item.amount = (check.thischeckqty || 0)*(check.orderprice || 0);
-				$scope.item.sourceId = check.sourceid;
+				$scope.item.sourceId = check.id;
 				$scope.item.sourceTable = 'purc$apbilladjustment';
 				$scope.item.orderClass = '货款调账';
 				$scope.item.oldYCheckQty = check.ycheckqty;