//监听提货数量;计算利息
$scope.$watch('showLists', function(newValue, oldValue) {
angular.forEach(newValue, function(item, key) {
if (item.pickupQuantity > item.remainingQuantity) {
$scope.result = {};
$scope.result.title = "提示消息";
$scope.result.msg = "提货数量不能超出范围";
$scope.popup();
item.pickupQuantity = oldValue[key].pickupQuantity;
}
})
}, true);