| | |
| | | return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.errorTime); |
| | | } |
| | | |
| | | public String getStatus$() { |
| | | if (this.status == null) { |
| | | return null; |
| | | } |
| | | switch (this.status) { |
| | | case 1: |
| | | return "正常"; |
| | | case 0: |
| | | return "禁用"; |
| | | default: |
| | | return String.valueOf(this.status); |
| | | } |
| | | } |
| | | |
| | | } |
| | |
| | | field: 'locSts', |
| | | columnName: 'loc_sts', |
| | | label: '库位状态', |
| | | tableProp: 'locSts', |
| | | exportField: 'locSts', |
| | | kind: 'text', |
| | | tableProp: 'locSts$', |
| | | exportField: 'locSts$', |
| | | kind: 'enum', |
| | | valueType: 'string', |
| | | required: false, |
| | | primaryKey: false, |
| | | sortable: false, |
| | | textarea: false, |
| | | minWidth: 110, |
| | | enumOptions: [], |
| | | minWidth: 120, |
| | | enumOptions: [ |
| | | { rawValue: 'D', label: '空板' }, |
| | | { rawValue: 'F', label: '在库' }, |
| | | { rawValue: 'O', label: '空库' }, |
| | | { rawValue: 'R', label: '出库预约' }, |
| | | { rawValue: 'S', label: '入库预约' }, |
| | | { rawValue: 'X', label: '禁用' }, |
| | | { rawValue: 'E', label: '不可放货通道' }, |
| | | { rawValue: 'W', label: '母轨道' }, |
| | | { rawValue: 'C', label: '充电桩' }, |
| | | { rawValue: 'Z', label: '站点' } |
| | | ], |
| | | foreignQuery: '', |
| | | checkboxActiveRaw: 'Y', |
| | | checkboxInactiveRaw: 'N' |
| | |
| | | { |
| | | field: 'status', |
| | | columnName: 'status', |
| | | label: '', |
| | | tableProp: 'status', |
| | | exportField: 'status', |
| | | kind: 'text', |
| | | label: '状态', |
| | | tableProp: 'status$', |
| | | exportField: 'status$', |
| | | kind: 'enum', |
| | | valueType: 'number', |
| | | required: false, |
| | | primaryKey: false, |
| | | sortable: false, |
| | | textarea: false, |
| | | minWidth: 110, |
| | | enumOptions: [], |
| | | minWidth: 120, |
| | | enumOptions: [{ rawValue: '1', label: '正常' }, { rawValue: '0', label: '禁用' }], |
| | | foreignQuery: '', |
| | | checkboxActiveRaw: '1', |
| | | checkboxInactiveRaw: '0' |