Index.cshtml 20.4 KB
@{
    Layout = "~/Views/Shared/_Layout.cshtml";
}
@section header
{
    <link rel="stylesheet" href="/css/treetable.css" />
}

<div id="listForm" class="layui-tab-item layui-show">
    <div id="ImportData" style="padding: 60px; line-height: 22px; background-color: #393D49; color: #fff; font-weight: 300;display: none;">
        <div style="overflow:hidden">
            <a herf="javascript:;" class="layui-btn layui-btn-sm layui-btn-normal" data-type="btnTemplate"><i class="layui-icon">&#xe663;</i>生成模板</a>
            <br />
            <br />
            <input type="file" name="excelfile" id="excelfile" accept="application/vnd.openxmlformats-officedocument.spreadsheetml.sheet">
        </div>
    </div>
    <form class="layui-form layui-form-pane" action="" lay-filter="listForm">
        <div class="layui-form-item" id="panelSearch" hidden>
            <fieldset class="layui-elem-field">
                <legend>检索区域 - 请输入相关数据查询</legend>
                <div class="layui-field-box" id="qform">
                    <div class="layui-form-item layui-col-sm12">
                        <div class="layui-inline toolList">
                            <a herf="javascript:;" class="layui-btn layui-btn-sm layui-btn-radius" data-type="btnQuery"><i class="layui-icon">&#xe615;</i>查询</a>
                            <a herf="javascript:;" class="layui-btn layui-btn-sm layui-btn-radius layui-btn-warm" data-type="btnReset"><i class="layui-icon">&#xe66c;</i>重置</a>
                            <a herf="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">Id</label>
                            <div class="layui-input-inline">
                                <input name="qId" v-model="Id" type="text" autocomplete="off" lay-verify="required" class="layui-input NumText">
                            </div>
                        </div>
                        <div class="layui-col-sm3">
                            <label class="layui-form-label">GoodsNo</label>
                            <div class="layui-input-inline">
                                <input name="qGoodsNo" v-model="GoodsNo" type="text" autocomplete="off" lay-verify="required" maxlength="50" class="layui-input">
                            </div>
                        </div>
                        <div class="layui-col-sm3">
                            <label class="layui-form-label">State</label>
                            <div class="layui-input-inline">
                                <input name="qState" v-model="State" type="text" autocomplete="off" lay-verify="required" maxlength="50" class="layui-input">
                            </div>
                        </div>
                        <div class="layui-col-sm3">
                            <label class="layui-form-label">RoadWay</label>
                            <div class="layui-input-inline">
                                <input name="qRoadWay" v-model="RoadWay" type="text" autocomplete="off" lay-verify="required" class="layui-input NumText">
                            </div>
                        </div>
                        <div class="layui-col-sm3">
                            <label class="layui-form-label">WareCell</label>
                            <div class="layui-input-inline">
                                <input name="qWareCell" v-model="WareCell" type="text" autocomplete="off" lay-verify="required" maxlength="50" class="layui-input">
                            </div>
                        </div>
                        <div class="layui-col-sm3">
                            <label class="layui-form-label">Aufnr1</label>
                            <div class="layui-input-inline">
                                <input name="qAufnr1" v-model="Aufnr1" type="text" autocomplete="off" lay-verify="required" maxlength="50" class="layui-input">
                            </div>
                        </div>
                        <div class="layui-col-sm3">
                            <label class="layui-form-label">Keyword1</label>
                            <div class="layui-input-inline">
                                <input name="qKeyword1" v-model="Keyword1" type="text" autocomplete="off" lay-verify="required" maxlength="50" class="layui-input">
                            </div>
                        </div>
                        <div class="layui-col-sm3">
                            <label class="layui-form-label">FenFa1</label>
                            <div class="layui-input-inline">
                                <input name="qFenFa1" v-model="FenFa1" type="text" autocomplete="off" lay-verify="required" maxlength="100" class="layui-input">
                            </div>
                        </div>
                        <div class="layui-col-sm3">
                            <label class="layui-form-label">Aufnr2</label>
                            <div class="layui-input-inline">
                                <input name="qAufnr2" v-model="Aufnr2" type="text" autocomplete="off" lay-verify="required" maxlength="50" class="layui-input">
                            </div>
                        </div>
                        <div class="layui-col-sm3">
                            <label class="layui-form-label">Keyword2</label>
                            <div class="layui-input-inline">
                                <input name="qKeyword2" v-model="Keyword2" type="text" autocomplete="off" lay-verify="required" maxlength="50" class="layui-input">
                            </div>
                        </div>
                        <div class="layui-col-sm3">
                            <label class="layui-form-label">FenFa2</label>
                            <div class="layui-input-inline">
                                <input name="qFenFa2" v-model="FenFa2" type="text" autocomplete="off" lay-verify="required" maxlength="100" class="layui-input">
                            </div>
                        </div>
                        <div class="layui-col-sm3">
                            <label class="layui-form-label">Aufnr3</label>
                            <div class="layui-input-inline">
                                <input name="qAufnr3" v-model="Aufnr3" type="text" autocomplete="off" lay-verify="required" maxlength="50" class="layui-input">
                            </div>
                        </div>
                        <div class="layui-col-sm3">
                            <label class="layui-form-label">Keyword3</label>
                            <div class="layui-input-inline">
                                <input name="qKeyword3" v-model="Keyword3" type="text" autocomplete="off" lay-verify="required" maxlength="50" class="layui-input">
                            </div>
                        </div>
                        <div class="layui-col-sm3">
                            <label class="layui-form-label">FenFa3</label>
                            <div class="layui-input-inline">
                                <input name="qFenFa3" v-model="FenFa3" type="text" autocomplete="off" lay-verify="required" maxlength="100" class="layui-input">
                            </div>
                        </div>
                        <div class="layui-col-sm3">
                            <label class="layui-form-label">InsertTime</label>
                            <div class="layui-input-inline">
                                <input name="qInsertTime" v-model="InsertTime" type="text" autocomplete="off" lay-verify="required" class="layui-input layui-date">
                            </div>
                        </div>
                        <div class="layui-col-sm3">
                            <label class="layui-form-label">UpdateTime</label>
                            <div class="layui-input-inline">
                                <input name="qUpdateTime" v-model="UpdateTime" type="text" autocomplete="off" lay-verify="required" class="layui-input layui-date">
                            </div>
                        </div>
                        <div class="layui-col-sm3">
                            <label class="layui-form-label">LineCount</label>
                            <div class="layui-input-inline">
                                <input name="qLineCount" v-model="LineCount" type="text" autocomplete="off" lay-verify="required" class="layui-input NumText">
                            </div>
                        </div>
                        <div class="layui-col-sm3">
                            <label class="layui-form-label">EntranceLine</label>
                            <div class="layui-input-inline">
                                <input name="qEntranceLine" v-model="EntranceLine" type="text" autocomplete="off" lay-verify="required" maxlength="50" class="layui-input">
                            </div>
                        </div>
                        <div class="layui-col-sm3">
                            <label class="layui-form-label">Remark</label>
                            <div class="layui-input-inline">
                                <input name="qRemark" v-model="Remark" type="text" autocomplete="off" lay-verify="required" maxlength="255" class="layui-input">
                            </div>
                        </div>
                    </div>
                </div>
            </fieldset>
        </div>
    
        <table id="mainList" class="layui-table"
                lay-data="{height: 'full-1', cellMinWidth: 80, page:true, id:'mainList', limit: 20, limits: [20, 50, 100, 200, 500, 1000], defaultToolbar: ['filter'], toolbar: '#toolbarTable'}"
                lay-filter="mainList" lay-size="sm">
            <thead>
                <tr>
                    <th lay-data="{checkbox:true, fixed: true}"></th>
                    <th lay-data="{field:'Id', width:80, sort: true, fixed: false, hide: false}">Id</th>
                    <th lay-data="{field:'GoodsNo', width:150, sort: true, fixed: false, hide: false}">GoodsNo</th>
                    <th lay-data="{field:'State', width:150, sort: true, fixed: false, hide: false}">State</th>
                    <th lay-data="{field:'RoadWay', width:150, sort: true, fixed: false, hide: false}">RoadWay</th>
                    <th lay-data="{field:'WareCell', width:150, sort: true, fixed: false, hide: false}">WareCell</th>
                    <th lay-data="{field:'Aufnr1', width:150, sort: true, fixed: false, hide: false}">Aufnr1</th>
                    <th lay-data="{field:'Keyword1', width:150, sort: true, fixed: false, hide: false}">Keyword1</th>
                    <th lay-data="{field:'FenFa1', width:150, sort: true, fixed: false, hide: false}">FenFa1</th>
                    <th lay-data="{field:'Aufnr2', width:150, sort: true, fixed: false, hide: false}">Aufnr2</th>
                    <th lay-data="{field:'Keyword2', width:150, sort: true, fixed: false, hide: false}">Keyword2</th>
                    <th lay-data="{field:'FenFa2', width:150, sort: true, fixed: false, hide: false}">FenFa2</th>
                    <th lay-data="{field:'Aufnr3', width:150, sort: true, fixed: false, hide: false}">Aufnr3</th>
                    <th lay-data="{field:'Keyword3', width:150, sort: true, fixed: false, hide: false}">Keyword3</th>
                    <th lay-data="{field:'FenFa3', width:150, sort: true, fixed: false, hide: false}">FenFa3</th>
                    <th lay-data="{field:'InsertTime', width:150, sort: true, fixed: false, hide: false}">InsertTime</th>
                    <th lay-data="{field:'UpdateTime', width:150, sort: true, fixed: false, hide: false}">UpdateTime</th>
                    <th lay-data="{field:'LineCount', width:150, sort: true, fixed: false, hide: false}">LineCount</th>
                    <th lay-data="{field:'EntranceLine', width:150, sort: true, fixed: false, hide: false}">EntranceLine</th>
                    <th lay-data="{field:'Remark', width:150, sort: true, fixed: false, hide: false}">Remark</th>
                </tr>
            </thead>
        </table>
        <script type="text/html" id="toolbarTable">
            <div class="layui-btn-container">
                <a herf="javascript:;" class="layui-btn layui-btn-sm layui-btn-normal" lay-event="btnSelect"><i class="layui-icon">&#xe628;</i>检索</a>
                <a herf="javascript:;" class="layui-btn layui-btn-sm layui-btn-normal" lay-event="btnRefresh"><i class="layui-icon">&#xe9aa;</i>刷新</a>
                {{ loadMenus("WcsBaseStore", 1) }}
            </div>
        </script>
    </form>
</div>

<div id="modifyForm" class="layui-tab-item">
    <form class="layui-form layui-form-pane" action="" lay-filter="modifyForm">
        <div class="layui-card">
            <div class="layui-row">
                <div hidden>
                    <label class="layui-form-label layui-col-sm3">Id</label>
                    <div class="layui-input-inline layui-col-sm6">
                        <input name="Id" v-model="Id" style="background-color:#eee;" disabled="disabled" type="text" autocomplete="off" lay-verify="" class="layui-input NumText">
                    </div>
                </div>
                <div class="layui-col-sm6">
                    <label class="layui-form-label layui-col-sm3">GoodsNo</label>
                    <div class="layui-input-inline layui-col-sm6">
                        <input name="GoodsNo" v-model="GoodsNo" type="text" autocomplete="off" lay-verify="" maxlength="50" class="layui-input">
                    </div>
                </div>
                <div class="layui-col-sm6">
                    <label class="layui-form-label layui-col-sm3">State</label>
                    <div class="layui-input-inline layui-col-sm6">
                        <input name="State" v-model="State" type="text" autocomplete="off" lay-verify="" maxlength="50" class="layui-input">
                    </div>
                </div>
                <div class="layui-col-sm6">
                    <label class="layui-form-label layui-col-sm3">RoadWay</label>
                    <div class="layui-input-inline layui-col-sm6">
                        <input name="RoadWay" v-model="RoadWay" type="text" autocomplete="off" lay-verify="" class="layui-input NumText">
                    </div>
                </div>
                <div class="layui-col-sm6">
                    <label class="layui-form-label layui-col-sm3">WareCell</label>
                    <div class="layui-input-inline layui-col-sm6">
                        <input name="WareCell" v-model="WareCell" type="text" autocomplete="off" lay-verify="" maxlength="50" class="layui-input">
                    </div>
                </div>
                <div class="layui-col-sm6">
                    <label class="layui-form-label layui-col-sm3">Aufnr1</label>
                    <div class="layui-input-inline layui-col-sm6">
                        <input name="Aufnr1" v-model="Aufnr1" type="text" autocomplete="off" lay-verify="" maxlength="50" class="layui-input">
                    </div>
                </div>
                <div class="layui-col-sm6">
                    <label class="layui-form-label layui-col-sm3">Keyword1</label>
                    <div class="layui-input-inline layui-col-sm6">
                        <input name="Keyword1" v-model="Keyword1" type="text" autocomplete="off" lay-verify="" maxlength="50" class="layui-input">
                    </div>
                </div>
                <div class="layui-col-sm6">
                    <label class="layui-form-label layui-col-sm3">FenFa1</label>
                    <div class="layui-input-inline layui-col-sm6">
                        <input name="FenFa1" v-model="FenFa1" type="text" autocomplete="off" lay-verify="" maxlength="100" class="layui-input">
                    </div>
                </div>
                <div class="layui-col-sm6">
                    <label class="layui-form-label layui-col-sm3">Aufnr2</label>
                    <div class="layui-input-inline layui-col-sm6">
                        <input name="Aufnr2" v-model="Aufnr2" type="text" autocomplete="off" lay-verify="" maxlength="50" class="layui-input">
                    </div>
                </div>
                <div class="layui-col-sm6">
                    <label class="layui-form-label layui-col-sm3">Keyword2</label>
                    <div class="layui-input-inline layui-col-sm6">
                        <input name="Keyword2" v-model="Keyword2" type="text" autocomplete="off" lay-verify="" maxlength="50" class="layui-input">
                    </div>
                </div>
                <div class="layui-col-sm6">
                    <label class="layui-form-label layui-col-sm3">FenFa2</label>
                    <div class="layui-input-inline layui-col-sm6">
                        <input name="FenFa2" v-model="FenFa2" type="text" autocomplete="off" lay-verify="" maxlength="100" class="layui-input">
                    </div>
                </div>
                <div class="layui-col-sm6">
                    <label class="layui-form-label layui-col-sm3">Aufnr3</label>
                    <div class="layui-input-inline layui-col-sm6">
                        <input name="Aufnr3" v-model="Aufnr3" type="text" autocomplete="off" lay-verify="" maxlength="50" class="layui-input">
                    </div>
                </div>
                <div class="layui-col-sm6">
                    <label class="layui-form-label layui-col-sm3">Keyword3</label>
                    <div class="layui-input-inline layui-col-sm6">
                        <input name="Keyword3" v-model="Keyword3" type="text" autocomplete="off" lay-verify="" maxlength="50" class="layui-input">
                    </div>
                </div>
                <div class="layui-col-sm6">
                    <label class="layui-form-label layui-col-sm3">FenFa3</label>
                    <div class="layui-input-inline layui-col-sm6">
                        <input name="FenFa3" v-model="FenFa3" type="text" autocomplete="off" lay-verify="" maxlength="100" class="layui-input">
                    </div>
                </div>
                <div class="layui-col-sm6">
                    <label class="layui-form-label layui-col-sm3">InsertTime</label>
                    <div class="layui-input-inline layui-col-sm6">
                        <input name="InsertTime" v-model="InsertTime" type="text" autocomplete="off" lay-verify="" class="layui-input layui-date">
                    </div>
                </div>
                <div hidden>
                    <label class="layui-form-label layui-col-sm3">UpdateTime</label>
                    <div class="layui-input-inline layui-col-sm6">
                        <input name="UpdateTime" v-model="UpdateTime" style="background-color:#eee;" disabled="disabled" type="text" autocomplete="off" lay-verify="" class="layui-input layui-date">
                    </div>
                </div>
                <div class="layui-col-sm6">
                    <label class="layui-form-label layui-col-sm3">LineCount</label>
                    <div class="layui-input-inline layui-col-sm6">
                        <input name="LineCount" v-model="LineCount" type="text" autocomplete="off" lay-verify="" class="layui-input NumText">
                    </div>
                </div>
                <div class="layui-col-sm6">
                    <label class="layui-form-label layui-col-sm3">EntranceLine</label>
                    <div class="layui-input-inline layui-col-sm6">
                        <input name="EntranceLine" v-model="EntranceLine" type="text" autocomplete="off" lay-verify="" maxlength="50" class="layui-input">
                    </div>
                </div>
                <div class="layui-col-sm6">
                    <label class="layui-form-label layui-col-sm3">Remark</label>
                    <div class="layui-input-inline layui-col-sm6">
                        <input name="Remark" v-model="Remark" type="text" autocomplete="off" lay-verify="" maxlength="255" class="layui-input">
                    </div>
                </div>
            </div>
        </div>
    </form>
</div>
<script type="text/javascript" src="/layui/layui.js"></script>
<script type="text/javascript" src="/productjs/wcs/WcsBaseStore.js?v=2019.08.28"></script>
<script type="text/javascript" src="/basejs/Common.js?v=2019.08.28"></script>