Index.cshtml 5.36 KB
@{
    Layout = "~/Views/Shared/_Layout.cshtml";
}
@addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
@section header
    {
    <style type="text/css">
        /*.layui-table th[data-field=locationCode],
                .layui-table th[data-field=furnaceNo],
                .layui-table th[data-field=batchNo],
                .layui-table th[data-field=lotNo],
                .layui-table th[data-field=pipeSN],
                .layui-table th[data-field=pipeLength],
                .layui-table th[data-field=qty] {
                    color: red;
                }*/
    </style>
    <link href="~/css/qcCode.css" rel="stylesheet" media="print" />
}
<div id="listForm" class="layui-tab-item layui-show">
    <form class="layui-form layui-form-pane" action="" lay-filter="listForm">
        <div class="layui-form-item" id="panelSearch" hidden>
            <fieldset class="layui-elem-field">
                <div class="layui-field-box" id="qform">
                    <div class="layui-form-item layui-col-sm12">
                        <div class="layui-inline toolList">
                            <a href="javascript:;" class="layui-btn layui-btn-sm layui-btn-radius" data-type="btnQuery"><i class="layui-icon">&#xe615;</i>查询</a>
                            <a href="javascript:;" class="layui-btn layui-btn-sm layui-btn-radius layui-btn-warm" data-type="btnReset"><i class="layui-icon">&#xe66c;</i>重置</a>
                            <a href="javascript:;" class="layui-btn layui-btn-sm layui-btn-radius layui-btn-danger" data-type="btnClose"><i class="layui-icon">&#xe6a7;</i>关闭</a>
                        </div>
                    </div>
                    <div class="layui-row">
                        <div class="layui-col-sm3">
                            <label class="layui-form-label">容器号</label>
                            <div class="layui-input-inline">
                                <input name="ContainerCode" type="text" lay-verify="required" maxlength="32" class="layui-input">
                            </div>
                        </div>
                        <div class="layui-col-sm3">
                            <label class="layui-form-label">库位编码</label>
                            <div class="layui-input-inline">
                                <input name="LocationCode" type="text" lay-verify="required" maxlength="32" class="layui-input">
                            </div>
                        </div>
                        <div class="layui-col-sm3">
                            <label class="layui-form-label">区域</label>
                            <div class="layui-input-inline">
                                <input name="LocationArea" type="text" lay-verify="required" maxlength="32" class="layui-input">
                            </div>
                        </div>
                        <div class="layui-col-sm3">
                            <label class="layui-form-label">批次号</label>
                            <div class="layui-input-inline">
                                <input name="Batch" type="text" lay-verify="required" maxlength="32" class="layui-input">
                            </div>
                        </div>
                    </div>
                    <div class="layui-row">
                        <div class="layui-col-sm3">
                            <label class="layui-form-label">跟踪码</label>
                            <div class="layui-input-inline">
                                <input name="TracingCode" type="text" lay-verify="required" maxlength="32" class="layui-input">
                            </div>
                        </div>
                        <div class="layui-col-sm6">
                            <div class="layui-inline">
                                <label class="layui-form-label">日期范围</label>
                                <div class="layui-inline" id="test-range">
                                    <div class="layui-input-inline">
                                        <input type="text" name="Begin" class="layui-input layui-date" placeholder="开始日期">
                                    </div>
                                    <div class="layui-form-mid">-</div>
                                    <div class="layui-input-inline">
                                        <input type="text" name="End" class="layui-input  layui-date" placeholder="结束日期">
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </fieldset>
        </div>
        <table id="mainList" lay-filter="mainList"></table>
        <input type="text" value="@ViewBag.ReUrl" id="ReUrl" hidden />
    </form>
</div>


<script type="text/html" id="toolbarTable">
    <div class="layui-btn-container">
        <a href="javascript:;" class="layui-btn layui-btn-sm layui-btn-mini" lay-event="btnSelect"><i class="layui-icon">&#xe628;</i>检索</a>
        <a href="javascript:;" class="layui-btn layui-btn-sm layui-btn-mini" lay-event="btnRefresh"><i class="layui-icon">&#xe9aa;</i>刷新</a>
        {{ loadMenus("Inventory", 1) }}
    </div>
</script>

@section Scripts
    {
    <script src="~/js/qrcode.js"></script>
    <script type="text/javascript" src="/productjs/warehous/InventoryNew.js" asp-append-version="true"></script>
}