feat(settle ui): 清算发送勾选发送批次,取消每日一次发送邮件限制,取消验证码

master
yixian 5 years ago
parent 7ee7ababe1
commit dc9b211ae3

@ -497,6 +497,8 @@ define(['angular', 'decimal', 'uiBootstrap', 'uiRouter', 'angularEcharts'], func
$scope.settleLogs = settleLogs.map(log => {
let info = {
'id': log.clearing_id,
'time':log.operate_time,
'amount':log.net_amount,
'remark': log.plan_detail.remark || log.plan_detail.plan_id,
'send': false
};
@ -507,13 +509,6 @@ define(['angular', 'decimal', 'uiBootstrap', 'uiRouter', 'angularEcharts'], func
};
$scope.sendCheckCodeButton = false;
$scope.sendMailButton = false;
$scope.check_code = '';
$scope.sendCheckCode = function () {
$scope.error_msg = '';
$http.get('/sys/settlement/reports/send_checkcode').then(function (resp) {
});
$scope.sendCheckCodeButton = true;
};
$scope.sendSettlementMail = function () {
$scope.error_msg = '正在发送,请稍后。';

@ -5,7 +5,10 @@
<div class="text-center" >
<div class="col-sm-12">
<ul class="list-group">
<li class="list-group-item" ng-repeat="log in settleLogs" ng-class="{'active':log.send}" ng-click="switchSendFlag(log)">[{{log.remark}}]log.clearing_id</li>
<li class="list-group-item" ng-repeat="log in settleLogs" ng-class="{'active':log.send}" ng-click="switchSendFlag(log)">
<span>[{{log.remark}}]log.clearing_id</span>
<span class="pull-right" ng-bind="log.net_amount|currency:''"></span>
</li>
</ul>
</div>
<div class="col-sm-12">

Loading…
Cancel
Save