|
@@ -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,
|