| | |
| | | cellMinWidth: 50, |
| | | cols: [[ |
| | | {type: 'numbers', fixed: 'left'} |
| | | ,{field: 'node_name', align: 'center',title: '货位'} |
| | | ,{field: 'matnr', align: 'center',title: '商品编号'} |
| | | ,{field: 'maktx', align: 'center',title: '商品名称'} |
| | | // ,{field: 'nodeId$', align: 'center',title: '关联货位'} |
| | | ,{field: 'node_name', align: 'center',title: '货位'} |
| | | ,{field: 'safe_qua', align: 'center',title: '安全库存'} |
| | | ,{field: 'amount', align: 'center',title: '实际库存'} |
| | | ,{field: 'progress', align: 'center',title: '进度', templet: '#progressTpl'} |
| | | |
| | | ,{field: 'progress', align: 'center',title: '使用情况', templet: '#progressTpl'} |
| | | ,{field: 'safe_qua', align: 'center',title: '安全库存量', style: 'font-weight: bold'} |
| | | ,{field: 'amount', align: 'center',title: '当前库存量', style: 'font-weight: bold'} |
| | | ,{fixed: 'right', title:'操作', align: 'center', toolbar: '#operate', width:150} |
| | | ]], |
| | | request: { |
| | |
| | | <link rel="stylesheet" href="../../static/layui/css/layui.css" media="all"> |
| | | <link rel="stylesheet" href="../../static/css/cool.css" media="all"> |
| | | <link rel="stylesheet" href="../../static/css/common.css" media="all"> |
| | | <style> |
| | | .layui-progress { |
| | | margin-top: 10px; |
| | | } |
| | | </style> |
| | | </head> |
| | | <body> |
| | | |
| | |
| | | <a class="layui-btn layui-btn-xs btn-edit" lay-event="edit">编辑</a> |
| | | </script> |
| | | <script type="text/html" id="progressTpl"> |
| | | <div class="layui-progress layuiadmin-order-progress" lay-filter="progress-"+ {{ d.orderid }} +""> |
| | | <div class="layui-progress layuiadmin-order-progress"> |
| | | <div class="layui-progress-bar layui-bg-blue" lay-percent= {{ d.progress }}></div> |
| | | </div> |
| | | </script> |