| | |
| | | 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 = { |