diff --git a/erp-produce/src/main/resources/template/js/departmentMachining/machiningGantt.js b/erp-produce/src/main/resources/template/js/departmentMachining/machiningGantt.js index 3a7ddde42c5b7a6c95543717923b2346b453a4c6..d8daa2174e2aaa3b83fe46a17b985e4a2fc5c17a 100644 --- a/erp-produce/src/main/resources/template/js/departmentMachining/machiningGantt.js +++ b/erp-produce/src/main/resources/template/js/departmentMachining/machiningGantt.js @@ -42,11 +42,13 @@ layui.config({ {unit: "day", step: 1, date: "%m-%d"} ]; gantt.config.reorder_grid_columns = true; - gantt.config.columns = [{ + gantt.config.columns = [ + {name: "wbs", label: "序号", width: 50, template: gantt.getWBSCode}, + { name: "text", label: "产品", width: 200, - align: "center", + align: "left", tree: true, resize: true }, {