<!DOCTYPE html>
<html>
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
<div class="wrapper wrapper-content ">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-content">
                    <form class="form-horizontal m-t" id="signupForm">
                        <input id="parentId" name="parentId" type="hidden" th:value="${pId}"/>
                        <input id="partId" name="partId" th:value="${dataPart.partId}" type="hidden">
                        <div class="form-group">
                            <label class="col-sm-3 control-label">上级分类数据名称：</label>
                            <div class="col-sm-8">
                                <input id="" name="" th:value="${pName}"
                                       class="form-control" type="text" readonly>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">分类数据名称：</label>
                            <div class="col-sm-8">
                                <input id="partName" name="partName" th:value="${dataPart.partName}"
                                       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 id="partDesc" name="partDesc" th:value="${dataPart.partDesc}"
                                       class="form-control" type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">是否重要：</label>
                            <div class="col-sm-8">
                                <label class="radio-inline">
                                    <input th:field="*{dataPart.partIsMajor}" type="radio" name="status" value="0"/>一般
                                </label>
                                <label class="radio-inline">
                                    <input th:field="*{dataPart.partIsMajor}" type="radio" name="status" value="1"/>重要
                                </label>
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">排序：</label>
                            <div class="col-sm-8">
                                <input id="orderNum" name="orderNum" th:value="${dataPart.orderNum}"
                                       class="form-control" type="text">
                            </div>
                        </div>
<!--                        <div class="form-group">-->
<!--                            <label class="col-sm-3 control-label">状态：</label>-->
<!--&lt;!&ndash;                            <div class="col-sm-8">&ndash;&gt;-->
<!--&lt;!&ndash;                                <input id="delFlag" name="delFlag" th:value="${dataPart.delFlag}" class="form-control"&ndash;&gt;-->
<!--&lt;!&ndash;                                       type="text">&ndash;&gt;-->
<!--&lt;!&ndash;                            </div>&ndash;&gt;-->
<!--                            <div class="col-sm-8">-->
<!--                                <label class="radio-inline">-->
<!--                                    <input th:field="*{dataPart.delFlag}" type="radio" name="status" value="0"/>正常-->
<!--                                </label>-->
<!--                                <label class="radio-inline">-->
<!--                                    <input th:field="*{dataPart.delFlag}" type="radio" name="status" value="-1"/>删除-->
<!--                                </label>-->
<!--                            </div>-->
<!--                        </div>-->
                        <div class="form-group">
                            <div class="col-sm-8 col-sm-offset-3">
                                <button type="reset" class="btn btn-outline-secondary" id="go_back">返回</button>
                                <button type="submit" class="btn btn-primary">提交</button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
<div th:include="include::footer"></div>
<script type="text/javascript" src="/js/appjs/datas/dataPart/edit.js">
</script>
</body>
</html>
