| | |
| | | } |
| | | function set_InitGrid() { |
| | | var columns = [ |
| | | { checkbox: true/*, fixed: true*/ } |
| | | { checkbox: true, fixed: 'left', totalRowText: '合计'/*, fixed: true*/ } |
| | | , { field: 'sorderid', title: '序号', width: 80/*, fixed: true*/ } |
| | | , { field: 'hmainid', title: 'hmainid', sort: true/*, fixed: true*/, hide: true } |
| | | , { field: 'hsubid', title: 'hsubid', sort: true/*, fixed: true*/, hide: true } |
| | |
| | | , { field: '物料名称', title: '物料名称', width: 120, sort: true } |
| | | , { field: '规格型号', title: '规格型号', width: 120, sort: true } |
| | | , { field: '计量单位', title: '计量单位', width: 80, sort: true } |
| | | , { field: '数量', title: '订货数量', width: 100, sort: true } |
| | | , { field: '未生成条码数量', title: '未生成条码数量', width: 100, sort: true } |
| | | , { field: '合格数量', title: '合格数量', width: 100, sort: true } |
| | | , { field: '不合格数量', title: '不合格数量', width: 100, sort: true } |
| | | , { field: '数量', title: '订货数量', width: 100, sort: true, totalRow: true } |
| | | , { field: '未生成条码数量', title: '未生成条码数量', width: 100, sort: true, totalRow: true } |
| | | , { field: '合格数量', title: '合格数量', width: 100, sort: true, totalRow: true } |
| | | , { field: '不合格数量', title: '不合格数量', width: 100, sort: true, totalRow: true } |
| | | , { field: '含税单价', title: '含税单价', width: 100, sort: true, hide: true } |
| | | , { field: '金额', title: '金额', width: 100, sort: true, hide: true } |
| | | , { field: '日期', title: '日期', width: 150, sort: true } |
| | |
| | | //关闭当前frame |
| | | layer.close(index); |
| | | //修改为功后刷新界面 |
| | | get_Display(sqlWhere); |
| | | get_Display(sql); |
| | | }); |
| | | |
| | | } else { |
| | |
| | | //自定义头工具栏右侧图标 - 提示 |
| | | case 'btn-reload': |
| | | _cur_page = $(".layui-laypage-em").next().html(); |
| | | RoadHBillNo(sql); |
| | | get_Display(sql); |
| | | // }); |
| | | break; |
| | | case 'btn-HideColumn': |