| | |
| | | {field: 'locationCode', sort: true, title: '工位编号', width: 105}, |
| | | //{field: 'loadingCode', sort: true, title: '扫码工位编号', width: 105}, |
| | | {field: 'materialCode', sort: true, title: '物料编码'}, |
| | | {field: 'spareField1', sort: true, title: '剩余数量'}, |
| | | {field: 'loadingCode', sort: true, title: '物料批次'}, |
| | | {field: 'state', sort: true, title: '是否扫码', width: 105,templet: '#stateTpl'}, |
| | | {field: 'batch', sort: true, title: '物料批次'}, |
| | | {field: 'quantity', sort: true, title: '上料数量'}, |
| | | {field: 'residueQuantity', sort: true, title: '剩余数量'}, |
| | | {field: 'unit', sort: true, title: '单位'}, |
| | | |
| | | {field: 'status', sort: true, title: '是否上料', width: 105,templet: '#stateTpl'}, |
| | | {field: 'createTime', sort: true, title: '创建时间',minWidth:160}, |
| | | // {field: 'updateTime', sort: true, title: '修改时间',minWidth:160}, |
| | | {align: 'center', toolbar: '#tableBar', title: '操作'} |
| | | //{align: 'center', toolbar: '#tableBar', title: '操作'} |
| | | ]]; |
| | | }; |
| | | |
| | |
| | | ProductionOrderBatchInfo.search = function () { |
| | | var queryData = {}; |
| | | queryData['workOrderNo'] = $("#workOrderNo").val(); |
| | | queryData['productionLine'] = $("#productionLine").val(); |
| | | queryData['locationCode'] = $("#locationCode").val(); |
| | | queryData['loadingCode'] = $("#loadingCode").val(); |
| | | queryData['status'] = $("#status").val(); |
| | | |
| | | table.reload(ProductionOrderBatchInfo.tableId, { |
| | | where: queryData, page: {curr: 1} |