${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:select path="deviceId" blankOption="true" items="${deviceList}" itemLabel="treeName" itemValue="treeCode" class="form-control required" />
<#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_image" 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('增行')} <% } %>