|
@@ -49,9 +49,9 @@ export default {
|
|
|
return {
|
|
|
columns: [
|
|
|
{ title: '序号', dataIndex: 'no', width: 80, align: 'center' },
|
|
|
- { title: '创建时间', dataIndex: 'createDate', width: 160, align: 'center' },
|
|
|
- { title: '调拨类别', dataIndex: 'allocateCategoryDictValue', width: 200, align: 'center' },
|
|
|
- { title: '调拨类型名称', dataIndex: 'name', align: 'center', ellipsis: true },
|
|
|
+ { title: '创建时间', dataIndex: 'createDate', width: 160, align: 'center', customRender: function (text) { return text || '--' } },
|
|
|
+ { title: '调拨类别', dataIndex: 'allocateCategoryDictValue', width: 200, align: 'center', customRender: function (text) { return text || '--' } },
|
|
|
+ { title: '调拨类型名称', dataIndex: 'name', align: 'center', customRender: function (text) { return text || '--' }, ellipsis: true },
|
|
|
{ title: '操作', scopedSlots: { customRender: 'action' }, width: 200, align: 'center' }
|
|
|
],
|
|
|
// 加载数据方法 必须为 Promise 对象
|