| | |
| | | ,{field: 'brand', align: 'center',title: '品牌', hide: true} |
| | | ,{field: 'unit', align: 'center',title: '单位', hide: true} |
| | | ,{field: 'price', align: 'center',title: '单价', hide: true} |
| | | // ,{fixed: 'right', title:'简图', align: 'center', toolbar: '#operate1', width: 300} |
| | | ,{field: 'right', align: 'center',title: '简图', templet:function(row){ |
| | | var html = "<img src='http://127.0.0.1:8080/czkhasrs/previewImage?maktx=" +row.maktx+"'/>"; |
| | | //,{fixed: 'right', title:'简图', align: 'center', toolbar: '#operate1', width: 300} |
| | | // ,{fixed: 'right', align: 'center',title: '简图', templet:function(row){ |
| | | // var html = "<img src='http://127.0.0.1:8080/czkhasrs/previewImage?maktx=" +row.maktx+"'/>"; |
| | | // return html; |
| | | // }} |
| | | ,{fixed: 'right', align: 'center', title: '简图', templet: function(row){ |
| | | var html = "<a href='http://127.0.0.1:8080/czkhasrs/previewImage?maktx=" + row.maktx + "' target='_blank' rel='noopener noreferrer'>查看简图</a>"; |
| | | return html; |
| | | }} |
| | | ,{field: 'units', align: 'center',title: '单位量', hide: true} |