|
|
@@ -10480,7 +10480,7 @@ define(['toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
|
|
|
if (oldVal === null) {
|
|
|
return false
|
|
|
}
|
|
|
- if (newVal !== oldVal) {
|
|
|
+ if ((newVal !== oldVal) && $scope.showNotCheck) {
|
|
|
var _newVal = newVal.replace(/-/g,'/')
|
|
|
var _d = new Date(_newVal)
|
|
|
_d.setDate(1)
|
|
|
@@ -11462,7 +11462,7 @@ define(['toaster', 'charts', 'ngTable', 'common/services', 'common/directives',
|
|
|
if (oldVal === null) {
|
|
|
return false
|
|
|
}
|
|
|
- if (newVal !== oldVal) {
|
|
|
+ if ((newVal !== oldVal) && $scope.showNotCheck) {
|
|
|
var _d = newVal + '-01'
|
|
|
_d = _d.replace(/-/g,'/')
|
|
|
_d = new Date(_d)
|