Commit 566e21ca by 杨树贤

自定义时间禁用问题

parent fc2bb774
......@@ -74,11 +74,13 @@
fileTemplateObj.find('#file_url').val(res.data[0]);
fileTemplateObj.find('#field_name').val($('#file_type_select').val());
fileTemplateObj.find('#validity_period').addClass('layui-input validity_period layui-disabled');
fileTemplateObj.find('#validity_period').attr('disabled', true);
let fileTemplate = fileTemplateObj.html();
$('#' + fileType + '_div').show();
$('#' + fileType + '_file_div').append(fileTemplate);
fileTemplateObj.find('#validity_period').removeClass('layui-input validity_period layui-disabled');
fileTemplateObj.find('#validity_period').attr('disabled', false);
form.render();
} else {
layer.msg('上传接口异常,请重试或者联系管理员 . ' + res.message);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment