|
@@ -175,16 +175,16 @@ const [BaseForm, baseFormApi] = useVbenForm({
|
|
|
// },
|
|
// },
|
|
|
// rules: z.string().min(1, { message: '请输入产品SN号' }),
|
|
// rules: z.string().min(1, { message: '请输入产品SN号' }),
|
|
|
// },
|
|
// },
|
|
|
- {
|
|
|
|
|
- component: 'Input',
|
|
|
|
|
- fieldName: 'productspm',
|
|
|
|
|
- label: '品目',
|
|
|
|
|
- componentProps: {
|
|
|
|
|
- placeholder: '请输入品目',
|
|
|
|
|
- allowClear: true,
|
|
|
|
|
- },
|
|
|
|
|
- rules: z.string().min(1, { message: '请输入品目' }),
|
|
|
|
|
- },
|
|
|
|
|
|
|
+ // {
|
|
|
|
|
+ // component: 'Input',
|
|
|
|
|
+ // fieldName: 'productspm',
|
|
|
|
|
+ // label: '品目',
|
|
|
|
|
+ // componentProps: {
|
|
|
|
|
+ // placeholder: '请输入品目',
|
|
|
|
|
+ // allowClear: true,
|
|
|
|
|
+ // },
|
|
|
|
|
+ // rules: z.string().min(1, { message: '请输入品目' }),
|
|
|
|
|
+ // },
|
|
|
{
|
|
{
|
|
|
component: 'Select',
|
|
component: 'Select',
|
|
|
fieldName: 'productsmerchantid',
|
|
fieldName: 'productsmerchantid',
|
|
@@ -241,28 +241,28 @@ const [BaseForm, baseFormApi] = useVbenForm({
|
|
|
placeholder: '请输入二级分类',
|
|
placeholder: '请输入二级分类',
|
|
|
allowClear: true,
|
|
allowClear: true,
|
|
|
},
|
|
},
|
|
|
- rules: z.string().min(1, { message: '请输入二级分类' }),
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- component: 'Input',
|
|
|
|
|
- fieldName: 'productsfdmc',
|
|
|
|
|
- label: '分档名称',
|
|
|
|
|
- componentProps: {
|
|
|
|
|
- placeholder: '请输入分档名称',
|
|
|
|
|
- allowClear: true,
|
|
|
|
|
- },
|
|
|
|
|
- rules: z.string().min(1, { message: '请输入分档名称' }),
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- component: 'Input',
|
|
|
|
|
- fieldName: 'productsfdbh',
|
|
|
|
|
- label: '分档编号',
|
|
|
|
|
- componentProps: {
|
|
|
|
|
- placeholder: '请输入分档编号',
|
|
|
|
|
- allowClear: true,
|
|
|
|
|
- },
|
|
|
|
|
- rules: z.string().min(1, { message: '请输入分档编号' }),
|
|
|
|
|
|
|
+ // rules: z.string().min(1, { message: '请输入二级分类' }),
|
|
|
},
|
|
},
|
|
|
|
|
+ // {
|
|
|
|
|
+ // component: 'Input',
|
|
|
|
|
+ // fieldName: 'productsfdmc',
|
|
|
|
|
+ // label: '分档名称',
|
|
|
|
|
+ // componentProps: {
|
|
|
|
|
+ // placeholder: '请输入分档名称',
|
|
|
|
|
+ // allowClear: true,
|
|
|
|
|
+ // },
|
|
|
|
|
+ // rules: z.string().min(1, { message: '请输入分档名称' }),
|
|
|
|
|
+ // },
|
|
|
|
|
+ // {
|
|
|
|
|
+ // component: 'Input',
|
|
|
|
|
+ // fieldName: 'productsfdbh',
|
|
|
|
|
+ // label: '分档编号',
|
|
|
|
|
+ // componentProps: {
|
|
|
|
|
+ // placeholder: '请输入分档编号',
|
|
|
|
|
+ // allowClear: true,
|
|
|
|
|
+ // },
|
|
|
|
|
+ // rules: z.string().min(1, { message: '请输入分档编号' }),
|
|
|
|
|
+ // },
|
|
|
{
|
|
{
|
|
|
component: 'InputNumber',
|
|
component: 'InputNumber',
|
|
|
fieldName: 'productsprice',
|
|
fieldName: 'productsprice',
|