<!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-msg-edit" th:object="${bySynMaterialMsg}">
            <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="msgCode" th:field="*{msgCode}" 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="msgContext" th:field="*{msgContext}" 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="responseCode" th:field="*{responseCode}" 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="responseMsg" th:field="*{responseMsg}" 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="operateCode" th:field="*{operateCode}" 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="syncMaterialCode" th:field="*{syncMaterialCode}" 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="syncChannelCode" th:field="*{syncChannelCode}" 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="tenantId" th:field="*{tenantId}" class="form-control" type="text">
                </div>
            </div>
        </form>
    </div>
    <th:block th:include="include :: footer" />
    <script th:inline="javascript">
        var prefix = ctx + "system/msg";
        $("#form-msg-edit").validate({
            focusCleanup: true
        });

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