| | |
| | | import TdButton from '@/components/TdButton/TdButton' |
| | | import { vPermission } from '@/libs/Permission/Permission' |
| | | import { getWmsEnumData } from '@/widgets/WmsTask/Models/Service/WmsTaskDrawer' |
| | | import dayjs from 'dayjs' |
| | | import { |
| | | ElInput, |
| | | ElSelect, |
| | |
| | | isHidePagination={isHidePagination} |
| | | pageSize={20} |
| | | v-slots={{ |
| | | creationTime: ({ row }: any) => { |
| | | return ( |
| | | <div> |
| | | {row.creationTime != null |
| | | ? dayjs(row.creationTime).format('YYYY-MM-DD HH:mm:ss') |
| | | : '-'} |
| | | </div> |
| | | ) |
| | | }, |
| | | isRead: ({ row }: any) => { |
| | | return ( |
| | | <div> |
| | | {row.isRead != null ? (row.isRead ? '是' : '否') : '-'} |
| | | </div> |
| | | ) |
| | | }, |
| | | name: ({ row }: any) => { |
| | | return row?.name ? ( |
| | | <TdButton |
| | |
| | | <el-divider direction="vertical" /> |
| | | |
| | | <el-divider direction="vertical" /> |
| | | <el-upload |
| | | {/* <el-upload |
| | | v-permission="wmsTask-import" |
| | | name="file" |
| | | accept=".xlsx,.xls,.csv" |
| | |
| | | action="/api/v1/HIAWms/wmsTask/import" |
| | | > |
| | | <IconButton icon="in">导入</IconButton> |
| | | </el-upload> |
| | | </el-upload> */} |
| | | |
| | | <IconButton |
| | | {/* <IconButton |
| | | v-permission="wmsTask-output" |
| | | icon="out" |
| | | onClick={handleExport} |
| | | > |
| | | 导出 |
| | | </IconButton> |
| | | </IconButton> */} |
| | | </div> |
| | | <ElFormItem style={{ marginTop: '15px' }}> |
| | | <ElFormItem label="关键字"> |