|
|
@@ -2035,12 +2035,14 @@ define([ 'toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
|
|
|
})
|
|
|
|
|
|
$scope.isChanged = false;
|
|
|
+ $scope.isChangedAll = false;
|
|
|
$scope.changes = [];
|
|
|
// 点击勾选全部的复选框
|
|
|
- $scope.checkAll = function() {
|
|
|
- angular.forEach($scope.userinfos, function(item, value) {
|
|
|
+ $scope.checkAll = function(isChanged) {
|
|
|
+ angular.forEach($scope.userinfos, function(item, index) {
|
|
|
item.distribute = $scope.checkboxes.checked;
|
|
|
});
|
|
|
+ $scope.isChanged = true;
|
|
|
};
|
|
|
|
|
|
// 点击其中一个明细的复选框
|
|
|
@@ -17154,6 +17156,7 @@ define([ 'toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
|
|
|
});
|
|
|
};
|
|
|
|
|
|
+
|
|
|
// 单选
|
|
|
$scope.checkOne = function(product) {
|
|
|
ids = [];// 每次选择时先清空,防止重复
|