custom/钱智

This commit is contained in:
黎永顺 2026-03-05 16:05:55 +08:00
parent 1ad44f5006
commit fb11fe5240
1 changed files with 2 additions and 1 deletions

View File

@ -112,7 +112,7 @@ class LedgerBaseSetting extends Component {
});
this.setState({
settingBaseInfo: {
...settingBaseInfo, ...tmpV, cityData: basicForm["cityData"] || []
...settingBaseInfo, ...tmpV, cityData: basicForm["cityData"] || [], city: basicForm["cityData"][0].id || ""
}
}, () => {
this.props.onSaveParams(this.state.settingBaseInfo);
@ -212,6 +212,7 @@ class LedgerBaseSetting extends Component {
onChange={(key, v) => this.handleChangeField(key, v)}/> : type === "BROWSER" ?
<WeaBrowser type={browserType} inputStyle={{ width: "100%" }}
replaceDatas={settingBaseInfo["cityData"]}
viewAttr={taxAgentIdDisabled ? 1 : 3}
onChange={v => this.handleChangeField(key, v)}/> : null}
</WeaFormItem>;
})}