<%--
  Created by IntelliJ IDEA.
  User: user
  Date: 2019/8/9
  Time: 20:39
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ include file="/webpage/include/taglib.jsp"%>
<html>
<head>
    <title>分摊</title>
    <link rel="stylesheet" href="${ctxp}/static/plugin/assets/layui/css/layui.css">
    <link rel="stylesheet" href="${ctxp}/static/plugin/assets/common.css"/>
    <script type="text/javascript" src="${ctxp}/static/plugin/assets/jquery-3.2.1.min.js"></script>
    <script src="${ctxp}/static/plugin/assets/layui/layui.js"></script>
    <style>
        .layui-table-view .layui-table {width:100%}
    </style>
</head>
<body>
<form:form id="inputForm" class="layui-form" action="${ctx}/jkxl/fttz" method="post">
    <input hidden="hidden" name="id" id="newid2" value=""/>
    <input hidden="hidden" name="type" id="xmmc2" value=""/>
    <input hidden="hidden" name="fee" id="fyje2" value=""/>
    <div class="layui-form-item">

    </div>
    <div class="layui-form-item">
        <div class="" style="margin-left: 30px;margin-top: 10px;">
            <span id="mylable">项目调整</span>
            <span>:</span>
            <span id="readid2"></span>
        </div>
        <%--<label class="layui-form-label" id="mylable"></label>--%>
        <%--<div class="layui-input-block">--%>
            <%--<input type="text" value="5000" id="readid" readonly="readonly" class="layui-input" style="width:20%;border:none;">--%>
        <%--</div>--%>
        <div class="layui-input-block">
            <input  type="radio" name="state" value="1" title="增加" checked="checked"/>
            <input  type="radio" name="state" value="2" title="减少" checked=""/>
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-input-block">
            <input type="radio" name="code" value="1" title="人工费" checked="checked">
        </div>
        <div class="layui-input-block">
            <input type="radio" name="code" value="2" title="承包分采购">
        </div>
        <div class="layui-input-block">
            <input type="radio" name="code" value="3" title="发包人采购">
        </div>
        <div class="layui-input-block">
            <input type="radio" name="code" value="4" title="机械费">
        </div>
        <div class="layui-input-block">
            <input type="radio" name="code" value="5" title="措施费-1">
        </div>
        <div class="layui-input-block">
            <input type="radio" name="code" value="6" title="措施费-2">
        </div>
        <div class="layui-input-block">
            <input type="radio" name="code" value="7" title="措施费二">
        </div>
        <div class="layui-input-block">
            <input type="radio" name="code" value="8" title="其他费">
        </div>
        <div class="layui-input-block">
            <input type="radio" name="code" value="9" title="规费">
        </div>
        <div class="layui-input-block">
            <input type="radio" name="code" value="10" title="税费">
        </div>
    </div>
    <%--<div class="layui-form-item">--%>
        <%--<div class="layui-input-block">--%>
            <%--<button class="layui-btn" lay-submit="" lay-filter="demo1">确定</button>--%>
            <!--<button type="reset" class="layui-btn layui-btn-primary">重置</button>-->
        <%--</div>--%>
    <%--</div>--%>
</form:form>
</body>
<script>
    layui.use(['form', 'layedit', 'laydate'], function(){
        var form = layui.form
            ,layer = layui.layer
            ,layedit = layui.layedit
            ,laydate = layui.laydate;
        form.render();
        var index = parent.layer.getFrameIndex(window.name);
        var newid2 = parent.$('#newid').val();
        var xmmc2 = parent.$('#xmmc1').val();
        var fyje2 = parent.$('#fyje1').val();
        $("#newid2").val(newid2);
        $("#xmmc2").val(xmmc2);
        $("#fyje2").val(fyje2);
        $("#mylable").text(xmmc2);
        $("#readid2").text(fyje2);
    });

    function doSubmit(obj){//回调函数，在编辑和保存动作时，供openDialog调用提交表单。
            $("#inputForm").submit();
    }
</script>
</html>
