chengsc
2024-10-17 26356a0e6472be4620651adceddda0e38c78fffa
HTML/views/SOSetting/PalletNoOut.html
@@ -53,9 +53,9 @@
                     </div>
                  </div>
                  <div class="layui-inline">
                     <label class="layui-form-label" style="width: 60px;">批次号</label>
                     <label class="layui-form-label" style="width: 60px;">进厂编号</label>
                     <div class="layui-input-inline" style="width: 170px; margin-right: 0px;">
                        <input type="text" id="LotNo"  name="LotNo" placeholder="批次号" autocomplete="off" class="layui-input">
                        <input type="text" id="LotNo"  name="LotNo" placeholder="进厂编号" autocomplete="off" class="layui-input">
                     </div>
                  </div>
@@ -228,7 +228,7 @@
                            {field: 'PalletNo', title: '托盘号', align: 'center'},
                            {field: 'SkuNo', title: '物料编码', align: 'center'},
                            {field: 'SkuName', title: '物料名称', align: 'center'},
                            {field: 'LotNo', title: '批次号', align: 'center'},
                            {field: 'LotNo', title: '进厂编号', align: 'center'},
                            {field: 'Qty', title: '数量', align: 'center'},
                            {field: 'LockQty', title: '锁定数量', align: 'center'},
                            {field: 'FrozenQty', title: '冻结数量', align: 'center'},
@@ -239,77 +239,7 @@
            var TotalColsSysArr=encodeURIComponent(encodeURIComponent(JSON.stringify(TotalColsArr)))//将表头数据进行url编码
            //#endregion
                function refreshTable() {
               //#region 原始非自定义列
               // var param = {
               //    SkuNo:$("#SkuNo").val(), //物料号
               //    SkuName:$("#SkuName").val(), //物料名称
               //    PalletNo:$("#PalletNo").val(), //托盘号
               //    LotNo:$("#LotNo").val(), //批次号
               //    InspectMark:$("#InspectMark").val(), //检验标记
               //    BitPalletMark:$("#BitPalletMark").val(), //零托标记
               // };
                    // table.render({
                    //     elem: '#LAY-app-content-list',
                    //     height: 'full-106',
                    //     id: 'LAY-app-content-list',
                    //     url: IP+"/BllSo/GetPalletNoOutList",
                    //     method: 'post',
                    //     where: param,
                    //     contentType: 'application/json',
                    //     headers:{ToKen:$.cookie('token')},
                    //     page: true,
                    //     limit: pageCnt,
                    //     limits: pageLimits,
                    //     even: true,
                    //     cellMinWidth: 80, //全局定义常规单元格的最小宽度,layui 2.2.1 新增
               //    done: function(){
               //       initMenu();
               //    },
                    //     cols:
                    //     [[
                    //         {
                    //             title: '序号',  type: 'numbers',  fixed: 'left'
                    //         },
                    //         { field: 'WareHouseNo', title: '所属仓库', align: 'center', },
                    //         { field: 'AreaNo', title: '所属区域', align: 'center', },
                    //         { field: 'LocatNo', title: '储位地址', align: 'center' },
                    //         { field: 'PalletNo', title: '托盘号', align: 'center', },
                    //         { field: 'SkuNo', title: '物料编码', align: 'center' },
                    //         { field: 'SkuName', title: '物料名称', align: 'center', },
                    //         { field: 'LotNo', title: '批次号', align: 'center', },
                    //         { field: 'Qty', title: '数量', align: 'center' },
                    //         { field: 'LockQty', title: '锁定数量', align: 'center', },
                    //         { field: 'FrozenQty', title: '冻结数量', align: 'center' },
                    //         { field: 'InspectMark', title: '抽检标记', align: 'center',
                    //             templet: function (d) {
                    //                 switch (d.InspectMark) {
                    //                     case "0":
                    //                         return "否";
                    //                     case "1":
                    //                         return "是";
                    //                     default:
                    //                         return "";
                    //                 }
                    //             },
                    //         },
                    //         { field: 'BitPalletMark', title: '零托标记', align: 'center',
                    //             templet: function (d) {
                    //                 switch (d.BitPalletMark) {
                    //                     case "0":
                    //                         return "否";
                    //                     case "1":
                    //                         return "是";
                    //                     default:
                    //                         return "";
                    //                 }
                    //             },
                    //         },
                    //         { title: '操作', fixed: 'right', width: 100, align: 'center', toolbar: '#table-content-list'}
                    //     ]]
                    // });
               //#endregion
               //#region 自定义表头
               var colsJson
               var param1={