社保福利档案新增编辑页面重构

This commit is contained in:
黎永顺 2023-02-15 15:02:14 +08:00
parent c795325da4
commit c789fd09d3
3 changed files with 3 additions and 3 deletions

View File

@ -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 => ({

View File

@ -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 => ({

View File

@ -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 => ({