薪资账套重构
This commit is contained in:
parent
645ec864f3
commit
1d64220c7c
|
|
@ -33,7 +33,7 @@ class CopyLedgerModal extends Component {
|
|||
const { copyForm: form } = ledgerStore;
|
||||
form.updateFields({
|
||||
name: { value: name },
|
||||
taxAgentId: { value: taxAgentId }
|
||||
taxAgentId: { value: taxAgentId.toString() }
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -140,11 +140,11 @@ class LedgerTable extends Component {
|
|||
};
|
||||
handleMenuClick = ({ key }, record) => {
|
||||
const { copyLedgerModal } = this.state;
|
||||
const { id, name, taxAgenyId } = record;
|
||||
const { id, name, taxAgentId } = record;
|
||||
switch (key) {
|
||||
case "copy":
|
||||
this.setState({
|
||||
copyLedgerModal: { ...copyLedgerModal, visible: true, id, name, taxAgenyId }
|
||||
copyLedgerModal: { ...copyLedgerModal, visible: true, id, name, taxAgentId }
|
||||
});
|
||||
break;
|
||||
case "delete":
|
||||
|
|
|
|||
Loading…
Reference in New Issue