|
|
|
@ -102,7 +102,7 @@ define(['angular', 'static/commons/commons', 'static/commons/angular-ueditor', '
|
|
|
|
|
}
|
|
|
|
|
var notice = angular.copy($scope.notice);
|
|
|
|
|
if (notice.end_time) {
|
|
|
|
|
notice.end_time = $filter('date')(notice.end_time, 'yyyyMMdd')
|
|
|
|
|
notice.end_time = $filter('date')(notice.end_time, 'yyyy-MM-dd')
|
|
|
|
|
}
|
|
|
|
|
if (notice.merchants_type == 1) {
|
|
|
|
|
if (notice.send_clients.length == 0) {
|
|
|
|
@ -220,7 +220,7 @@ define(['angular', 'static/commons/commons', 'static/commons/angular-ueditor', '
|
|
|
|
|
}
|
|
|
|
|
var notice = angular.copy($scope.notice);
|
|
|
|
|
if (notice.end_time) {
|
|
|
|
|
notice.end_time = $filter('date')(notice.end_time, 'yyyyMMdd')
|
|
|
|
|
notice.end_time = $filter('date')(notice.end_time, 'yyyy-MM-dd')
|
|
|
|
|
} else {
|
|
|
|
|
if (notice.status == '1') {
|
|
|
|
|
$scope.notice.status = '0';
|
|
|
|
|