|
|
@@ -833,6 +833,14 @@ define(['app/app'], function (app) {
|
|
|
$scope.thisMouthOut = oldVal
|
|
|
return
|
|
|
}
|
|
|
+ if (newVal === null) {
|
|
|
+ newVal = oldVal
|
|
|
+ $scope.thisMouthOut = oldVal
|
|
|
+ return false
|
|
|
+ }
|
|
|
+ if (oldVal === null) {
|
|
|
+ return false
|
|
|
+ }
|
|
|
if (newVal !== oldVal) {
|
|
|
// var _d = new Date(newVal)
|
|
|
var _d = newVal + '-01'
|
|
|
@@ -866,6 +874,14 @@ define(['app/app'], function (app) {
|
|
|
$scope.thisMouth = oldVal
|
|
|
return
|
|
|
}
|
|
|
+ if (newVal === null) {
|
|
|
+ newVal = oldVal
|
|
|
+ $scope.thisMouthOut = oldVal
|
|
|
+ return false
|
|
|
+ }
|
|
|
+ if (oldVal === null) {
|
|
|
+ return false
|
|
|
+ }
|
|
|
if (newVal !== oldVal) {
|
|
|
// var _d = new Date(newVal)
|
|
|
var _d = newVal + '-01'
|