编辑页面编号设置
This commit is contained in:
parent
a7592b2777
commit
57b165f6d8
|
|
@ -2,7 +2,7 @@
|
|||
* @Author: 程亮
|
||||
* @Date: 2022-05-18 14:52:39
|
||||
* @LastEditTime: 2022-06-22 16:37:43
|
||||
* @Description:
|
||||
* @Description:
|
||||
* @FilePath: /trunk/src4js/pc4mobx/organization/components/company/CompanyExtend.js
|
||||
*/
|
||||
import { Button, Modal, message, Row, Col, Spin } from 'antd';
|
||||
|
|
@ -14,9 +14,11 @@ import { WeaSwitch } from 'comsMobx';
|
|||
import { inject, observer } from 'mobx-react';
|
||||
import * as mobx from 'mobx';
|
||||
import { i18n } from '../../public/i18n';
|
||||
import '../../style/common.less';
|
||||
|
||||
const toJS = mobx.toJS;
|
||||
import '../../style/common.less';
|
||||
import AttachToNumberField from "../NewNumberField";
|
||||
|
||||
|
||||
@inject('companyExtend')
|
||||
|
|
@ -122,9 +124,11 @@ export default class CompanyExtend extends React.Component {
|
|||
label={`${field.label}`}
|
||||
error={form.getError(field)}
|
||||
tipPosition={tipPosition}
|
||||
className={j === 1 && "minH5"}
|
||||
labelCol={{ span: `${field.labelcol}` }}
|
||||
wrapperCol={{ span: `${field.fieldcol}` }}>
|
||||
<WeaSwitch ecId={`${this && this.props && this.props.ecId || ''}_WeaSwitch@d4vaqk@${j}`} fieldConfig={field} form={form} />
|
||||
{field.domkey[0] == 'comp_no' && field.viewAttr != '1' && <AttachToNumberField field={field} form={form} isEdit={true}/>}
|
||||
</WeaFormItem>),
|
||||
colSpan: 1
|
||||
});
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
* @Author: 程亮
|
||||
* @Date: 2022-06-02 09:20:03
|
||||
* @LastEditTime: 2022-06-29 17:42:27
|
||||
* @Description:
|
||||
* @Description:
|
||||
* @FilePath: /trunk/src4js/pc4mobx/organization/components/department/departmentExtend.js
|
||||
*/
|
||||
|
||||
|
|
@ -16,6 +16,7 @@ import { WeaSwitch } from 'comsMobx';
|
|||
import { inject, observer } from 'mobx-react';
|
||||
import * as mobx from 'mobx';
|
||||
import { i18n } from '../../public/i18n';
|
||||
import AttachToNumberField from "../NewNumberField";
|
||||
|
||||
const toJS = mobx.toJS;
|
||||
import '../../style/common.less';
|
||||
|
|
@ -123,9 +124,11 @@ export default class DepartmentExtendStore extends React.Component {
|
|||
label={`${field.label}`}
|
||||
error={form.getError(field)}
|
||||
tipPosition={tipPosition}
|
||||
className={j === 1 && "minH5"}
|
||||
labelCol={{ span: `${field.labelcol}` }}
|
||||
wrapperCol={{ span: `${field.fieldcol}` }}>
|
||||
<WeaSwitch ecId={`${this && this.props && this.props.ecId || ''}_WeaSwitch@d4vaqk@${j}`} fieldConfig={field} form={form} />
|
||||
{field.domkey[0] == 'dept_no' && field.viewAttr != '1' && <AttachToNumberField field={field} form={form} isEdit={true}/>}
|
||||
</WeaFormItem>),
|
||||
colSpan: 1
|
||||
});
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
* @Author: 程亮
|
||||
* @Date: 2022-05-26 14:07:12
|
||||
* @LastEditTime: 2022-07-12 16:25:58
|
||||
* @Description:
|
||||
* @Description:
|
||||
* @FilePath: /trunk/src4js/pc4mobx/organization/components/job/JobExtend.js
|
||||
*/
|
||||
|
||||
|
|
@ -18,6 +18,7 @@ import { i18n } from '../../public/i18n';
|
|||
|
||||
const toJS = mobx.toJS;
|
||||
import '../../style/common.less';
|
||||
import AttachToNumberField from "../NewNumberField";
|
||||
|
||||
|
||||
@inject('jobExtend')
|
||||
|
|
@ -122,9 +123,11 @@ export default class JobExtend extends React.Component {
|
|||
label={`${field.label}`}
|
||||
error={form.getError(field)}
|
||||
tipPosition={tipPosition}
|
||||
className={j === 1 && "minH5"}
|
||||
labelCol={{ span: `${field.labelcol}` }}
|
||||
wrapperCol={{ span: `${field.fieldcol}` }}>
|
||||
<WeaSwitch ecId={`${this && this.props && this.props.ecId || ''}_WeaSwitch@d4vaqk@${j}`} fieldConfig={field} form={form} onChange={this.onChange} />
|
||||
{field.domkey[0] == 'job_no' && field.viewAttr != '1' && <AttachToNumberField field={field} form={form} isEdit={true}/>}
|
||||
</WeaFormItem>),
|
||||
colSpan: 1
|
||||
});
|
||||
|
|
|
|||
|
|
@ -76,3 +76,7 @@
|
|||
max-height: 350px!important;
|
||||
}
|
||||
}
|
||||
//编辑页面的表单项样式
|
||||
.minH5{
|
||||
min-height: 50px!important;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue