feature/2.15.2.2411.01业务线
This commit is contained in:
parent
eaded8d937
commit
c00a678df1
|
|
@ -63,7 +63,7 @@ class CopyLedgerModal extends Component {
|
||||||
const { copyForm: form } = ledgerStore;
|
const { copyForm: form } = ledgerStore;
|
||||||
form.validateForm().then(f => {
|
form.validateForm().then(f => {
|
||||||
if (f.isValid) {
|
if (f.isValid) {
|
||||||
const payload = { id, ...form.getFormParams() };
|
const payload = { id, ...form.getFormParams(), taxAgentIds: form.getFormParams().taxAgentId.split(",") };
|
||||||
this.setState({ loading: true });
|
this.setState({ loading: true });
|
||||||
duplicateLedger(payload).then(({ status, errormsg }) => {
|
duplicateLedger(payload).then(({ status, errormsg }) => {
|
||||||
this.setState({ loading: false });
|
this.setState({ loading: false });
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue