社保福利档案新增编辑页面重构
This commit is contained in:
parent
c795325da4
commit
c789fd09d3
|
|
@ -111,7 +111,7 @@ export default class AccumulationFundForm extends React.Component {
|
|||
onChange={this.handleFormChange}/>}
|
||||
items={foundItems} col={2} showGroup needTigger={false}/>
|
||||
{
|
||||
!_.isEmpty(fundSchemeId.toString()) && !_.isEmpty(toJS(paymentItems)) && _.map(toJS(paymentItems), item => {
|
||||
fundSchemeId && !_.isEmpty(toJS(paymentItems)) && _.map(toJS(paymentItems), item => {
|
||||
const { title, items } = item;
|
||||
return <WeaSearchGroup
|
||||
items={_.map(items, child => ({
|
||||
|
|
|
|||
|
|
@ -96,7 +96,7 @@ export default class OtherForm extends React.Component {
|
|||
onChange={this.handleFormChange}/>}
|
||||
items={otherItems} col={2} showGroup needTigger={false}/>
|
||||
{
|
||||
!_.isEmpty(otherSchemeId.toString()) && !_.isEmpty(toJS(paymentItems)) && _.map(toJS(paymentItems), item => {
|
||||
otherSchemeId && !_.isEmpty(toJS(paymentItems)) && _.map(toJS(paymentItems), item => {
|
||||
const { title, items } = item;
|
||||
return <WeaSearchGroup
|
||||
items={_.map(items, child => ({
|
||||
|
|
|
|||
|
|
@ -97,7 +97,7 @@ export default class SocialSecurityForm extends React.Component {
|
|||
onChange={this.handleFormChange}/>}
|
||||
items={socialItems} col={2} showGroup needTigger={false}/>
|
||||
{
|
||||
!_.isEmpty(socialSchemeId.toString()) && !_.isEmpty(toJS(paymentItems)) && _.map(toJS(paymentItems), item => {
|
||||
socialSchemeId && !_.isEmpty(toJS(paymentItems)) && _.map(toJS(paymentItems), item => {
|
||||
const { title, items } = item;
|
||||
return <WeaSearchGroup
|
||||
items={_.map(items, child => ({
|
||||
|
|
|
|||
Loading…
Reference in New Issue