| | |
| | | toolbar: '#toolbar', |
| | | cols: [[ |
| | | {type: 'checkbox', fixed: 'left'}, |
| | | {field: 'matNo', align: 'center', title: '物料编码'}, |
| | | {field: 'matNo', align: 'center', title: '物料编码', sort: 'true'}, |
| | | {field: 'barcode', align: 'center', title: '条码'}, |
| | | {field: 'matName', align: 'center', title: '物料名称'}, |
| | | {field: 'str1', align: 'center', title: '物料单位'}, |
| | |
| | | } |
| | | }); |
| | | |
| | | |
| | | |
| | | // 页面修改 |
| | | table.on('edit(matCode)', function (obj) { |
| | | updateMatCodeData(obj.data.matNo, Number(obj.value)); |
| | |
| | | }); |
| | | searchData['orderByField'] = obj.field; |
| | | searchData['orderByType'] = obj.type; |
| | | tableIns.reload({ |
| | | matQueryTable.reload({ |
| | | where: searchData, |
| | | page: { |
| | | curr: 1 |