diff --git a/demo/js/widget/multiselect/demo.multi_select_combo.js b/demo/js/widget/multiselect/demo.multi_select_combo.js index 80a7d147af..b941ded0d6 100644 --- a/demo/js/widget/multiselect/demo.multi_select_combo.js +++ b/demo/js/widget/multiselect/demo.multi_select_combo.js @@ -9,7 +9,7 @@ Demo.MultiSelectCombo = BI.inherit(BI.Widget, { _createMultiSelectCombo: function () { var self = this; var widget = BI.createWidget({ - type: "bi.multi_select_combo", + type: "bi.multi_select_insert_combo", itemsCreator: BI.bind(this._itemsCreator, this), width: 200, value: { diff --git a/dist/bundle.js b/dist/bundle.js index 92058c0872..b52631f5f2 100644 --- a/dist/bundle.js +++ b/dist/bundle.js @@ -97192,7 +97192,7 @@ BI.MultiSelectInsertCombo = BI.inherit(BI.Single, { self.trigger.getSearcher().setState(self.storeValue); self.trigger.getCounter().setButtonChecked(self.storeValue); }; - this.storeValue = {}; + this.storeValue = o.value || {}; // 标记正在请求数据 this.requesting = false; @@ -109416,7 +109416,7 @@ BI.shortcut("bi.dynamic_year_month_popup", BI.DynamicYearMonthPopup);BI.DynamicY }, getKey: function () { - return this.yearEditor.getState() + "-" + this.monthEditor.getState(); + return this.yearEditor.getValue() + "-" + this.monthEditor.getValue(); } }); BI.DynamicYearMonthTrigger.EVENT_VALID = "EVENT_FOCUS"; diff --git a/dist/demo.js b/dist/demo.js index 4cddd86d0b..6f5cd251b8 100644 --- a/dist/demo.js +++ b/dist/demo.js @@ -12712,7 +12712,7 @@ Demo.MultiSelectCombo = BI.inherit(BI.Widget, { _createMultiSelectCombo: function () { var self = this; var widget = BI.createWidget({ - type: "bi.multi_select_combo", + type: "bi.multi_select_insert_combo", itemsCreator: BI.bind(this._itemsCreator, this), width: 200, value: { diff --git a/dist/widget.js b/dist/widget.js index 2b25ef0723..74561c52b9 100644 --- a/dist/widget.js +++ b/dist/widget.js @@ -10045,7 +10045,7 @@ BI.MultiSelectInsertCombo = BI.inherit(BI.Single, { self.trigger.getSearcher().setState(self.storeValue); self.trigger.getCounter().setButtonChecked(self.storeValue); }; - this.storeValue = {}; + this.storeValue = o.value || {}; // 标记正在请求数据 this.requesting = false; @@ -22269,7 +22269,7 @@ BI.shortcut("bi.dynamic_year_month_popup", BI.DynamicYearMonthPopup);BI.DynamicY }, getKey: function () { - return this.yearEditor.getState() + "-" + this.monthEditor.getState(); + return this.yearEditor.getValue() + "-" + this.monthEditor.getValue(); } }); BI.DynamicYearMonthTrigger.EVENT_VALID = "EVENT_FOCUS"; diff --git a/src/widget/multiselect/multiselect..insert.combo.js b/src/widget/multiselect/multiselect..insert.combo.js index 0708ed9d74..6554b8e823 100644 --- a/src/widget/multiselect/multiselect..insert.combo.js +++ b/src/widget/multiselect/multiselect..insert.combo.js @@ -23,7 +23,7 @@ BI.MultiSelectInsertCombo = BI.inherit(BI.Single, { self.trigger.getSearcher().setState(self.storeValue); self.trigger.getCounter().setButtonChecked(self.storeValue); }; - this.storeValue = {}; + this.storeValue = o.value || {}; // 标记正在请求数据 this.requesting = false;