| | |
| | | function getCol() { |
| | | var cols = []; |
| | | cols.push( |
| | | {field: 'orderCode', align: 'center', title: '订单编号', width: 120} |
| | | , {field: 'orderDate', align: 'center', title: '订单日期', width: 140} |
| | | , {field: 'invCode', align: 'center', title: '物料编码', width: 140} |
| | | {field: 'orderCode', align: 'center', title: '订单编号', width: 110} |
| | | , {field: 'orderDate', align: 'center', title: '订单日期', width: 120} |
| | | , {field: 'invCode', align: 'center', title: '物料编码', width: 130} |
| | | , {field: 'invName', align: 'center', title: '物料名称', width: 350} |
| | | , {field: 'invStd', align: 'center', title: '规格型号', width: 180} |
| | | , {field: 'invUnit', align: 'center', title: '单位', width: 80} |
| | | , {field: 'invStd', align: 'center', title: '规格型号', width: 160} |
| | | , {field: 'invUnit', align: 'center', title: '单位', width: 80, hide: true} |
| | | , {field: 'orderQty', align: 'center', title: '订单数量', width: 120} |
| | | , {field: 'outQty', align: 'center', title: '发货数量', width: 120} |
| | | , {field: 'izMrp', align: 'center', title: '是否mrp计算', hide: true} |
| | | , {field: 'inQty', align: 'center', title: '产成品入库数量', width: 140} |
| | | , {field: 'productQty', align: 'center', title: '生产任务单数量', width: 140} |
| | | , {field: 'izReceive', align: 'center', title: '是否收料', hide: true} |
| | | , {field: 'izMrp', align: 'center', title: '大订单(mrp)',width: 115} |
| | | , {field: 'productQty', align: 'center', title: '任务单', width: 110} |
| | | , {field: 'izReceive', align: 'center', title: '小订单', width: 80} |
| | | , {field: 'inQty', align: 'center', title: '入库数量', width: 110} |
| | | , {field: 'disQty', align: 'center', title: '通知单', width: 110} |
| | | , {field: 'outQty', align: 'center', title: '出库数量', width: 110} |
| | | |
| | | ); |
| | | return cols; |
| | | } |
| | |
| | | elem: '#salesOrder', |
| | | headers: {token: localStorage.getItem('token')}, |
| | | url: 'http://192.168.0.253:8073/api/report/getorderreport', |
| | | // where: { |
| | | // orderCode: 'NX5288', |
| | | // startTime: '2021-01-01', |
| | | // endTime: '2021-01-01', |
| | | // }, |
| | | height: 650, |
| | | width: '100%', |
| | | page: true, |
| | | limit: limit, |
| | | limits: [16, 50, 100, 200, 500], |
| | |
| | | #layui-laydate1 { |
| | | width: 300px; |
| | | } |
| | | .layui-table-body.layui-table-main{ |
| | | overflow: auto; |
| | | } |
| | | </style> |
| | | <body> |
| | | |