| | |
| | | cols: [[ |
| | | {type: 'checkbox'} |
| | | ,{field: 'matnr', align: 'center',title: '物料编号'} |
| | | ,{field: 'maktx', align: 'center',title: '物料名称'} |
| | | ,{field: 'stockQty', align: 'center',title: 'WMS库存'} |
| | | ,{field: 'erpQty', align: 'center',title: 'ERP库存'} |
| | | ,{field: 'val', align: 'center',title: '差异值', style: 'font-weight: bold;color: blue'} |
| | |
| | | statusCode: 200 |
| | | }, |
| | | done: function(res, curr, count) { |
| | | // console.log(res.data); |
| | | // console.log(res.data.total); |
| | | console.log(res.data.records); |
| | | if (res.code === 403) { |
| | | top.location.href = baseUrl+"/"; |
| | | } |
| | |
| | | |
| | | } |
| | | layDateRender(); |
| | | |
| | | form.on("select(chooseItem)", function (data) { |
| | | console.log(data); |
| | | tableIns.reload({ |
| | | where: { includeZero: data.value} |
| | | }); |
| | | |
| | | }) |
| | | |
| | | }); |
| | | |