| | |
| | | toolbar: '#toolbar', |
| | | cols: [[ |
| | | {fixed: 'left', title:'操作', align: 'center', toolbar: '#operate', width:80}, |
| | | {fixed: 'left', field: 'count', title: '数量(必填)', align: 'center', edit:'text', width: 120, style:'color: blue;'}, |
| | | {field: 'matNo', align: 'center', title: '物料编码'}, |
| | | {field: 'barcode', align: 'center', title: '条码'}, |
| | | {field: 'matName', align: 'center', title: '物料名称'}, |
| | | {field: 'str1', align: 'center', title: '物料单位'}, |
| | | {field: 'str2', align: 'center', title: '物料规格'}, |
| | | {fixed: 'right', field: 'count', title: '数量', align: 'center', edit:'text', width: 100} |
| | | {field: 'str2', align: 'center', title: '物料规格'} |
| | | ]], |
| | | done: function (res, curr, count) { |
| | | $('td[data-field=count] div').html(initCountVal); |