|
|
@@ -31,7 +31,7 @@ const CreateForm = (props) => { |
|
|
|
<Input placeholder="配方名称" /> |
|
|
|
</Form.Item> |
|
|
|
<Form.Item name="bomTypeList" label="配方类型" > |
|
|
|
<Select |
|
|
|
<Select |
|
|
|
mode="multiple" |
|
|
|
allowClear > |
|
|
|
{props?.bomtype?.map((item, index) => { |
|
|
@@ -46,6 +46,9 @@ const CreateForm = (props) => { |
|
|
|
<Form.Item name="isMain" label="配方类型" > |
|
|
|
<Switch checkedChildren="主料" unCheckedChildren="辅料" /> |
|
|
|
</Form.Item> |
|
|
|
<Form.Item name="sort" label="排序" > |
|
|
|
<InputNumber placeholder="排序" min={1} /> |
|
|
|
</Form.Item> |
|
|
|
<Form.Item> |
|
|
|
<Button type="primary" htmlType="submit"> |
|
|
|
保存 |
|
|
|