InventoryView.cshtml 8.4 KB
@{
    Layout = "~/Views/Shared/_Layout.cshtml";
}
@section header
    {
    <link rel="stylesheet" href="/css/treetable.css" />
}
<style type="text/css">
    .layui-form-label1 {
        display: table-cell;
        padding: 9px 15px;
        font-weight: bold;
        line-height: 20px;
        text-align: right;
        font-size: 20px;
    }

    .layui-btn-sm {
        height: 40px;
        line-height: 40px;
        padding: 0px 10px;
        font-size: 22px;
    }

    .layui-input {
        height: 40px;
        font-size: 22px;
        border: 1px solid rgba(0,0,0,.2);
    }

    #PalletForm {
        position: relative;
        margin: 5px auto;
        width: 100%;
        background: #fff;
        border-radius: 25px;
        /*padding-bottom: 55%;*/
        box-shadow: 1px 3px 20px rgba(0,0,0,.2);
    }


    .btn {
        text-align: center;
        position: relative;
        width: 70%;
        margin-left: 15%;
    }

    .row {
        margin: 10px auto;
    }

    .font {
        font-size: 20px;
        padding: 2px 5px;
        font-weight: bold;
        line-height: 20px;
        text-align: center
    }

    .c2 {
        padding-bottom: 20px;
    }

    .not {
        font-weight: bold;
        font-size: 22px;
        background-color: #eee;
    }
</style>

<div id="PalletForm">
    <div class="layui-col-sm12" style="padding-top:5%;">
        <div class="layui-col-sm6" style="padding-top:10px;">
            <label class="font" style="color:red">站台选择:</label>
            <a herf="javascript:;" class="layui-btn layui-btn-lg layui-btn-primary layui-btn-radius" style="font-size: 20px;text-align: center;font-weight: bold;color:cornflowerblue" id="btnstation">PP片1站台</a>
        </div>
        <label style="color:cadetblue; font-size: 50px;font-weight: bold;" id="time"></label>
    </div>
    <div id="listForm" class="layui-tab-item layui-show">
        <h2 class="layui-colla-title"><strong>物料明细</strong></h2>
        <form class="layui-form layui-form-pane" action="" lay-filter="listForm">
            <table id="mainList" class="layui-table"
                   lay-data="{height: '300', cellMinWidth: 80, page:true, id:'mainList', limit: 20, limits: [20, 50, 100, 200, 500, 1000]}"
                   lay-filter="mainList" lay-size="sm">
                <thead>
                    <tr>
                        <th lay-data="{field:'Id', width:80, sort: true, fixed: false, hide: false}">id</th>
                        <th lay-data="{field:'LocationId', width:150, sort: true, fixed: false, hide: true}">库位id</th>
                        <th lay-data="{field:'LocationCode', width:150, sort: true, fixed: false, hide: false}">库位编号</th>
                        <th lay-data="{field:'ContainerCode', width:150, sort: true, fixed: false, hide: false}">容器编码</th>
                        <th lay-data="{field:'SourceCode', width:150, sort: true, fixed: false, hide: false}">上游系统单号</th>
                        <th lay-data="{field:'SourceLine', width:150, sort: true, fixed: false, hide: false}">上游系统行号</th>
                        <th lay-data="{field:'MaterialId', width:150, sort: true, fixed: false, hide: true}">物料Id</th>
                        <th lay-data="{field:'MaterialCode', width:150, sort: true, fixed: false, hide: false}">物料编码</th>
                        <th lay-data="{field:'ReceiptId', width:150, sort: true, fixed: false, hide: true}">入库单id</th>
                        <th lay-data="{field:'ReceiptCode', width:150, sort: true, fixed: false, hide: false}">入库单编码</th>
                        <th lay-data="{field:'ReceiptDetailId', width:150, sort: true, fixed: false, hide: true}">入库单明细id</th>
                        <th lay-data="{field:'TaskStatus', width:150, sort: true, fixed: false, hide: true, templet: function(d){return GetLabel('TaskStatus', 'DictValue', 'DictLabel', d.TaskStatus)}}">任务状态</th>
                        <th lay-data="{field:'Status', width:150, sort: true, fixed: false, hide: true, templet: function(d){return GetLabel('Status', 'DictValue', 'DictLabel', d.Status)}}">库存状态</th>
                        <th lay-data="{field:'ContainerStatus', width:150, sort: true, fixed: false, hide: false, templet: function(d){return GetLabel('ContainerStatus', 'DictValue', 'DictLabel', d.ContainerStatus)}}">容器状态</th>
                        <th lay-data="{field:'Qty', width:150, sort: true, fixed: false, hide: false}">数量</th>
                        <th lay-data="{field:'Batch', width:150, sort: true, fixed: false, hide: false}">批次</th>
                        <th lay-data="{field:'Lot', width:150, sort: true, fixed: false, hide: true}">批号</th>
                        <th lay-data="{field:'Project', width:150, sort: true, fixed: false, hide: true}">项目号</th>
                        <th lay-data="{field:'ManufactureDate', width:150, sort: true, fixed: false, hide: true}">生产日期</th>
                        <th lay-data="{field:'ExpirationDate', width:150, sort: true, fixed: false, hide: true}">失效日期</th>
                        <th lay-data="{field:'TaskQty', width:150, sort: true, fixed: false, hide: true}">执行预定数量</th>
                        <th lay-data="{field:'CostPrice', width:150, sort: true, fixed: false, hide: true}">成本</th>
                        <th lay-data="{field:'ListPrice', width:150, sort: true, fixed: false, hide: true}">标价</th>
                        <th lay-data="{field:'NetPrice', width:150, sort: true, fixed: false, hide: true}">净价</th>
                        <th lay-data="{field:'CreateTime', width:150, sort: true, fixed: false, hide: false}">创建时间</th>
                        <th lay-data="{field:'CreateBy', width:150, sort: true, fixed: false, hide: true}">创建用户</th>
                        <th lay-data="{field:'UpdateTime', width:150, sort: true, fixed: false, hide: true}">更新时间</th>
                        <th lay-data="{field:'UpdateBy', width:150, sort: true, fixed: false, hide: true}">更新用户</th>
                    </tr>
                </thead>
            </table>
        </form>
    </div>

    <div id="PalletEmptyIn" style="display:none;margin-left:10%;">
        <form class="layui-form layui-form-pane" action="" lay-filter="PalletEmptyIn">
            <div class="layui-col-sm12" style="margin-top:10%;">
                <label class="layui-form-label layui-col-sm3" style="width:100px;height:40px;">托盘类型</label>
                <div class="layui-input-inline layui-col-sm8">
                    <select name="Type" v-model="Type" data-model="Type" class="requiredAdd requiredEdit Selector_PalletEmptyIn ClearSelector_PalletEmptyIn" lay-filter="eform"></select>
                </div>
            </div>
        </form>
    </div>
    <div id="station" style="display:none;">
        <fieldset class="layui-elem-field">
            <legend>PP片</legend>
            <div class="layui-field-box">
                <label class="font"><input class="c1" name="IsShou" value="ProductStationC02" type="radio" checked>PP片1站台</label>
                <label class="font"><input class="c1" name="IsShou" value="ProductStationC03" type="radio">PP片2站台</label>
                <label class="font"><input class="c1" name="IsShou" value="ProductStationC06" type="radio">PP片3站台</label>
                <label class="font"><input class="c1" name="IsShou" value="ProductStationC07" type="radio">PP片4站台</label>
            </div>
        </fieldset>
        <fieldset class="layui-elem-field">
            <legend>PP卷</legend>
            <div class="layui-field-box">
                <label class="font"><input class="c1" name="IsShou" value="EntranceStationB01" type="radio">PP卷1站台</label>
                <label class="font"><input class="c1" name="IsShou" value="EntranceStationB02" type="radio">PP卷2站台</label>
            </div>
        </fieldset>
        <fieldset class="layui-elem-field">
            <legend>铜箔</legend>
            <div class="layui-field-box">
                <label class="font"><input class="c1" name="IsShou" value="OutStationD02" type="radio">铜箔OutStationD02</label>
            </div>
        </fieldset>
    </div>
</div>



<script type="text/javascript" src="/layui/layui.js"></script>
<script type="text/javascript" src="/productjs/task/InventoryView.js?v=2019.08.19"></script>
<script type="text/javascript" src="/basejs/Common.js?v=2019.08.19"></script>