Commit 0ab4a8f1 authored by 涂伟's avatar 涂伟

feat: '辅助视图新增参数isShowOverview'

parent 01426f03
......@@ -182,11 +182,15 @@ const AddView = props => {
label="视图参数"
name="WebParam"
style={{
display: form.getFieldValue('WebPage') === 'InventoryMaterials' ? 'flex' : 'none',
display: form.getFieldValue('WebPage') === 'InventoryMaterials' || form.getFieldValue('WebPage') === 'RelatedOrder' ? 'flex' : 'none',
}}
>
<Select placeholder="选择视图参数" showSearch mode="multiple">
{['edit'].map((item, index) => (
{form.getFieldValue('WebPage') === 'InventoryMaterials' ? ['edit'].map((item, index) => (
<Option key={index} value={item}>
{item}
</Option>
)) : ['isShowOverview'].map((item, index) => (
<Option key={index} value={item}>
{item}
</Option>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment