xiaoyong931011
2023-02-22 69b2dfc245c5b761db44b70b1653c3b4d97f1564
src/main/resources/templates/febs/views/modules/goods/goodsList.html
@@ -28,7 +28,7 @@
                            </div>
                        </div>
                    </form>
                    <table lay-filter="userTable" lay-data="{id: 'userTable'}"></table>
                    <table lay-filter="goodsListTable" lay-data="{id: 'goodsListTable'}"></table>
                    <style type="text/css">
                        .layui-table-cell{
                            text-align:center;
@@ -104,7 +104,7 @@
            $reset = $view.find('#reset'),
            $searchForm = $view.find('form'),
            $add = $view.find('#add'),
            sortObject = {field: 'phone', type: null},
            sortObject = {field: 'isSale', type: 'asc'},
            tableIns;
        form.render();
@@ -115,7 +115,7 @@
        initTable();
        // 初始化表格操作栏各个按钮功能
        table.on('tool(userTable)', function (obj) {
        table.on('tool(goodsListTable)', function (obj) {
            var data = obj.data,
                layEvent = obj.event;
            if (layEvent === 'downGoods') {
@@ -227,7 +227,7 @@
        function initTable() {
            tableIns = febs.table.init({
                elem: $view.find('table'),
                id: 'userTable',
                id: 'goodsListTable',
                url: ctx + 'admin/goods/goodsList?goodsType=1',
                cols: [[
                    {field: 'goodsNo', title: '商品编号', minWidth: 100,align:'left'},