|
|
@@ -9,7 +9,7 @@ export default function () { |
|
|
|
{ type: 'index', label: '序号' }, |
|
|
|
{ prop: "createTime", label: "添加时间", filter: timeFilter }, |
|
|
|
{ prop: "code", label: "窑车号" }, |
|
|
|
{ prop: "stateDictValue", label: "状态", filter: () => '需要子组件' }, // subcomponent |
|
|
|
{ prop: "stateDictValue", label: "状态", filter: v => (v !== null && v !== undefined) ? ['没有数据', '正常', '判废', '过渡'][v] : '-' }, // subcomponent |
|
|
|
{ prop: "orderCode", label: "订单号" }, |
|
|
|
{ prop: "posCode", label: "位置" }, |
|
|
|
{ prop: "startTime", label: "开始时间" }, |
|
|
@@ -22,8 +22,8 @@ export default function () { |
|
|
|
width: 90, |
|
|
|
subcomponent: TableOperaionComponent, |
|
|
|
options: [ |
|
|
|
{ name: "to-car-payload", label: "装载详情" }, |
|
|
|
{ name: "to-car-history", label: "查看历史", emitFull: true } |
|
|
|
{ name: "to-car-payload", label: "装载详情", icon: 'document' }, |
|
|
|
{ name: "to-car-history", label: "查看历史", emitFull: true, icon: 'time' } |
|
|
|
// { name: "edit", label: "编辑", icon: "edit-outline" }, |
|
|
|
// { name: "delete", icon: "delete", label: "删除", emitFull: true, permission: "pms:car:delete" } |
|
|
|
], |
|
|
|