diff --git a/pc4mobx/hrmSalary/pages/socialSecurityBenefits/standingBookDetail/components/normal.js b/pc4mobx/hrmSalary/pages/socialSecurityBenefits/standingBookDetail/components/normal.js index 567fcfe8..1197b332 100644 --- a/pc4mobx/hrmSalary/pages/socialSecurityBenefits/standingBookDetail/components/normal.js +++ b/pc4mobx/hrmSalary/pages/socialSecurityBenefits/standingBookDetail/components/normal.js @@ -580,28 +580,6 @@ export default class NormalIndex extends Component { }); }} /> - {/*{addProps.visible &&*/} - {/* */} - {/* this.setState({*/} - {/* addProps: {*/} - {/* ...addProps,*/} - {/* title: "",*/} - {/* visible: false*/} - {/* }*/} - {/* })}*/} - {/* buttons={[*/} - {/* */} - {/* 保存*/} - {/* ,*/} - {/* */} - {/* ]}>*/} - {/* {getSearchs(form, toJS(condition), 1)}*/} - {/* }*/} { selectedKey === "1" && this.props.type !== "detail" && @@ -640,7 +618,7 @@ export default class NormalIndex extends Component { this.setState({ importParams: { ...importParams, visible: true } })} /> @@ -673,7 +651,7 @@ export default class NormalIndex extends Component { diff --git a/pc4mobx/hrmSalary/pages/socialSecurityBenefits/standingBookDetail/components/supplementarySlide.js b/pc4mobx/hrmSalary/pages/socialSecurityBenefits/standingBookDetail/components/supplementarySlide.js index e63acb82..719a82ac 100644 --- a/pc4mobx/hrmSalary/pages/socialSecurityBenefits/standingBookDetail/components/supplementarySlide.js +++ b/pc4mobx/hrmSalary/pages/socialSecurityBenefits/standingBookDetail/components/supplementarySlide.js @@ -59,7 +59,7 @@ class SupplementarySlide extends Component { const key = child.insuranceId, value = child.insuranceBase; _.assign( payload[item === "socialSecurityBase" ? "socialPaymentBaseString" : item === "fundBase" ? "fundPaymentBaseString" : "otherPaymentBaseString"], - { [key]: value ? value.toString() : "" } + { [key]: value ? value.toString() : "0" } ); }); }); @@ -88,8 +88,8 @@ class SupplementarySlide extends Component { _.map(inputPaymentAmount[item], child => { const key = child.insuranceId, valuePer = child[`${child.insuranceId}_per`], valueCom = child[`${child.insuranceId}_com`]; - _.assign(payload[`${item}PerString`], { [key]: valuePer ? valuePer.toString() : "" }); - _.assign(payload[`${item}ComString`], { [key]: valueCom ? valueCom.toString() : "" }); + _.assign(payload[`${item}PerString`], { [key]: valuePer ? valuePer.toString() : "0" }); + _.assign(payload[`${item}ComString`], { [key]: valueCom ? valueCom.toString() : "0" }); }); }); for (let i in payload) {