From 014270352f8e19b51bbb4367ae2ff256050a30a2 Mon Sep 17 00:00:00 2001 From: skyouc Date: 星期二, 22 四月 2025 14:03:42 +0800 Subject: [PATCH] #修改优化 1. 字典优化修改 2. 编码规则优化 3. 出库单编码生成为空问题修复 --- rsf-admin/src/page/basicInfo/matnr/MatnrCreate.jsx | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-) diff --git a/rsf-admin/src/page/basicInfo/matnr/MatnrCreate.jsx b/rsf-admin/src/page/basicInfo/matnr/MatnrCreate.jsx index 04b4d48..e838adf 100644 --- a/rsf-admin/src/page/basicInfo/matnr/MatnrCreate.jsx +++ b/rsf-admin/src/page/basicInfo/matnr/MatnrCreate.jsx @@ -172,7 +172,6 @@ <AutocompleteInput label="table.field.matnr.shipperId" optionText="name" - validate={[required()]} filterToQuery={(val) => ({ name: val })} /> </ReferenceInput> @@ -188,7 +187,6 @@ <TextInput label="table.field.matnr.platCode" source="platCode" - validate={[required()]} parse={v => v} /> </Grid> @@ -288,6 +286,7 @@ <TextInput label={item.fieldsAlise} source={item.fields} + validate={item.unique === 1 ? required() : false} /> </Grid> ) -- Gitblit v1.9.1