From 39af078aa1762453b7f54b87b9f1c45d0f8d5dcb Mon Sep 17 00:00:00 2001 From: windy <1374721899@qq.com> Date: Thu, 19 Apr 2018 19:00:20 +0800 Subject: [PATCH] BI-18614 --- dist/bundle.js | 5 +++++ dist/widget.js | 5 +++++ src/widget/dynamicdate/dynamicdate.combo.js | 1 + src/widget/dynamicdatetime/dynamicdatetime.combo.js | 1 + src/widget/year/combo.year.js | 1 + src/widget/yearmonth/combo.yearmonth.js | 1 + src/widget/yearquarter/combo.yearquarter.js | 1 + 7 files changed, 15 insertions(+) diff --git a/dist/bundle.js b/dist/bundle.js index c87f67dab5..1046bae407 100644 --- a/dist/bundle.js +++ b/dist/bundle.js @@ -90693,6 +90693,7 @@ BI.extend(BI.DynamicDateCard, { self.storeValue = null; self.trigger.setValue(); } + self._checkDynamicValue(self.storeValue); self.fireEvent(BI.DynamicDateCombo.EVENT_CONFIRM); } }] @@ -91510,6 +91511,7 @@ BI.shortcut("bi.dynamic_date_trigger", BI.DynamicDateTrigger);BI.DynamicDateTime self.storeValue = null; self.trigger.setValue(); } + self._checkDynamicValue(self.storeValue); self.fireEvent(BI.DynamicDateTimeCombo.EVENT_CONFIRM); } }] @@ -108149,6 +108151,7 @@ BI.shortcut("bi.static_year_card", BI.StaticYearCard);BI.DynamicYearCombo = BI.i self.storeValue = null; self.setValue(); } + self._checkDynamicValue(self.storeValue); self.fireEvent(BI.DynamicYearCombo.EVENT_CONFIRM); }); @@ -108844,6 +108847,7 @@ BI.shortcut("bi.static_year_month_card", BI.StaticYearMonthCard);BI.DynamicYearM return; } self.storeValue = self.trigger.getValue(); + self._checkDynamicValue(self.storeValue); self.fireEvent(BI.DynamicYearMonthCombo.EVENT_CONFIRM); }); this.trigger.on(BI.DynamicYearMonthCombo.EVENT_FOCUS, function () { @@ -109788,6 +109792,7 @@ BI.shortcut("bi.static_year_quarter_card", BI.StaticYearQuarterCard);BI.DynamicY return; } self.storeValue = self.trigger.getValue(); + self._checkDynamicValue(self.storeValue); self.fireEvent(BI.DynamicYearQuarterCombo.EVENT_CONFIRM); }); diff --git a/dist/widget.js b/dist/widget.js index 648af69aad..33499e7904 100644 --- a/dist/widget.js +++ b/dist/widget.js @@ -3556,6 +3556,7 @@ BI.extend(BI.DynamicDateCard, { self.storeValue = null; self.trigger.setValue(); } + self._checkDynamicValue(self.storeValue); self.fireEvent(BI.DynamicDateCombo.EVENT_CONFIRM); } }] @@ -4373,6 +4374,7 @@ BI.shortcut("bi.dynamic_date_trigger", BI.DynamicDateTrigger);BI.DynamicDateTime self.storeValue = null; self.trigger.setValue(); } + self._checkDynamicValue(self.storeValue); self.fireEvent(BI.DynamicDateTimeCombo.EVENT_CONFIRM); } }] @@ -21012,6 +21014,7 @@ BI.shortcut("bi.static_year_card", BI.StaticYearCard);BI.DynamicYearCombo = BI.i self.storeValue = null; self.setValue(); } + self._checkDynamicValue(self.storeValue); self.fireEvent(BI.DynamicYearCombo.EVENT_CONFIRM); }); @@ -21707,6 +21710,7 @@ BI.shortcut("bi.static_year_month_card", BI.StaticYearMonthCard);BI.DynamicYearM return; } self.storeValue = self.trigger.getValue(); + self._checkDynamicValue(self.storeValue); self.fireEvent(BI.DynamicYearMonthCombo.EVENT_CONFIRM); }); this.trigger.on(BI.DynamicYearMonthCombo.EVENT_FOCUS, function () { @@ -22651,6 +22655,7 @@ BI.shortcut("bi.static_year_quarter_card", BI.StaticYearQuarterCard);BI.DynamicY return; } self.storeValue = self.trigger.getValue(); + self._checkDynamicValue(self.storeValue); self.fireEvent(BI.DynamicYearQuarterCombo.EVENT_CONFIRM); }); diff --git a/src/widget/dynamicdate/dynamicdate.combo.js b/src/widget/dynamicdate/dynamicdate.combo.js index 297dbc06d1..f8687bd053 100644 --- a/src/widget/dynamicdate/dynamicdate.combo.js +++ b/src/widget/dynamicdate/dynamicdate.combo.js @@ -113,6 +113,7 @@ BI.DynamicDateCombo = BI.inherit(BI.Single, { self.storeValue = null; self.trigger.setValue(); } + self._checkDynamicValue(self.storeValue); self.fireEvent(BI.DynamicDateCombo.EVENT_CONFIRM); } }] diff --git a/src/widget/dynamicdatetime/dynamicdatetime.combo.js b/src/widget/dynamicdatetime/dynamicdatetime.combo.js index b143115d47..961497e7c3 100644 --- a/src/widget/dynamicdatetime/dynamicdatetime.combo.js +++ b/src/widget/dynamicdatetime/dynamicdatetime.combo.js @@ -113,6 +113,7 @@ BI.DynamicDateTimeCombo = BI.inherit(BI.Single, { self.storeValue = null; self.trigger.setValue(); } + self._checkDynamicValue(self.storeValue); self.fireEvent(BI.DynamicDateTimeCombo.EVENT_CONFIRM); } }] diff --git a/src/widget/year/combo.year.js b/src/widget/year/combo.year.js index 9f140d6a6b..4e2f59006d 100644 --- a/src/widget/year/combo.year.js +++ b/src/widget/year/combo.year.js @@ -41,6 +41,7 @@ BI.DynamicYearCombo = BI.inherit(BI.Widget, { self.storeValue = null; self.setValue(); } + self._checkDynamicValue(self.storeValue); self.fireEvent(BI.DynamicYearCombo.EVENT_CONFIRM); }); diff --git a/src/widget/yearmonth/combo.yearmonth.js b/src/widget/yearmonth/combo.yearmonth.js index 6444c8ebd7..f83ebd17e1 100644 --- a/src/widget/yearmonth/combo.yearmonth.js +++ b/src/widget/yearmonth/combo.yearmonth.js @@ -36,6 +36,7 @@ BI.DynamicYearMonthCombo = BI.inherit(BI.Single, { return; } self.storeValue = self.trigger.getValue(); + self._checkDynamicValue(self.storeValue); self.fireEvent(BI.DynamicYearMonthCombo.EVENT_CONFIRM); }); this.trigger.on(BI.DynamicYearMonthCombo.EVENT_FOCUS, function () { diff --git a/src/widget/yearquarter/combo.yearquarter.js b/src/widget/yearquarter/combo.yearquarter.js index 491aaf8c9a..fe893958e7 100644 --- a/src/widget/yearquarter/combo.yearquarter.js +++ b/src/widget/yearquarter/combo.yearquarter.js @@ -32,6 +32,7 @@ BI.DynamicYearQuarterCombo = BI.inherit(BI.Widget, { return; } self.storeValue = self.trigger.getValue(); + self._checkDynamicValue(self.storeValue); self.fireEvent(BI.DynamicYearQuarterCombo.EVENT_CONFIRM); });