diff --git a/pc4mobx/hrmSalary/pages/socialSecurityBenefits/archives/accumulationFundForm.js b/pc4mobx/hrmSalary/pages/socialSecurityBenefits/archives/accumulationFundForm.js index 2125faa4..3dab92d0 100644 --- a/pc4mobx/hrmSalary/pages/socialSecurityBenefits/archives/accumulationFundForm.js +++ b/pc4mobx/hrmSalary/pages/socialSecurityBenefits/archives/accumulationFundForm.js @@ -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 ({ diff --git a/pc4mobx/hrmSalary/pages/socialSecurityBenefits/archives/otherForm.js b/pc4mobx/hrmSalary/pages/socialSecurityBenefits/archives/otherForm.js index 7afae69b..63156790 100644 --- a/pc4mobx/hrmSalary/pages/socialSecurityBenefits/archives/otherForm.js +++ b/pc4mobx/hrmSalary/pages/socialSecurityBenefits/archives/otherForm.js @@ -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 ({ diff --git a/pc4mobx/hrmSalary/pages/socialSecurityBenefits/archives/socialSecurityForm.js b/pc4mobx/hrmSalary/pages/socialSecurityBenefits/archives/socialSecurityForm.js index 90fc4d87..fdb899b6 100644 --- a/pc4mobx/hrmSalary/pages/socialSecurityBenefits/archives/socialSecurityForm.js +++ b/pc4mobx/hrmSalary/pages/socialSecurityBenefits/archives/socialSecurityForm.js @@ -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 ({