${text(mesDeviceRecord.isNewRecord ? '新增点检记录' : '编辑点检记录')}
<#form:form id="inputForm" model="${mesDeviceRecord}" action="${ctx}/mes/mesDeviceRecord/save" method="post" class="form-horizontal">
${text('基本信息')}
<#form:hidden path="id"/>
<#form:treeselect id="deviceId" title="${text('设备')}" path="deviceId" labelPath="deviceName" url="${ctx}/mes/mesDevice/treeData" class="form-control required" allowClear="true" canSelectRoot="true" canSelectParent="true" />
<#form:textarea path="content" rows="4" class="form-control required"/>
<#form:listselect id="userCode" title="用户选择" path="userCode" labelPath="userName" url="${ctx}/sys/empUser/empUserSelect" allowClear="false" checkbox="false" itemCode="userCode" itemName="userName"/>
<#form:input path="repairDate" readonly="true" maxlength="20" class="form-control laydate required" dataFormat="datetime" data-type="datetime" data-format="yyyy-MM-dd HH:mm"/>
<#form:fileupload id="uploadImage" bizKey="${mesDeviceRecord.id}" bizType="mesDeviceRecord" uploadType="image" class="" readonly="false" preview="true"/>
<#form:fileupload id="uploadFile" bizKey="${mesDeviceRecord.id}" bizType="mesDeviceRecord_file" uploadType="all" class="" readonly="false" preview="true"/>

${text('易耗品使用记录')}

<% if (hasPermi('mes:mesDeviceRecord:edit')){ %> ${text('增行')} <% } %>