| | |
| | | import EditView from './edit.vue' |
| | | import { formatMessage } from '@/utils/localeUtils.js'; |
| | | import ZpalletBarcodePrint from '@/components/print/zpalletBarcodePrint/index.vue'; |
| | | import useTableSearch from '@/utils/tableUtils.jsx'; |
| | | const context = getCurrentInstance()?.appContext.config.globalProperties; |
| | | |
| | | const router = useRouter(); |
| | |
| | | let tableData = ref([]); |
| | | getPage(); |
| | | |
| | | const { |
| | | getColumnSearchProps, |
| | | } = useTableSearch(); |
| | | |
| | | const columns = [ |
| | | { |
| | | title: formatMessage('db.man_zpallet_barcode.barcode', '容器条码'), |
| | | dataIndex: 'barcode', |
| | | width: 140, |
| | | ellipsis: true, |
| | | ...getColumnSearchProps('barcode'), |
| | | }, |
| | | { |
| | | title: formatMessage('db.man_zpallet_barcode.flag', '标识'), |
| | | dataIndex: 'flag', |
| | | width: 140, |
| | | ellipsis: true, |
| | | ...getColumnSearchProps('flag'), |
| | | }, |
| | | { |
| | | title: formatMessage('db.man_zpallet_barcode.barcode_print', '打印状态'), |
| | | dataIndex: 'barcodePrint$', |
| | | width: 140, |
| | | ellipsis: true, |
| | | ...getColumnSearchProps('barcodePrint$'), |
| | | }, |
| | | // { |
| | | // title: formatMessage('db.man_zpallet_barcode.uuid', '编号'), |
| | |
| | | dataIndex: 'status$', |
| | | width: 140, |
| | | ellipsis: true, |
| | | ...getColumnSearchProps('status$'), |
| | | }, |
| | | // { |
| | | // title: formatMessage('db.man_zpallet_barcode.create_time', '添加时间'), |
| | |
| | | dataIndex: 'memo', |
| | | width: 140, |
| | | ellipsis: true, |
| | | ...getColumnSearchProps('memo'), |
| | | }, |
| | | |
| | | { |