增强原材料卡片管理功能,新增免密接口和数据处理逻辑,支持原材料卡片的增删改查操作。更新前端视图以支持多行拆码明细拼接,优化用户体验和系统实时数据同步能力。

This commit is contained in:
geht
2026-05-11 14:32:44 +08:00
parent 936375bb2c
commit cffe32d896
49 changed files with 4594 additions and 390 deletions

View File

@@ -156,22 +156,23 @@ export const formSchema: FormSchema[] = [
componentProps: { min: 0, precision: 2, placeholder: '请输入总重', style: { width: '100%' } },
},
{
// 字段升级为字符串类型,支持桌面端拆码明细多行拼接(如 20/1/
label: '总份数',
field: 'totalPortions',
component: 'InputNumber',
componentProps: { min: 0, placeholder: '请输入总份数', style: { width: '100%' } },
component: 'Input',
componentProps: { placeholder: '请输入总份数(多行明细用 / 拼接)', style: { width: '100%' } },
},
{
label: '每份总重(KG)',
field: 'portionWeight',
component: 'InputNumber',
componentProps: { min: 0, precision: 2, placeholder: '请输入每份总重', style: { width: '100%' } },
component: 'Input',
componentProps: { placeholder: '请输入每份总重(多行明细用 / 拼接)', style: { width: '100%' } },
},
{
label: '每份包数',
field: 'portionPackages',
component: 'InputNumber',
componentProps: { min: 0, placeholder: '请输入每份包数', style: { width: '100%' } },
component: 'Input',
componentProps: { placeholder: '请输入每份包数(多行明细用 / 拼接)', style: { width: '100%' } },
},
{
label: '检测结果',