<Col span={8}> <Form.Item label="订单总数" name="count" rules={[{ required: true, message: '请输入订单总数' }]} > {disFlag ? <div style={{ paddingTop: '3px' }}> {form.getFieldValue('count')} </div> : <InputNumber min={1} style={{ width: '100%' }} /> } </Form.Item> </Col>