个税申报表详情列表

This commit is contained in:
MustangDeng 2022-06-10 14:21:07 +08:00
parent 47af2543b0
commit a71ab9793e
2 changed files with 5 additions and 5 deletions

View File

@ -226,7 +226,7 @@ export default class StandingBook extends React.Component {
title: "确认信息",
content: "确认要归档吗?",
onOk: () => {
siaccountFile({ billMonth }).then((res) => {
siaccountFile({ billMonth, paymentOrganization: paymentOrganizationId }).then((res) => {
const { current } = this.state;
this.getCommonList({ ...this.state.tableParams, current });
});
@ -250,7 +250,7 @@ export default class StandingBook extends React.Component {
content: "确认删除本条数据吗?",
confirmLoading: deleteLoading,
onOk: () => {
siaccountDelete({ billMonth }).then(() => {
siaccountDelete({ billMonth, paymentOrganization: paymentOrganizationId }).then(() => {
message.success("删除成功");
this.getCommonList({
...this.state.tableParams,

View File

@ -122,9 +122,9 @@ export class DeclareStore {
getDetailList = (taxDeclarationIdStr, params = {}) => {
API.getDetailList({taxDeclarationIdStr, ...params}).then(res => {
if(res.status) {
this.detailDataSource = res.data.pageInfo.list ? res.data.pageInfo.list : [];
this.datailColumns = res.data.pageInfo.columns
this.detailPageInfo = res.data.pageInfo
this.detailDataSource = res.data.list ? res.data.list : [];
this.datailColumns = res.data.columns
this.detailPageInfo = res.data
// this.detailTableStore.getDatas(res.data.dataKey.datas)
} else {
message.error(res.errrmsg || "获取失败")