Ver Fonte

系统管理表格格式问题修改

fengjunhao há 3 meses atrás
pai
commit
61eb7e0810
1 ficheiros alterados com 5 adições e 4 exclusões
  1. 5 4
      projects/src/main/webapp/vmodules/project/xmzhtj.jsp

+ 5 - 4
projects/src/main/webapp/vmodules/project/xmzhtj.jsp

@@ -172,18 +172,19 @@
                     even: true,
                     cols: [[ // 设置表头
                         { type: 'numbers',  width: 80,title:'序号' },
-                        {field: 'projectDate', title: '月', minWidth: 200},
+                        {field: 'projectDate',align: "center", title: '月', minWidth: 200},
                         {
                             field: 'kind',
-                            title: '类型',
+                            title: '类型'
+                            ,align: "center",
                             minWidth: 200,
                             templet: function (row) {
                                 // 判断 kind 的值,进行转换
                                 return row.kind === '1' ? '正转' : (row.kind === '2' ? '逆转' : '未知');
                             }
                         },
-                        { field: 'title', title: '说明', minWidth: 200 },
-                        { field: 'number', title: '数量', minWidth: 200 },
+                        { field: 'title',align: "center", title: '说明', minWidth: 200 },
+                        { field: 'number',align: "center", title: '数量', minWidth: 200 },
                         { title: '操作', width: 100, align: 'center', toolbar: '#currentTableBar', fixed: 'right' }
                     ]],
                     data: self.dataList,