Index.cshtml 4.02 KB
@{
    Layout = "~/Views/Shared/_Layout.cshtml";
}
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
@section header
{
    <style type="text/css">
        .content-left {
            width: 29.7%;
            border: 1px solid #e1e1e8;
        }

        .content-middle {
            width: 46%;
            border: 1px solid #e1e1e8;
        }

        .content-right {
            width: 24%;
            border: 1px solid #e1e1e8;
        }

        .div-height {
            height: 100%;
            margin-top: 7px;
        }

        .table-title {
            color: blue;
            width: 100px;
            border-bottom: 3px solid #009688;
            line-height: 30px;
            text-align: center
        }

        .tool-feiliao {
            display: inline-block;
            margin-left: 80px;
            line-height: 30px;
            padding: 0 10px;
            font-size: 12px;
            color: blue;
        }

        .tool-feiliao1 {
            display: inline-block;
            //margin-left: 80px;
            line-height: 30px;
            padding: 0 10px;
            font-size: 12px;
            color: blue;
        }

        .ew-tree-table {
            height: 92% !important;
        }

        .ew-tree-table-box {
            height: 700px !important;
        }

        .layui-table-view {
            margin: 0 !important;
            height: 92% !important;
        }

        .layui-table-body {
            height: 700px !important;
        }

    </style>
}

<div id="listForm" class="layui-tab-item layui-show">
    <!--tool-->
    <div class="layui-table-tool" style="padding: 0; min-height: 51px;">
        <div class="layui-table-tool-temp">
            <div class="layui-btn-container" style=" margin-left: 10px; padding-top: 10px;">

                <h3 class="tool-feiliao1">
                    <input name="planTime" id="planTime" type="text" autocomplete="off" lay-verify="required" maxlength="100" class="layui-input layui-date" value="@ViewBag.Time">
                </h3>
                <a href="javascript:;" class="layui-btn layui-btn-sm" lay-event="BtnRefresh"><i class="layui-icon"></i>查询工单数据</a>
                <a href="javascript:;" class="layui-btn layui-btn-sm " lay-event="BtnNestingCalculation"><i class="layui-icon">&#xe62d;</i>套料计算</a>
                <a href="javascript:;" class="layui-btn layui-btn-sm " lay-event="BtnSaveCutPlan"><i class="layui-icon">&#xe6a5;</i>保存套料方案</a>
                <h3 class="tool-feiliao">当前设置管材长度(mm):<span style="color:red;font-weight:bold;">@ViewBag.PipeLength</span>(mm)</h3>
                <h3 class="tool-feiliao">当前设置废料长度(mm):<span style="color:red;font-weight:bold;">@ViewBag.CuttingWasteLength</span>(mm)</h3>
                <h3 class="tool-feiliao">当前设置首段坡口损耗长度(mm):<span style="color:red;font-weight:bold;">@ViewBag.BevelLossLength</span>(mm)</h3>
                @* <h3 class="tool-feiliao">当前设置切割损耗(mm):<span style="color:red;font-weight:bold;">@ViewBag.CutFlanLength</span>(mm)</h3> *@
            </div>
        </div>
    </div>

    <!--table-->
    <div class="layui-col-xs12" style="display: flex">
        <!--left-->
        <div class="content-left ">
            <div class="div-height">
                <h3 class="table-title">套料工单</h3>
                <table id="leftDownList"></table>
            </div>
        </div>
        <!--middle-->
        <div class="content-middle">
            <div class="div-height">
                <h3 class="table-title">套料方案</h3>
                <table id="middleList"></table>
            </div>
        </div>

        <!--right-->
        <div class="content-right">
            <div class="div-height">
                <h3 class="table-title">未套料的工单</h3>
                <table id="rightDownList"></table>
            </div>
        </div>
    </div>
</div>

@section Scripts
    {
    <script type="text/javascript" src="/productjs/Material/Nesting.js" asp-append-version="true"></script>
}