Browse Source

BI-81309 fix: 同步年月控件

es6
windy 4 years ago
parent
commit
aa75470343
  1. 5
      src/widget/yearinterval/yearinterval.js
  2. 5
      src/widget/yearquarterinterval/yearquarterinterval.js

5
src/widget/yearinterval/yearinterval.js

@ -94,11 +94,6 @@ BI.YearInterval = BI.inherit(BI.Single, {
self._checkValid(); self._checkValid();
}); });
combo.on(BI.DynamicYearCombo.EVENT_BEFORE_POPUPVIEW, function () {
self.left.hideView();
self.right.hideView();
});
combo.on(BI.DynamicYearCombo.EVENT_CONFIRM, function () { combo.on(BI.DynamicYearCombo.EVENT_CONFIRM, function () {
BI.Bubbles.hide("error"); BI.Bubbles.hide("error");
var smallDate = self.left.getKey(), bigDate = self.right.getKey(); var smallDate = self.left.getKey(), bigDate = self.right.getKey();

5
src/widget/yearquarterinterval/yearquarterinterval.js

@ -94,11 +94,6 @@ BI.YearQuarterInterval = BI.inherit(BI.Single, {
self._checkValid(); self._checkValid();
}); });
combo.on(BI.DynamicYearQuarterCombo.EVENT_BEFORE_POPUPVIEW, function () {
self.left.hideView();
self.right.hideView();
});
combo.on(BI.DynamicYearQuarterCombo.EVENT_CONFIRM, function () { combo.on(BI.DynamicYearQuarterCombo.EVENT_CONFIRM, function () {
BI.Bubbles.hide("error"); BI.Bubbles.hide("error");
var smallDate = self.left.getKey(), bigDate = self.right.getKey(); var smallDate = self.left.getKey(), bigDate = self.right.getKey();

Loading…
Cancel
Save