master
hellolujian 6 years ago
parent 91648bcd96
commit 8b0dc466e9

@ -302,6 +302,9 @@ define(['angular', 'jquery', 'uiRouter', './monitoring/analysis-monitoring'],
$scope.riskEvent.receive_email_date = new Date(); $scope.riskEvent.receive_email_date = new Date();
// 默认设置邮件回复截止日期为收到邮件的七天后 // 默认设置邮件回复截止日期为收到邮件的七天后
var replyDeadline = angular.copy($scope.riskEvent.receive_email_date); var replyDeadline = angular.copy($scope.riskEvent.receive_email_date);
if ($scope.riskEvent.order_type == 3)
replyDeadline.setDate(replyDeadline.getDate() + 3);
else
replyDeadline.setDate(replyDeadline.getDate() + 7); replyDeadline.setDate(replyDeadline.getDate() + 7);
$scope.riskEvent.reply_email_date = $filter('date')(replyDeadline, 'yyyy-MM-dd'); $scope.riskEvent.reply_email_date = $filter('date')(replyDeadline, 'yyyy-MM-dd');

Loading…
Cancel
Save