feature/2.9.9.2312.01-社保核算以及薪资账套查询优化
This commit is contained in:
parent
84d4df6d3d
commit
9949df47fb
|
|
@ -91,12 +91,11 @@ class SupplementarySlide extends Component {
|
|||
_.map(inputPaymentAmount[item], child => {
|
||||
const key = child.insuranceId, valuePer = child[`${child.insuranceId}_per`],
|
||||
valueCom = child[`${child.insuranceId}_com`];
|
||||
console.log(child);
|
||||
if (!_.isNil(valuePer) && valuePer !== "") {
|
||||
_.assign(payload[`${item}PerString`], { [key]: toDecimal_n(valuePer, 2) });
|
||||
if (!_.isNil(valuePer) && !child.perDisabled) {
|
||||
_.assign(payload[`${item}PerString`], { [key]: toDecimal_n(valuePer, 2) || "0" });
|
||||
}
|
||||
if (!_.isNil(valueCom) && valuePer !== "") {
|
||||
_.assign(payload[`${item}ComString`], { [key]: toDecimal_n(valueCom, 2) });
|
||||
if (!_.isNil(valueCom) && !child.comDisabled) {
|
||||
_.assign(payload[`${item}ComString`], { [key]: toDecimal_n(valueCom, 2) || "0" });
|
||||
}
|
||||
});
|
||||
});
|
||||
|
|
@ -133,8 +132,6 @@ class SupplementarySlide extends Component {
|
|||
...this.convertBusinessAccounting(),
|
||||
...this.convertInputPaymentAmount()
|
||||
};
|
||||
console.log(payload);
|
||||
return;
|
||||
this.setState({ loading: true });
|
||||
siaccountSupplementarySave(payload).then(({ status, errormsg }) => {
|
||||
this.setState({ loading: false });
|
||||
|
|
|
|||
Loading…
Reference in New Issue