处理页面查看下拉能选择问题
This commit is contained in:
parent
55768e1d03
commit
53bdccb69d
@ -230,7 +230,7 @@ function OaFormUtil(layui) {
|
||||
var boxId = '#' + item.fieldName + 'Box';
|
||||
$(boxId).css('position', 'relative');
|
||||
$(boxId).append('<div style="width: 100%; height: 100%; background-color: #fff0; position: absolute; top: 0; left: 0; cursor: not-allowed;"></div>');
|
||||
var doms = $(boxId).find('input,button,textarea');
|
||||
var doms = $(boxId).find('input,button,textarea,select');
|
||||
doms.removeAttr('name');
|
||||
doms.attr('disabled', 'disabled');
|
||||
doms.attr('lay-verify', '');
|
||||
@ -242,7 +242,7 @@ function OaFormUtil(layui) {
|
||||
* 禁用表单全部字段
|
||||
*/
|
||||
this.disableFormAllFields = function () {
|
||||
var doms = $('#reportForm').find('input,button,textarea');
|
||||
var doms = $('#reportForm').find('input,button,textarea,select');
|
||||
doms.attr('disabled', 'disabled');
|
||||
doms.attr('lay-verify', '');
|
||||
}
|
||||
|
@ -82,6 +82,7 @@
|
||||
}
|
||||
});
|
||||
oaFormUtil.initTabItem(processInstanceId);
|
||||
oaFormUtil.disableFormAllFields();
|
||||
|
||||
var self = this;
|
||||
var loadLayerIndex;
|
||||
|
@ -91,6 +91,7 @@
|
||||
}
|
||||
});
|
||||
oaFormUtil.initTabItem($('#processInstanceId').val());
|
||||
formUtil.disableFields(fields);
|
||||
|
||||
var self = this;
|
||||
var loadLayerIndex;
|
||||
@ -132,7 +133,6 @@
|
||||
|
||||
form.render(null, 'dataForm');
|
||||
formUtil.hideFields(fields);
|
||||
formUtil.disableFields(fields);
|
||||
}, function(code, data) {
|
||||
layer.msg(data.msg);
|
||||
}, function() {
|
||||
|
Loading…
Reference in New Issue
Block a user