<!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-StationParameterNotes-edit" th:object="${tSyStationparameternotes}">
            <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="tabelName" th:field="*{tabelName}" 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="paraColumn" th:field="*{paraColumn}" 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="paraMeaning" th:field="*{paraMeaning}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">工位ID：</label>
                <div class="col-sm-8">
                    <input name="stationID" th:field="*{stationID}" 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="stationCode" th:field="*{stationCode}" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">父工位ID：</label>
                <div class="col-sm-8">
                    <input name="parentStationID" th:field="*{parentStationID}" 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="parentStationCode" th:field="*{parentStationCode}" 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="parentStationName" th:field="*{parentStationName}" 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="usedFlag" th:field="*{usedFlag}" class="form-control" type="text">
                </div>
            </div>
        </form>
    </div>
    <th:block th:include="include :: footer" />
    <script th:inline="javascript">
        var prefix = ctx + "nanjing/StationParameterNotes";
        $("#form-StationParameterNotes-edit").validate({
            focusCleanup: true
        });

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