Commit ecf42b2d authored by Maofei94's avatar Maofei94

fix: 产品配置修改

parent a30dedd7
Pipeline #22709 passed with stages
in 18 minutes 34 seconds
...@@ -56,7 +56,7 @@ const EditForm = props => { ...@@ -56,7 +56,7 @@ const EditForm = props => {
}, },
]} ]}
> >
<Input placeholder="请输入产品名称" allowClear /> <Input placeholder="请输入产品名称" allowClear disabled />
</Item> </Item>
<Item <Item
label="产品别名:" label="产品别名:"
......
...@@ -66,7 +66,7 @@ const AddForm = props => { ...@@ -66,7 +66,7 @@ const AddForm = props => {
{productList && {productList &&
productList.map(item => ( productList.map(item => (
<Option value={item.ProductName} key={item.Id}> <Option value={item.ProductName} key={item.Id}>
{item.ProductName} {item.ProductAlias}
</Option> </Option>
))} ))}
</Select> </Select>
......
...@@ -77,7 +77,7 @@ const EditForm = props => { ...@@ -77,7 +77,7 @@ const EditForm = props => {
{productList && {productList &&
productList.map(item => ( productList.map(item => (
<Option value={item.ProductName} key={item.Id}> <Option value={item.ProductName} key={item.Id}>
{item.ProductName} {item.ProductAlias}
</Option> </Option>
))} ))}
</Select> </Select>
......
...@@ -191,11 +191,11 @@ export const getDefaultGetWebconfig = ({ ...@@ -191,11 +191,11 @@ export const getDefaultGetWebconfig = ({
placeholder: '请选择产品类型', placeholder: '请选择产品类型',
options: products.map(t => ({ options: products.map(t => ({
value: t.ProductName, value: t.ProductName,
children: t.ProductName, children: t.ProductAlias,
key: t.Id, key: t.Id,
})), })),
onDropdownVisibleChange: onGetProduct, onDropdownVisibleChange: onGetProduct,
showSearch: true, showSearch: false,
filterOption: (input, option) => filterOption: (input, option) =>
option.children.toLowerCase().indexOf(input.toLowerCase()) >= 0, option.children.toLowerCase().indexOf(input.toLowerCase()) >= 0,
rules: [ rules: [
......
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