|
|
@ -34,12 +34,11 @@ BI.DynamicYearQuarterCombo = BI.inherit(BI.Widget, { |
|
|
|
self.combo.isViewVisible() && self.combo.hideView(); |
|
|
|
self.combo.isViewVisible() && self.combo.hideView(); |
|
|
|
}); |
|
|
|
}); |
|
|
|
this.trigger.on(BI.DynamicYearQuarterTrigger.EVENT_CONFIRM, function () { |
|
|
|
this.trigger.on(BI.DynamicYearQuarterTrigger.EVENT_CONFIRM, function () { |
|
|
|
// 没看出来干啥的,先去掉
|
|
|
|
|
|
|
|
// if (self.combo.isViewVisible()) {
|
|
|
|
|
|
|
|
// return;
|
|
|
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
var dateStore = self.storeTriggerValue; |
|
|
|
var dateStore = self.storeTriggerValue; |
|
|
|
var dateObj = self.trigger.getKey(); |
|
|
|
var dateObj = self.trigger.getKey(); |
|
|
|
|
|
|
|
if (BI.isEqual(dateObj, dateStore)) { |
|
|
|
|
|
|
|
return; |
|
|
|
|
|
|
|
} |
|
|
|
if (BI.isNotEmptyString(dateObj) && !BI.isEqual(dateObj, dateStore)) { |
|
|
|
if (BI.isNotEmptyString(dateObj) && !BI.isEqual(dateObj, dateStore)) { |
|
|
|
self.storeValue = self.trigger.getValue(); |
|
|
|
self.storeValue = self.trigger.getValue(); |
|
|
|
self.setValue(self.trigger.getValue()); |
|
|
|
self.setValue(self.trigger.getValue()); |
|
|
|