Commit 76ceddb9 authored by 武广's avatar 武广

fix: 修改变更营业执照取消后还传执照的问题

parent 8b80b629
......@@ -203,7 +203,11 @@ class BusinessInfo extends Component {
'';
obj.householdRegisterImage =
(imgs?.householdRegisterImage?.length && imgs?.householdRegisterImage[0]?.url) || '';
obj.icbProofImage = (imgs?.icbProofImage?.length && imgs?.icbProofImage[0]?.url) || '';
if (!this.state.companyNamedis) {
obj.icbProofImage = (imgs?.icbProofImage?.length && imgs?.icbProofImage[0]?.url) || '';
} else {
delete obj.icbProofImage;
}
obj.applySource = 1;
obj.signDateType = 1;
......@@ -583,7 +587,9 @@ class BusinessInfo extends Component {
<Col span={4} style={{ marginTop: '4px' }}>
{/* 二期放开 */}
{businessInfo.companyName && (
<Button onClick={this.setCompanyName}>修改</Button>
<Button onClick={this.setCompanyName}>
{this.state.companyNamedis ? '修改' : '取消'}
</Button>
)}
</Col>
<Col span={12}>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment