diff --git a/pc4mobx/hrmSalary/pages/custom-pages/liante/cbsDetail/index.js b/pc4mobx/hrmSalary/pages/custom-pages/liante/cbsDetail/index.js index c9e83b88..763e00ea 100644 --- a/pc4mobx/hrmSalary/pages/custom-pages/liante/cbsDetail/index.js +++ b/pc4mobx/hrmSalary/pages/custom-pages/liante/cbsDetail/index.js @@ -42,7 +42,7 @@ class Index extends Component { } pushDataToCBS = (ids, isConfirm, key = "") => { - const payload = !!key ? { salaryCbsld: ids, isConfirm } : { ids, isConfirm }; + const payload = !!key ? { [key]: ids, isConfirm } : { ids, isConfirm }; const { isQuery } = this.state; WeaLoadingGlobal.start(); API.pushDataToCBS(payload).then(({ status, data, errormsg }) => {