| | |
| | | <table class="layui-table" id="product-table" lay-filter="product-table"></table> |
| | | </div> |
| | | </div> |
| | | <!-- 表格操作列 --> |
| | | <script type="text/html" id="product-table-bar"> |
| | | <a class="layui-btn layui-btn-danger layui-btn-xs" lay-event="del">删除</a> |
| | | </script> |
| | | <!-- 表格状态列 --> |
| | | <script type="text/html" id="product-tpl-state"> |
| | | <input type="checkbox" lay-filter="product-tpl-state" value="{{d.id}}" lay-skin="switch" lay-text="未处理|已处理" |
| | | {{d.enabled==true?'checked':''}}/> |
| | | </script> |
| | | |
| | | <script> |
| | | layui.use(['table', 'config','laydate'], function () { |
| | |
| | | var renderTable = function () { |
| | | table.render({ |
| | | elem: '#product-table', |
| | | url: config.base_server + 'api-opration/productorderdetail/group', |
| | | url: config.base_server + 'api-opration/productorderrecord/group', |
| | | method: 'GET', |
| | | headers: { 'Authorization': 'Bearer ' + config.getToken().access_token }, |
| | | page: true, |