<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('修改模切数据上传')" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-mqupload-edit" th:object="${proMqUpload}">
            <input name="id" th:field="*{id}" type="hidden">
            <div class="form-group">    
                <label class="col-sm-3 control-label">资源号：</label>
                <div class="col-sm-8">
                    <input name="resource" th:field="*{resource}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">SFC：</label>
                <div class="col-sm-8">
                    <input name="sfcStr" th:field="*{sfcStr}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">工序：</label>
                <div class="col-sm-8">
                    <input name="operation" th:field="*{operation}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">客户端标识：</label>
                <div class="col-sm-8">
                    <input name="clientId" th:field="*{clientId}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">数据组：</label>
                <div class="col-sm-8">
                    <input name="dcGroup" th:field="*{dcGroup}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">放卷方向：</label>
                <div class="col-sm-8">
                    <input name="upDirection" th:field="*{upDirection}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">收卷方向：</label>
                <div class="col-sm-8">
                    <input name="downDirection" th:field="*{downDirection}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">收卷轴：</label>
                <div class="col-sm-8">
                    <input name="downPosition" th:field="*{downPosition}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">是否首卷：</label>
                <div class="col-sm-8">
                    <input name="firstArticle" th:field="*{firstArticle}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">物理面向：</label>
                <div class="col-sm-8">
                    <input name="mqMaterialFace" th:field="*{mqMaterialFace}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">卷绕理论方向：</label>
                <div class="col-sm-8">
                    <input name="jrDirection" th:field="*{jrDirection}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">S面数据：</label>
                <div class="col-sm-8">
                    <input name="scw" th:field="*{scw}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">B面数据：</label>
                <div class="col-sm-8">
                    <input name="bcw" th:field="*{bcw}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">MES返回Code：</label>
                <div class="col-sm-8">
                    <input name="isSuccess" th:field="*{isSuccess}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">MES返回信息：</label>
                <div class="col-sm-8">
                    <input name="mesReturnInfo" th:field="*{mesReturnInfo}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">记录时间：</label>
                <div class="col-sm-8">
                    <input name="recordTime" th:field="*{recordTime}" class="form-control" type="text">
                </div>
            </div>
        </form>
    </div>
    <th:block th:include="include :: footer" />
    <script th:inline="javascript">
        var prefix = ctx + "traceability/mqupload";
        $("#form-mqupload-edit").validate({
            focusCleanup: true
        });

        function submitHandler() {
            if ($.validate.form()) {
                $.operate.save(prefix + "/edit", $('#form-mqupload-edit').serialize());
            }
        }
    </script>
</body>
</html>