| | |
| | | <script type="text/html" id="table-content-list2"> |
| | | {{# function GetBtn2(d){ |
| | | var html = ''; |
| | | if(d.SkuNo != "100099"){ |
| | | if(d.SkuNo != "100099" && d.BoxNo != ''){ |
| | | html =`<a class="layui-btn layui-btn-normal layui-btn-xs" lay-event="sel"> |
| | | <i class="layui-icon layui-icon-edit"></i>详情</a>`; |
| | | } |
| | |
| | | { field: 'LotText', title: '批次描述', align: 'center', width: 150, }, |
| | | { field: 'SupplierLot', title: '供货批次', align: 'center', width: 110, }, |
| | | { field: 'Standard', title: '物料规格', align: 'center', width: 120, }, |
| | | {field: 'CreateTime',align: 'center',title: '拣货',width: 165,templet: '#templetCreateTime2'}, |
| | | //{field: 'CreateTime',align: 'center',title: '拣货时间',width: 165,templet: '#templetCreateTime2'}, |
| | | { field: 'caozuo', title: '操作', fixed: 'right', width: 100, align: 'left', toolbar: '#table-content-list2', "disabled": true } |
| | | ]]; |
| | | var DetailColsSysArr = encodeURIComponent(encodeURIComponent(JSON.stringify(DetailColsArr)))//将表头数据进行url编码 |
| | | //#endregion |
| | | function refreshTablemx(val) { |
| | | //#region 原始非自定义列 |
| | | // var param = { |
| | | // Id: parseInt(val) |
| | | // }; |
| | | |
| | | // table.render({ |
| | | // elem: '#LAY-app-content-list2', |
| | | // url: IP + "/BllSo/GetCompleteDetailList", |
| | | // method: 'POST', |
| | | // height: 'full-206', |
| | | // id: 'LAY-app-content-list2', |
| | | // where: param, |
| | | // contentType: 'application/json', |
| | | // headers: { ToKen: $.cookie('token') }, |
| | | // page: true, |
| | | // limit: pageCnt, |
| | | // limits: pageLimits, |
| | | // cellMinWidth: 60, //全局定义常规单元格的最小宽度,layui 2.2.1 新增 |
| | | // done: function(){ |
| | | // initMenu(); |
| | | // }, |
| | | // cols: [ |
| | | // [{ |
| | | // title: '序号', |
| | | // type: 'numbers', |
| | | // width: 60, |
| | | // fixed: 'left' |
| | | // }, { |
| | | // field: 'SONo', |
| | | // title: '出库单号', |
| | | // align: 'center', |
| | | // fixed: 'left', |
| | | // width: 180, |
| | | // }, { |
| | | // field: 'PalletNo', |
| | | // title: '托盘号', |
| | | // align: 'center', |
| | | // width: 95, |
| | | // }, { |
| | | // field: 'BoxNo', |
| | | // title: '箱号', |
| | | // align: 'center', |
| | | // width: 220, |
| | | // }, { |
| | | // field: 'BoxNo2', |
| | | // title: '盒号', |
| | | // align: 'center', |
| | | // width: 115, |
| | | // hide: true, |
| | | // }, { |
| | | // field: 'BoxNo3', |
| | | // title: '支号', |
| | | // align: 'center', |
| | | // width: 115, |
| | | // hide: true, |
| | | // }, { |
| | | // field: 'SkuNo', |
| | | // title: '物料编码', |
| | | // align: 'center', |
| | | // width: 120, |
| | | // }, { |
| | | // field: 'SkuName', |
| | | // title: '物料名称', |
| | | // align: 'center', |
| | | // }, { |
| | | // field: 'LotNo', |
| | | // title: '批次号', |
| | | // align: 'center', |
| | | // width: 125, |
| | | // }, { |
| | | // field: 'CompleteQty', |
| | | // title: '拣货数量', |
| | | // align: 'center', |
| | | // width: 90, |
| | | // }, { |
| | | // field: 'NowPalletNo', |
| | | // title: '新托盘', |
| | | // align: 'center', |
| | | // width: 95, |
| | | // }, { |
| | | // field: 'LotText', |
| | | // title: '批次描述', |
| | | // align: 'center', |
| | | // width: 150, |
| | | // }, { |
| | | // field: 'SupplierLot', |
| | | // title: '供货批次', |
| | | // align: 'center', |
| | | // width: 110, |
| | | // }, { |
| | | // field: 'Standard', |
| | | // title: '物料规格', |
| | | // align: 'center', |
| | | // width: 120, |
| | | // }, { |
| | | // field: 'CreateTime', |
| | | // align: 'center', |
| | | // title: '创建时间', |
| | | // width: 165, |
| | | // templet: function (d) { |
| | | // return formatDate(d.CreateTime); |
| | | // }, |
| | | // hide: true, |
| | | // }, { |
| | | // title: '操作', |
| | | // fixed: 'right', |
| | | // width: 90, |
| | | // align: 'center', |
| | | // toolbar: '#table-content-list2' |
| | | // }] |
| | | // ] |
| | | // }); |
| | | //#endregion |
| | | |
| | | |
| | | //#region 自定义表头 |
| | | var colsJson2 |
| | | var param1 = { |