薪资账套非空判断
This commit is contained in:
parent
47bc638cdb
commit
00f87ba5e5
|
|
@ -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: {
|
||||
|
|
|
|||
Loading…
Reference in New Issue