release/2.15.1.2407.01-个税
This commit is contained in:
parent
f1290a9043
commit
70ff8325e2
|
|
@ -5,7 +5,7 @@
|
|||
* Date: 2023/8/22
|
||||
*/
|
||||
import React, { Component } from "react";
|
||||
import { WeaLocaleProvider } from "ecCom";
|
||||
import { WeaLocaleProvider, WeaLoadingGlobal } from "ecCom";
|
||||
import { inject, observer } from "mobx-react";
|
||||
import { Button, message, Modal } from "antd";
|
||||
import PaymentDialog from "./paymentDialog";
|
||||
|
|
@ -122,6 +122,7 @@ class PaymentBtn extends Component {
|
|||
};
|
||||
getBankAccountInfo = (payload) => {
|
||||
let loop = () => {
|
||||
WeaLoadingGlobal.start({ tip: getLabel(111, "获取三方信息中...") });
|
||||
clearTimeout(this.timer);
|
||||
this.timer = setTimeout(async () => {
|
||||
let response = await taxPaymentgetAgreementFeedback(payload);
|
||||
|
|
@ -129,6 +130,7 @@ class PaymentBtn extends Component {
|
|||
if (status) {
|
||||
const { finish, form } = data;
|
||||
if (finish) {
|
||||
WeaLoadingGlobal.destroy();
|
||||
const { feedbacks, bankForm } = form;
|
||||
const { paymentDialog } = this.state;
|
||||
this.setState({
|
||||
|
|
@ -174,6 +176,7 @@ class PaymentBtn extends Component {
|
|||
} else {
|
||||
message.warning(errormsg);
|
||||
clearTimeout(this.timer);
|
||||
WeaLoadingGlobal.destroy();
|
||||
}
|
||||
}, 800);
|
||||
};
|
||||
|
|
|
|||
Loading…
Reference in New Issue