Browse Source

Pull request #1580: REPORT-43239 调整赋值顺序,不然year picker计算范围会出错

Merge in VISUAL/fineui from ~TELLER/fineui:master to master

* commit '87bda187144236b9c2ce2f98646caea46b812d3d':
  REPORT-43239 fix: 调整赋值顺序,不然year picker计算范围会出错
es6
Teller 4 years ago
parent
commit
def495410a
  1. 2
      src/widget/dynamicdate/dynamicdate.combo.js

2
src/widget/dynamicdate/dynamicdate.combo.js

@ -190,9 +190,9 @@ BI.DynamicDateCombo = BI.inherit(BI.Single, {
listeners: [{ listeners: [{
eventName: BI.Combo.EVENT_BEFORE_POPUPVIEW, eventName: BI.Combo.EVENT_BEFORE_POPUPVIEW,
action: function () { action: function () {
self.popup.setValue(self.storeValue);
self.popup.setMinDate(opts.minDate); self.popup.setMinDate(opts.minDate);
self.popup.setMaxDate(opts.maxDate); self.popup.setMaxDate(opts.maxDate);
self.popup.setValue(self.storeValue);
self.fireEvent(BI.DynamicDateCombo.EVENT_BEFORE_POPUPVIEW); self.fireEvent(BI.DynamicDateCombo.EVENT_BEFORE_POPUPVIEW);
} }
}] }]

Loading…
Cancel
Save