From 4f89a7ef4feda607463636e615fe5cbedc7f06e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=8E=E6=B0=B8=E9=A1=BA?= <971387674@qq.com> Date: Wed, 4 Jan 2023 14:37:19 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E8=A1=A5=E7=BC=B4=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E7=A9=BA=E5=80=BC=E5=88=A4=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../standingBookDetail/components/normal.js | 26 ++----------------- .../components/supplementarySlide.js | 6 ++--- 2 files changed, 5 insertions(+), 27 deletions(-) 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) {