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