|
|
@ -10,7 +10,8 @@ BI.DynamicYearTrigger = BI.inherit(BI.Trigger, { |
|
|
|
extraCls: "bi-year-trigger", |
|
|
|
extraCls: "bi-year-trigger", |
|
|
|
min: "1900-01-01", // 最小日期
|
|
|
|
min: "1900-01-01", // 最小日期
|
|
|
|
max: "2099-12-31", // 最大日期
|
|
|
|
max: "2099-12-31", // 最大日期
|
|
|
|
height: 24 |
|
|
|
height: 24, |
|
|
|
|
|
|
|
watermark: BI.i18nText("BI-Basic_Unrestricted") |
|
|
|
}); |
|
|
|
}); |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
|
|
|
@ -35,7 +36,7 @@ BI.DynamicYearTrigger = BI.inherit(BI.Trigger, { |
|
|
|
}, |
|
|
|
}, |
|
|
|
hgap: c.hgap, |
|
|
|
hgap: c.hgap, |
|
|
|
vgap: c.vgap, |
|
|
|
vgap: c.vgap, |
|
|
|
watermark: BI.isKey(o.watermark) ? o.watermark : BI.i18nText("BI-Basic_Unrestricted"), |
|
|
|
watermark: o.watermark, |
|
|
|
allowBlank: true, |
|
|
|
allowBlank: true, |
|
|
|
errorText: function (v) { |
|
|
|
errorText: function (v) { |
|
|
|
if (BI.isPositiveInteger(v)) { |
|
|
|
if (BI.isPositiveInteger(v)) { |
|
|
|