| | |
| | | // 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){ |
| | | /*,{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} |
| | | ,{field: 'barcode', align: 'center',title: '条码', hide: true} |
| | | ,{field: 'origin', align: 'center',title: '产地', hide: true} |
| | |
| | | <script type="text/html" id="operate"> |
| | | <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="detail">详情</a> |
| | | </script> |
| | | <script type="text/html" id="operate1"> |
| | | <!--<script type="text/html" id="operate1"> |
| | | <a class="layui-btn layui-btn-primary layui-btn-xs" lay-event="showPic" >查看简图</a> |
| | | </script> |
| | | </script>--> |
| | | <script type="text/javascript" src="../../static/js/jquery/jquery-3.3.1.min.js"></script> |
| | | <script type="text/javascript" src="../../static/layui/layui.js" charset="utf-8"></script> |
| | | <script type="text/javascript" src="../../static/js/common.js" charset="utf-8"></script> |