| | |
| | | if (row) { |
| | | let electronSignSetting = await getEnterpriseElectronSignSetting(row.id); |
| | | let smsSetting = await getEnterpriseSmsSetting(row.id); |
| | | // let alipayWallet = await enterpriseWalletServices.getEnterpriseWallet({ |
| | | // enterpriseId: row.id, |
| | | // access: EnumEnterpriseWalletAccess.Alipay, |
| | | // }); |
| | | let alipayWallet = await enterpriseWalletServices.getEnterpriseWallet({ |
| | | enterpriseId: row.id, |
| | | access: EnumEnterpriseWalletAccess.Alipay, |
| | | }); |
| | | handleEdit({ |
| | | id: row.id, |
| | | enterpriseConfigureType: EnterpriseConfigureType.AliPay, |
| | |
| | | ), |
| | | smsAccess: smsSetting.smsAccess, |
| | | smsCost: smsSetting.smsCost, |
| | | alipayAccount: '', |
| | | alipayMerchantId: '', |
| | | alipayAccount: alipayWallet.account, |
| | | alipayMerchantId: alipayWallet.merchantId, |
| | | signStatus: alipayWallet.signStatus, |
| | | expandindirectOrderStatus: alipayWallet.expandindirectOrderStatus, |
| | | }); |
| | | } else { |
| | | handleAdd({ |
| | |
| | | smsCost: 0, |
| | | alipayAccount: '', |
| | | alipayMerchantId: '', |
| | | signStatus: '' as any as EnumEnterpriseWalletSignStatus, |
| | | expandindirectOrderStatus: '' as any as EnumEnterpriseWalletExpandindirectOrderStatus, |
| | | }, |
| | | }); |
| | | |