在线算税
This commit is contained in:
parent
d14003a125
commit
808936f540
|
|
@ -12,6 +12,7 @@ import { WeaLocaleProvider, WeaSearchGroup, WeaTab } from "ecCom";
|
|||
import LedgerFieldsItemPopver from "./ledgerFieldsItemPopver";
|
||||
import { taxruleGetForm } from "../../../apis/ledger";
|
||||
import LedgerFieldsTable from "./ledgerFieldsTable";
|
||||
import uuidV4 from "uuid/v4";
|
||||
|
||||
const { getLabel } = WeaLocaleProvider;
|
||||
|
||||
|
|
@ -37,7 +38,7 @@ class IncomeTaxFields extends Component {
|
|||
selectedKey: _.take(data)[0].incomeCategoryId,
|
||||
incomeTaxFields: _.map(data, it => ({
|
||||
...it, taxReportRules: _.map(it.taxRules, o => ({
|
||||
...o, canEdit: o.canEdit, id: "", reportColumnDataIndex: o.taxIndex, reportColumnName: o.name,
|
||||
...o, canEdit: o.canEdit, id: uuidV4(), reportColumnDataIndex: o.taxIndex, reportColumnName: o.name,
|
||||
salaryItem: [{ id: o.salaryItemId, name: o.salaryItemName }]
|
||||
}))
|
||||
}))
|
||||
|
|
|
|||
Loading…
Reference in New Issue