Commit 694770d6 authored by zhkwei's avatar zhkwei

Merge remote-tracking branch 'origin/dev_mysql' into dev_mysql

parents ec6ec56c 52ffcc3c
......@@ -1542,8 +1542,19 @@
calculateSum(n);
}
});
var
var addWatch = function(target){
$scope.$watch(target, function (n, o) {
if ($scope.detail.entryIndex != undefined) {
$scope.detail.dataGridSourceBind[$scope.detail.entryIndex].adjustAccount = n;
calculateSum(n);
}
});
}
addWatch('relObj.checkRadio.checkRadio1');
addWatch('relObj.checkRadio.checkRadio2');
addWatch('relObj.checkRadio.checkRadio3');
addWatch('relObj.checkRadio.checkRadio4');
//重新计算合计值
var calculateSum = function (n) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment