<!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-add">
            <div class="form-group">    
                <label class="col-sm-3 control-label">资源号：</label>
                <div class="col-sm-8">
                    <input name="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" 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" 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" 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" 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" 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" 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" 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" 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" 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" 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" 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" 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" 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" 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" 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-add").validate({
            focusCleanup: true
        });

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