提交 5c647313 authored 作者: wtj's avatar wtj

聚合查询,宽度不够

上级 05d8d3c8
...@@ -744,7 +744,7 @@ class FormList extends React.Component { ...@@ -744,7 +744,7 @@ class FormList extends React.Component {
{form.getFieldDecorator(item.name, { {form.getFieldDecorator(item.name, {
initialValue: formData == null ? '' : formData[item.name], initialValue: formData == null ? '' : formData[item.name],
rules: [{ required: !item.isNull }], rules: [{ required: !item.isNull }],
})(<Select style={{ width: 200 }} placeholder="请选择" allowClear> })(<Select style={{ width: '70%' }} placeholder="请选择" allowClear>
{ops.map((r) => <Option value={r[item.referenceCodeName]} {ops.map((r) => <Option value={r[item.referenceCodeName]}
key={r[item.referenceCodeName]}>{r[item.referenceNameName]}</Option>)} key={r[item.referenceCodeName]}>{r[item.referenceNameName]}</Option>)}
...@@ -759,7 +759,7 @@ class FormList extends React.Component { ...@@ -759,7 +759,7 @@ class FormList extends React.Component {
{form.getFieldDecorator(item.name, { {form.getFieldDecorator(item.name, {
initialValue: formData == null ? '' : formData[item.name], initialValue: formData == null ? '' : formData[item.name],
rules: [{ required: !item.isNull }], rules: [{ required: !item.isNull }],
})(<Select style={{ width: 150 }} placeholder="请选择" allowClear> })(<Select style={{ width: '70%' }} placeholder="请选择" allowClear>
{ops.map((r) => <Option value={r.value} {ops.map((r) => <Option value={r.value}
key={r.value}>{r.value}</Option>)} key={r.value}>{r.value}</Option>)}
</Select>)} </Select>)}
...@@ -792,7 +792,7 @@ class FormList extends React.Component { ...@@ -792,7 +792,7 @@ class FormList extends React.Component {
rules: [{ required: !item.isNull }], rules: [{ required: !item.isNull }],
})( })(
<RangePicker format={item.dataFormatStrWeb==null?"YYYY-MM-DD HH:mm:ss":item.dataFormatStrWeb} <RangePicker format={item.dataFormatStrWeb==null?"YYYY-MM-DD HH:mm:ss":item.dataFormatStrWeb}
style={{ width: '100%' }} />)} style={{ width: '95%' }} />)}
</FormItem> </FormItem>
); );
}else if (data.indexOf(item.type) > -1) { }else if (data.indexOf(item.type) > -1) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论