bklLiudl
3 天以前 1459bff44fdebf9d909a1ce1623ea182171909fe
HTML/views/StatisticalReport/BoxInfor.html
@@ -225,7 +225,21 @@
               </div>
            </div>
            <script type="text/html" id="buttonTpl">
               {{#  if(d.Status=='0'){ }}
                 <button class="layui-btn layui-btn-radius layui-btn-danger layui-btn-xs">待分配</button>
               {{#  } else if(d.Status == '1') { }}
                 <button class="layui-btn layui-btn-radius layui-btn-xs">部分分配</button>
               {{#  } else if(d.Status == '2') { }}
                  <button class="layui-btn layui-btn-radius layui-btn-xs">已分配</button>
               {{#  } else if(d.Status == '3') { }}
                  <button class="layui-btn layui-btn-radius layui-btn-xs">盘点锁定</button>
               {{#  } else if(d.Status == '4') { }}
                  <button class="layui-btn layui-btn-radius layui-btn-xs">移库锁定</button>
               {{#  } else if(d.Status == '5') { }}
                  <button class="layui-btn layui-btn-radius layui-btn-xs layui-btn-danger">异常锁定</button>
               {{#  } }}
              </script>
            <script type="text/html" id="BoxStatus">
                        {{#  if(d.Status=='0'){ }}
                            <p>未组托</p>
@@ -349,27 +363,32 @@
         //#region 自定义表头
         var TotalColsArr = [[
            { field: '', title: '序号', type: 'numbers', align: 'center', fixed: 'left', "disabled": true },
            { field: 'WareHouseName', title: '所属仓库', align: 'center' },
            { field: 'RoadwayName', title: '所属巷道', align: 'center' },
            { field: 'AreaName', title: '所属区域', align: 'center' },
            { field: 'LocatNo', title: '储位地址', align: 'center' },
            { field: 'PalletNo', title: '托盘号', align: 'center' },
            { field: 'SkuNo', title: '物料编码', align: 'center' },
            { field: 'SkuName', title: '物料名称', align: 'center' },
            { field: 'OwnerNo', title: '货主编码', align: 'center' },
            { field: 'OwnerName', title: '货主名称', align: 'center' },
            { field: 'SupplierNo', title: '供应商编码', align: 'center' },
            { field: 'SupplierName', title: '供应商名称', align: 'center' },
            { field: 'LotNo', title: '批次号', align: 'center' },
            { field: 'LotText', title: '批次描述', align: 'center' },
            { field: 'SupplierLot', title: '供货批次', align: 'center' },
            { field: 'Qty', title: '数量', align: 'center' },
            { field: 'LockQty', title: '锁定数量', align: 'center', },
            { field: 'FrozenQty', title: '冻结数量', align: 'center' },
            { field: 'InspectMark', title: '抽检标记', align: 'center', templet: '#InspectMarkStatus' },
            { field: 'WareHouseName', title: '所属仓库', align: 'center' , width: 120,},
            { field: 'RoadwayName', title: '所属巷道', align: 'center', width: 120, },
            { field: 'AreaName', title: '所属区域', align: 'center', width: 120, },
            { field: 'LocatNo', title: '储位地址', align: 'center', width: 100, },
            { field: 'PalletNo', title: '托盘号', align: 'center' , width: 100,},
            { field: 'SkuNo', title: '物料编码', align: 'center' , width: 120,},
            { field: 'SkuName', title: '物料名称', align: 'center', width: 120,},
            { field: 'LotNo', title: '批次号', align: 'center' , width: 100,},
            //{ field: 'LotText', title: '批次描述', align: 'center' },
            { field: 'SupplierLot', title: '供货批次', align: 'center' , width: 120,},
            { field: 'Qty', title: '数量', align: 'center' ,width: 90,},
            { field: 'LockQty', title: '锁定数量', align: 'center',width: 90, },
            { field: 'FrozenQty', title: '冻结数量', align: 'center',width: 90, },
            { field: 'Status', title: '库存状态', align: 'center', templet: '#buttonTpl', width: 90, },
            { field: 'InspectStatus', templet: '#InspectStatus1', title: '质检状态', align: 'center' ,width: 100,},
            { field: 'InspectMark', title: '抽检标记', align: 'center', templet: '#InspectMarkStatus' ,width: 100,},
            { field: 'BitPalletMark', title: '零托标记', align: 'center', templet: '#BitPalletMarkStatus',width: 100,},
            { field: 'ProductionTime', title: '生产日期', align: 'center', templet: '#templetProductionTime' },
            { field: 'InspectStatus', templet: '#InspectStatus1', title: '质检状态', align: 'center' },
            { field: 'BitPalletMark', title: '零托标记', align: 'center', templet: '#BitPalletMarkStatus' },
            { field: 'OwnerNo', title: '货主编码', align: 'center' , width: 100,},
            { field: 'OwnerName', title: '货主名称', align: 'center' , width: 100,},
            { field: 'SupplierNo', title: '供应商编码', align: 'center' , width: 100,},
            { field: 'SupplierName', title: '供应商名称', align: 'center' , width: 100,},
         ]];
         var TotalColsSysArr = encodeURIComponent(encodeURIComponent(JSON.stringify(TotalColsArr)))//将表头数据进行url编码
         //#endregion