diff --git a/pc4mobx/hrmSalary/pages/socialSecurityBenefits/standingBook/index.js b/pc4mobx/hrmSalary/pages/socialSecurityBenefits/standingBook/index.js index 86f12a54..4bed2c92 100644 --- a/pc4mobx/hrmSalary/pages/socialSecurityBenefits/standingBook/index.js +++ b/pc4mobx/hrmSalary/pages/socialSecurityBenefits/standingBook/index.js @@ -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, diff --git a/pc4mobx/hrmSalary/stores/declare.js b/pc4mobx/hrmSalary/stores/declare.js index f5ebecfd..2a6fd40a 100644 --- a/pc4mobx/hrmSalary/stores/declare.js +++ b/pc4mobx/hrmSalary/stores/declare.js @@ -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 || "获取失败")