| | |
| | | return [[ |
| | | {type: 'checkbox'}, |
| | | {field: 'id', hide: true, title: '主键id'}, |
| | | {field: 'workOrderNo', sort: true, title: '工单编号',minWidth:160}, |
| | | {field: 'productionLine', sort: true, title: '产线编号'}, |
| | | {field: 'locationCode', sort: true, title: '工位编号'}, |
| | | {field: 'state', sort: true, title: '是否上料'}, |
| | | {field: 'createUser', sort: true, title: '创建用户'}, |
| | | {field: 'updateUser', sort: true, title: '更改用户'}, |
| | | {field: 'workOrderNo', sort: true, title: '工单号', width: 165}, |
| | | // {field: 'loadingCode', sort: true, title: '上料工位', width: 105}, |
| | | {field: 'locationCode', sort: true, title: '工位编号', width: 105}, |
| | | //{field: 'loadingCode', sort: true, title: '扫码工位编号', width: 105}, |
| | | {field: 'materialCode', sort: true, title: '物料编码'}, |
| | | {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: '操作'} |
| | | // {field: 'updateTime', sort: true, title: '修改时间',minWidth:160}, |
| | | //{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} |