diff --git a/pc4mobx/hrmSalary/pages/socialSecurityBenefits/standingBookDetail/components/supplementarySlide.js b/pc4mobx/hrmSalary/pages/socialSecurityBenefits/standingBookDetail/components/supplementarySlide.js index 4cbc6a67..8881cc39 100644 --- a/pc4mobx/hrmSalary/pages/socialSecurityBenefits/standingBookDetail/components/supplementarySlide.js +++ b/pc4mobx/hrmSalary/pages/socialSecurityBenefits/standingBookDetail/components/supplementarySlide.js @@ -91,10 +91,10 @@ class SupplementarySlide extends Component { _.map(inputPaymentAmount[item], child => { const key = child.insuranceId, valuePer = child[`${child.insuranceId}_per`], valueCom = child[`${child.insuranceId}_com`]; - if (!_.isNil(valuePer) && !child.perDisabled) { + if (!child.perDisabled) { _.assign(payload[`${item}PerString`], { [key]: toDecimal_n(valuePer, 2) || "0" }); } - if (!_.isNil(valueCom) && !child.comDisabled) { + if (!child.comDisabled) { _.assign(payload[`${item}ComString`], { [key]: toDecimal_n(valueCom, 2) || "0" }); } });