薪资账套非空判断

This commit is contained in:
黎永顺 2022-12-16 11:05:07 +08:00
parent 47bc638cdb
commit 00f87ba5e5
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ class LedgerBaseSetting extends Component {
const { settingBaseInfo } = this.state;
let tmpV = {};
_.map(Object.keys(settingBaseInfo), key => {
tmpV[key] = basicForm[key].toString();
tmpV[key] = !_.isNil(basicForm[key]) ? basicForm[key].toString() : "";
});
this.setState({
settingBaseInfo: {