${text(mesProductOrder.isNewRecord ? '新增生产订单' : '编辑生产订单')}
<#form:form id="inputForm" model="${mesProductOrder}" action="${ctx}/mes/mesProductOrder/save" method="post" class="form-horizontal">
${text('基本信息')}
<#form:hidden path="id"/>
<#form:listselect id="wmsOrderId" title="选择销售订单" name="wmsOrderId" value="${mesProductOrder.wmsOrderId}" labelName="order" labelValue="${mesProductOrder.wmsOrderSn}" url="${ctx}/wms/wmsOrder/stateSelect" class="" btnClass="btn-sm" allowClear="true" readonly="false" itemCode="id" itemName="order"/>
<#form:input path="nums" maxlength="8" class="form-control digits"/>
<#form:input path="deliveryDate" readonly="true" maxlength="20" class="form-control laydate" dataFormat="datetime" data-type="datetime" data-format="yyyy-MM-dd HH:mm"/>
<#form:select path="bomId" items="${boms}" itemLabel="title" itemValue="id" class="form-control required" />
<#form:input path="remark" maxlength="255" class="form-control"/>
<#form:select path="state" dictType="wms_order_state" blankOption="true" class="form-control" />