PalletIn.cshtml 19.9 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;
    }
    #selectLoad {
        height: 38px;
        line-height: 1.3;
        border-width: 1px;
        border-style: solid;
        border-color: #e6e6e6;
        background-color: #fff;
        width: 165px;
    }
    .select_Station {
        height:30px;
        padding:0 10px;
        line-height:36px;
    }
    .layui-btn-sm {
        height: 40px;
        line-height: 40px;
        padding: 0px 10px;
        font-size: 19px;
    }

    .layui-input {
        height: 40px;
        font-size: 18px;
        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: 100%;
        padding-bottom: 20px;
        padding-left: 10px;
    }

    .row {
        margin: 10px auto;
    }

    .font {
        font-size: 19px;
        padding: 10px 15px;
        font-weight: bold;
    }

    .c2 {
        padding-bottom: 10px;
    }

    .not {
        font-weight: bold;
        font-size: 19px;
        background-color: #eee;
    }
    .d1 {
     padding-top:2px;
    }
</style>

<div id="PalletForm" class="layui-row">
    <div class="layui-col-xs12 layui-col-sm12">
        <div class="layui-col-xs1" style="height:20px;"></div>
        <div class="layui-col-xs11" style="padding-top:5px;display:none;">
            <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">请选择站台.....</a>
        </div>
    </div>
    <form class="layui-form PalletForm" action="" lay-filter="PalletForm" id="PForm">
        <div class="layui-col-xs12 layui-col-sm12 row">
            <div class="layui-col-xs12 layui-col-sm12">
                <br />
            </div>
            <div class="layui-col-xs12 layui-col-sm12 c2">
                <label class="layui-form-label1 layui-col-xs4 layui-col-sm2 font">站台名:</label>
                <div class="layui-col-xs1" style="height:20px;"></div>
                <div class="layui-input-inline layui-col-xs6 layui-col-sm8">
                    <input name="StationName" type="text" autocomplete="off" class="layui-input" style="color:red;">
                </div>
            </div>
            <div class="layui-col-xs12 layui-col-sm12 c2" style="display:none;">
                <label class="layui-form-label1 layui-col-xs4 layui-col-sm2 font">站台号:</label>
                <div class="layui-col-xs1" style="height:20px;"></div>
                <div class="layui-input-inline layui-col-xs6 layui-col-sm8">
                    <input name="StationCode" type="text" autocomplete="off" class="layui-input">
                </div>
            </div>
            <div class="layui-col-xs12 layui-col-sm12 c2">
                <label class="layui-form-label1 layui-col-xs4 layui-col-sm2 font">托盘号:</label>
                <div class="layui-col-xs1" style="height:20px;"></div>
                <div class="layui-input-inline layui-col-xs6 layui-col-sm8">
                    <input onKeyUp="value=value.replace(/[\W]/g,'')" name="PalletId" type="text" autocomplete="off" class="layui-input" style="background-color:#eee;" disabled>
                </div>
            </div>
            <div class="layui-col-xs12 layui-col-sm12 c2">
                <label class="layui-form-label1 layui-col-xs4 layui-col-sm2 font">二维码:</label>
                <div class="layui-col-xs1" style="height:20px;"></div>
                <div class="layui-input-inline layui-col-xs6 layui-col-sm8">
                    <input name="ContainerId" type="text" autocomplete="off" class="layui-input" style="background-color:#eee;" disabled>
                </div>
            </div>
            <div class="layui-col-xs12 layui-col-sm12 c2 TotalNum">
                <label class="layui-form-label1 layui-col-xs4 layui-col-sm2 font">物料数:</label>
                <div class="layui-col-xs1" style="height:20px;"></div>
                <div class="layui-input-inline layui-col-xs6 layui-col-sm8">
                    <input name="TotalNum" type="text" class="layui-input not" disabled>
                </div>
            </div>
            <div class="layui-col-xs12 layui-col-sm12 c2 SourceCode">
                <label class="layui-form-label1 layui-col-xs4 layui-col-sm2 font">单据号:</label>
                <div class="layui-col-xs1" style="height:20px;"></div>
                <div class="layui-input-inline layui-col-xs6 layui-col-sm8">
                    <input name="SourceCode" v-model="SourceCode" type="text" class="layui-input  not" disabled>
                </div>
            </div>
            <div class="layui-col-xs12 layui-col-sm12 c2 MaterialNum">
                <label class="layui-form-label1 layui-col-xs4 layui-col-sm2 font">料号:</label>
                <div class="layui-col-xs1" style="height:20px;"></div>
                <div class="layui-input-inline layui-col-xs6 layui-col-sm8">
                    <input name="MaterialNum" type="text" class="layui-input not" disabled>
                </div>
            </div>
            <div class="layui-col-xs12 layui-col-sm12 c2 Lot">
                <label class="layui-form-label1 layui-col-xs4 layui-col-sm2 font">批号:</label>
                <div class="layui-col-xs1" style="height:20px;"></div>
                <div class="layui-input-inline layui-col-xs6 layui-col-sm8">
                    <input name="Lot" type="text" class="layui-input not" disabled>
                </div>
            </div>
            <div class="layui-col-xs12 layui-col-sm12 c2 Num">
                <label class="layui-form-label1 layui-col-xs4 layui-col-sm2 font">数量:</label>
                <div class="layui-col-xs1" style="height:20px;"></div>
                <div class="layui-input-inline layui-col-xs6 layui-col-sm8">
                    <input name="Num" type="text" autocomplete="off" maxlength="50" class="layui-input not NumDecText" disabled>
                </div>
            </div>
            <div class="layui-col-xs12 layui-col-sm12 c2 Batch">
                <label class="layui-form-label1 layui-col-xs4 layui-col-sm2 font">批次:</label>
                <div class="layui-col-xs1" style="height:20px;"></div>
                <div class="layui-input-inline layui-col-xs6 layui-col-sm8">
                    <input name="Batch" type="text" class="layui-input not" disabled>
                </div>
            </div>
            <div class="layui-col-xs12 layui-col-sm12 c2 Customer" style="display:none;">
                <label class="layui-form-label1 layui-col-xs4 layui-col-sm2 font">客户编号:</label>
                <div class="layui-col-xs1" style="height:20px;"></div>
                <div class="layui-input-inline layui-col-xs6 layui-col-sm8">
                    <input name="Customer" type="text" autocomplete="off" maxlength="50" class="layui-input not" disabled>
                </div>
            </div>
            <div class="layui-col-xs12 layui-col-sm12 c2 Typesetting" style="display:none;">
                <label class="layui-form-label1 layui-col-xs4 layui-col-sm2 font">排版数量:</label>
                <div class="layui-col-xs1" style="height:20px;"></div>
                <div class="layui-input-inline layui-col-xs6 layui-col-sm8">
                    <input name="Typesetting" type="text" autocomplete="off" maxlength="50" class="layui-input not" disabled>
                </div>
            </div>
            <div class="layui-col-xs12 layui-col-sm12 c2 Supplier" style="display:none;">
                <label class="layui-form-label1 layui-col-xs4 layui-col-sm2 font">供应商:</label>
                <div class="layui-col-xs1" style="height:20px;"></div>
                <div class="layui-input-inline layui-col-xs6 layui-col-sm8">
                    <input name="Supplier" type="text" class="layui-input not" disabled>
                </div>
            </div>
            <div class="layui-col-xs12 layui-col-sm12 c2 Project" style="display:none;">
                <label class="layui-form-label1 layui-col-xs4 layui-col-sm2 font">流水号:</label>
                <div class="layui-col-xs1" style="height:20px;"></div>
                <div class="layui-input-inline layui-col-xs6 layui-col-sm8">
                    <input name="Project" type="text" class="layui-input not" disabled>
                </div>
            </div>
        </div>

        <div class="layui-col-xs12 layui-col-sm12" lay-filter="laybtn">
            <div class="btn layui-row layui-col-sm12">
                <div class="layui-col-xs12 layui-col-sm3 btnPalletIn" style="padding-top:3px;">
                    <a herf="javascript:;" class="layui-btn  layui-btn-sm layui-btn-normal" style="width:75%; " id="btnPalletIn"><i class="layui-icon">&#xe6a5;</i>货物回库</a>
                </div>
                <div class="layui-col-xs12 layui-col-sm1 btnEmpty">
                    <br />
                </div>
                <div class="layui-col-xs12 layui-col-sm3 btnEmpty" style="padding-top:3px;">
                    <a herf="javascript:;" class="layui-btn  layui-btn-sm  layui-btn-normal btnEmpty" style="width:75%;" id="btnEmpty"><i class="layui-icon">&#xe679;</i>空托出库</a>
                </div>
                <div class="layui-col-xs12 layui-col-sm1 TBbtnEmpty">
                    <br />
                </div>
                <div class="layui-col-xs12 layui-col-sm3 TBbtnEmpty" style="padding-top:3px;">
                    <a herf="javascript:;" class="layui-btn  layui-btn-sm  layui-btn-normal TBbtnEmpty" style="width:75%;" id="TBbtnEmpty"><i class="layui-icon">&#xe679;</i>铜箔空托出库</a>
                </div>
                <div class="layui-col-xs12 layui-col-sm1 PPbtnEmpty">
                    <br />
                </div>
                <div class="layui-col-xs12 layui-col-sm3 PPbtnEmpty" style="padding-top:3px;">
                    <a herf="javascript:;" class="layui-btn  layui-btn-sm  layui-btn-normal PPbtnEmpty" style="width:75%;" id="PPbtnEmpty"><i class="layui-icon">&#xe679;</i>PP片空托出库</a>
                </div>
                <div class="layui-col-xs12 layui-col-sm1 btnEmptyBack">
                    <br />
                </div>
                <div class="layui-col-xs12 layui-col-sm3 btnEmptyBack" style="padding-top:3px;">
                    <a herf="javascript:;" class="layui-btn  layui-btn-sm  layui-btn-normal btnEmptyBack" style="width:75%;" id="btnEmptyBack" name="btnEmptyBack"><i class="layui-icon">&#xe6a5;</i>空托回库</a>
                </div>
                <div class="layui-col-xs12 layui-col-sm1 btnEmptysBack">
                    <br />
                </div>
                <div class="layui-col-xs12 layui-col-sm3 btnEmptysBack" style="padding-top:3px;">
                    <a herf="javascript:;" class="layui-btn  layui-btn-sm  layui-btn-normal btnEmptysBack" style="width:75%;" id="btnEmptysBack" name="btnEmptysBack"><i class="layui-icon">&#xe6a5;</i>空托组回库</a>
                </div>
                <div class="layui-col-xs12 layui-col-sm1 btnEmptyStack">
                    <br />
                </div>
                <div class="layui-col-xs12 layui-col-sm3 btnEmptyStack" style="padding-top:3px;">
                    <a herf="javascript:;" class="layui-btn  layui-btn-sm  layui-btn-normal btnEmptyStack" style="width:75%;" id="btnEmptyStack" name="btnEmptyStack"><i class="layui-icon">&#xe6a5;</i>空托叠盘</a>
                </div>
                <div class="layui-col-xs12 layui-col-sm1 btnEmptysOut">
                    <br />
                </div>
                <div class="layui-col-xs12 layui-col-sm3 btnEmptysOut" style="padding-top:3px;">
                    <a herf="javascript:;" class="layui-btn  layui-btn-sm  layui-btn-normal btnEmptysOut" style="width:75%;" id="btnEmptysOut" name="btnEmptysOut"><i class="layui-icon">&#xe6a5;</i>空托组出库</a>
                </div>
                <div class="layui-col-xs12 layui-col-sm1 StationToStation">
                    <br />
                </div>
                <div class="layui-col-xs12 layui-col-sm3 StationToStation" style="padding-top:3px;">
                    <a herf="javascript:;" class="layui-btn  layui-btn-sm  layui-btn-normal StationToStation" style="width:75%;display:none" id="StationToStation"><i class="layui-icon">&#xe6a5;</i>站台到站台</a>
                </div>
                <div class="layui-col-xs12 layui-col-sm1 Check">
                    <br />
                </div>
                <div class="layui-col-xs12 layui-col-sm3 Check" style="padding-top:3px;">
                    <a herf="javascript:;" class="layui-btn  layui-btn-sm  layui-btn-normal Check" style="width:75%;display:none" id="Check"><i class="layui-icon">&#xe6a5;</i>复核完成</a>
                </div>
                <div class="layui-col-xs12 layui-col-sm1 CleanInventry">
                    <br />
                </div>
                <div class="layui-col-xs12 layui-col-sm3 CleanInventry" style="padding-top:3px;">
                    <a herf="javascript:;" class="layui-btn  layui-btn-sm  layui-btn-normal CleanInventry" style="width:75%;display:none" id="CleanInventry"><i class="layui-icon">&#xe6a5;</i>清除物料</a>
                </div>
            </div>
        </div>
    </form>

    <div id="PalletEmptyIn" style="display:none;margin-left:2%;">
        <form class="layui-form layui-form-pane" action="" lay-filter="PalletEmptyIn">
            <div class="layui-col-sm12 layui-col-xs12" style="margin-top:10%;">
                <label class="layui-form-label layui-col-sm3 layui-col-xs3" style="width:90px;height:40px;">托盘类型</label>
                <div class="layui-input-inline layui-col-sm8 layui-col-xs8">
                    <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="Special" style="display:none;margin-left:2%;">
        <form class="layui-form layui-form-pane" action="" lay-filter="PalletEmptyIn" id="attribute">
            <div class="layui-col-sm12 layui-col-xs12" style="margin-top:10%;" id="isGood">
                <label class="layui-form-label layui-col-sm3 layui-col-xs3" style="width:90px;height:40px;">是否良品</label>
                <div class="layui-input-inline layui-col-sm8 layui-col-xs8">
                    <select name="Products" class="requiredAdd requiredEdit Selector_PalletEmptyIn ClearSelector_PalletEmptyIn" lay-filter="eform">
                        <option value="good" selected="selected">良品</option>
                        <option value="scrap">不良品</option>
                    </select>
                </div>
            </div>
            <div class="layui-col-sm12 layui-col-xs12" style="margin-top:10%;" id="Export">
                <label class="layui-form-label layui-col-sm3 layui-col-xs3" style="width:90px;height:40px;">是否打包</label>
                <div class="layui-input-inline layui-col-sm8 layui-col-xs8">
                    <select name="IsPack" class="requiredAdd requiredEdit Selector_PalletEmptyIn ClearSelector_PalletEmptyIn" lay-filter="eform">
                        <option value="unpack" selected="selected">未打包</option>
                        <option value="Ispack">已打包</option>
                    </select>

                </div>
            </div>
            <div class="layui-col-sm12 layui-col-xs12" style="margin-top:10%;" id="SelfUse">
                <label class="layui-form-label layui-col-sm3 layui-col-xs3" style="width:90px;height:40px;">是否排版</label>
                <div class="layui-input-inline layui-col-sm8 layui-col-xs8">
                    <select name="IsFold" class="requiredAdd requiredEdit Selector_PalletEmptyIn ClearSelector_PalletEmptyIn" lay-filter="eform">
                        <option value="unflod" selected="selected">未排版</option>
                        <option value="Isflod">已排版</option>
                    </select>
                </div>
            </div>
            <div class="layui-col-sm12 layui-col-xs12" style="margin-top:10%;display:none" id="PalletType">
                <label class="layui-form-label layui-col-sm3 layui-col-xs3" style="width:90px;height:40px;">托盘类型</label>
                <div class="layui-input-inline layui-col-sm8 layui-col-xs8">
                    <select name="PalletType" class="requiredAdd requiredEdit Selector_PalletEmptyIn ClearSelector_PalletEmptyIn" lay-filter="eform">
                        <option value="s_1" selected="selected">小托盘</option>
                        <option value="s_2">大托盘</option>
                    </select>
                </div>
            </div>
            <div class="layui-col-sm12 layui-col-xs12" style="margin-top:10%;display:none" id="Truss">
                <label class="layui-form-label layui-col-sm3 layui-col-xs3" style="width:90px;height:40px;">物料数量</label>
                <div class="layui-input-inline layui-col-sm8 layui-col-xs8">
                    <select name="Truss" class="requiredAdd requiredEdit Selector_PalletEmptyIn ClearSelector_PalletEmptyIn" lay-filter="eform">
                        <option value="One" selected="selected">单物料托盘</option>
                        <option value="Two">双物料托盘</option>
                    </select>
                </div>
            </div>
            <div class="layui-col-sm12 layui-col-xs12" style="margin-top:10%;" id="Height">
                <label class="layui-form-label layui-col-sm3 layui-col-xs3" style="width:90px;height:40px;">装箱大小</label>
                <div class="layui-input-inline layui-col-sm8 layui-col-xs8">
                    <select name="Height" class="requiredAdd requiredEdit Selector_PalletEmptyIn ClearSelector_PalletEmptyIn" lay-filter="eform">
                        <option value="0" selected="selected">请选择</option>
                        <option value="1" >大箱子</option>
                        <option value="2">小箱子</option>
                    </select>
                </div>
            </div>
        </form>
    </div>

    <div id="SelectType" style="display:none;">
        <form class="layui-form " id="attribute2">
            <div class="layui-field-box">
                <select name="WoodType" class="Selector_WoodType ClearSelector_WoodType" lay-filter="eform">
                    <option value="SWP1" selected="selected">小木板(小)</option>
                    <option value="SWP2">小木板(中)</option>
                    <option value="SWP3">小木板(大)</option>
                    <option value="BWP1">大木板(小)</option>
                    <option value="BWP2">大木板(中)</option>
                    <option value="BWP3">大木板(大)</option>
                </select>
            </div>
        </form>
    </div>
    <div id="tanchuang" class="layui-tab-item" style="padding-left:40px;padding-top:20px;">
        <div class="layui-row">
            <div class="layui-col-sm6 layui-form-pane">
                <label class="layui-form-label layui-col-sm3">站台</label>
                <div class="layui-input-inline layui-col-sm6">
                    <select id="selectLoad"></select>
                </div>
            </div>
        </div>
    </div>
</div>



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