Commit a18f7114 authored by 涂伟's avatar 涂伟

fix: '台账新增保存逻辑修复'

parent b11f6d1d
......@@ -182,7 +182,9 @@ const BookConfigNew = props => {
}
});
});
Ledger_SaveLedger({ ...submitObj, LedgerFieids: viewArr })
let obj = { ...submitObj, LedgerFieids: viewArr };
currentId ? (obj.ID = currentId) : '';
Ledger_SaveLedger(obj)
.then(res => {
setViewModalLoading(false);
if (res.code === 0) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment