${text(mesProductScrap.isNewRecord ? '新增报废记录' : '编辑报废记录')}
<#form:form id="inputForm" model="${mesProductScrap}" action="${ctx}/mes/mesProductScrap/save" method="post" class="form-horizontal">
${text('基本信息')}
<#form:hidden path="id"/>
<#form:input path="sn" maxlength="100" class="form-control required"/>
<#form:select path="type" dictType="mes_scrap_type" class="form-control required" />
<#form:input path="busId" maxlength="64" class="form-control"/>
<#form:select path="state" dictType="mes_scrap_status" blankOption="true" class="form-control" />
<#form:input path="remark" maxlength="255" class="form-control"/>
<#form:extend collapsed="true" />
<#form:fileupload id="uploadImage" bizKey="${mesProductScrap.id}" bizType="mesProductScrap_image" uploadType="image" class="" readonly="false" preview="true"/>
<#form:fileupload id="uploadFile" bizKey="${mesProductScrap.id}" bizType="mesProductScrap_file" uploadType="all" class="" readonly="false" preview="true"/>