|
@@ -130241,7 +130241,7 @@ define(['exports'], function (exports) { 'use strict';
|
|
|
/**
|
|
|
* 改变必填项之前加星号
|
|
|
*/
|
|
|
- if (this.allowBlank === false || this.validateBlank === true) {
|
|
|
+ if (this.config.readOnly !== true && (this.allowBlank === false || this.validateBlank === true)) {
|
|
|
// this.beforeLabelTextTpl = [
|
|
|
// '<span style="color:red;font-weight:bold" data-qtip="必填选项">*</span>'
|
|
|
// ];
|
|
@@ -131016,6 +131016,7 @@ define(['exports'], function (exports) { 'use strict';
|
|
|
},
|
|
|
});
|
|
|
}
|
|
|
+ //# sourceMappingURL=datefield.js.map
|
|
|
|
|
|
function initDateTimePicker () {
|
|
|
Ext.define('Yvan.DateTimePicker', {
|
|
@@ -132101,6 +132102,11 @@ define(['exports'], function (exports) { 'use strict';
|
|
|
onChange: function (newVal, oldVal) {
|
|
|
var me = this;
|
|
|
var value = newVal;
|
|
|
+ var hideTrigger = me.hideTrigger, disabled = me.disabled, readOnly = me.readOnly, hideClear = me.hideClear;
|
|
|
+ if (hideTrigger || disabled || readOnly || hideClear) {
|
|
|
+ // 禁用、隐藏、只读、隐藏清空状态下,不需要显示清空按钮
|
|
|
+ return;
|
|
|
+ }
|
|
|
if (value) {
|
|
|
me.getTrigger('clear').show();
|
|
|
me.updateLayout();
|
|
@@ -132148,7 +132154,6 @@ define(['exports'], function (exports) { 'use strict';
|
|
|
}
|
|
|
});
|
|
|
}
|
|
|
- //# sourceMappingURL=combogrid.js.map
|
|
|
|
|
|
function initRows () {
|
|
|
Ext.define('Yvan.Rows', {
|