feature/2.9.9.2312.01-社保核算以及薪资账套查询优化

This commit is contained in:
黎永顺 2023-12-01 09:25:33 +08:00
parent 49eab11325
commit 66392e6e10
1 changed files with 2 additions and 2 deletions

View File

@ -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" });
}
});