包装赋码管理

This commit is contained in:
沈鸿 2025-07-03 10:51:15 +08:00
parent 236ac6ed52
commit 5e76a17a25

View File

@ -301,21 +301,19 @@ const tableLoading = ref(false);
const tableTotal = ref(0); const tableTotal = ref(0);
const columns = ref([ const columns = ref([
{ prop: 'batchCode', label: '产品溯源码', slotName: 'batchCode', width: 150 }, { prop: 'batchCode', label: '产品溯源码', slotName: 'batchCode', width: 150 },
{ prop: 'productTypes', label: '产品名称' },
{ prop: 'name', label: '产品名称' }, { prop: 'name', label: '包装规格' },
{ prop: 'Unit', label: '规格' }, { prop: 'purchaseDate', label: '生产日期', width: 150 },
{ prop: 'purchaseDate', label: '生产日期' },
{ prop: 'number', label: '保质期' }, { prop: 'number', label: '保质期' },
// { prop: 'baseCode', label: '', width: 200 }, { prop: 'Unit', label: '生产商', width: 200 },
{ prop: 'plotName', label: '厂址' }, { prop: 'plotName', label: '厂址' },
{ prop: 'baseName', label: '原材料' }, { prop: 'baseName', label: '原材料' },
{ prop: 'baseAddress', label: '原产地' }, { prop: 'baseAddress', label: '原产地' },
{ prop: 'plotCode', label: '种植基地' }, { prop: 'plotCode', label: '种植基地' },
{ prop: 'businessEntity', label: '种植基地地址' }, { prop: 'businessEntity', label: '种植基地地址' },
{ prop: 'record', label: '生产经营主体类型' }, { prop: 'record', label: '生产经营主体类型' },
{ prop: 'type', label: '生产经营主体名称' }, { prop: 'type', label: '生产经营主体名称' },
{ prop: 'createDate', label: '创建日期' }, { prop: 'createDate', label: '创建日期', width: 150 },
{ prop: 'action', label: '操作', slotName: 'action', width: 100, fixed: 'right' }, { prop: 'action', label: '操作', slotName: 'action', width: 100, fixed: 'right' },
]); ]);
const handlePaginationChange = ({ page, pageSize }) => { const handlePaginationChange = ({ page, pageSize }) => {