feat(settle ui): ui update

master
yixian 5 years ago
parent 15e0d5262b
commit 160003e4d3

@ -514,7 +514,7 @@ define(['angular', 'decimal', 'uiBootstrap', 'uiRouter', 'angularEcharts'], func
$scope.error_msg = '正在发送,请稍后。'; $scope.error_msg = '正在发送,请稍后。';
$scope.sendMailButton = true; $scope.sendMailButton = true;
$http.post('/sys/settlement/reports/' + $stateParams.date + '/send_settlement_xlsx', $http.post('/sys/settlement/reports/' + $stateParams.date + '/send_settlement_xlsx',
{clearing_ids:$scope.settleLogs.filter(log=>log.send).map(log=>log.clearing_id),mark_sent:$scope.config.mark_sent}).then(function (resp) { {clearing_ids:$scope.settleLogs.filter(log=>log.send).map(log=>log.id),mark_sent:$scope.config.mark_sent}).then(function (resp) {
$scope.error_msg = resp.data.msg; $scope.error_msg = resp.data.msg;
$scope.sendMailButton = false; $scope.sendMailButton = false;
if (resp.data.result == 0) { if (resp.data.result == 0) {

Loading…
Cancel
Save