feature/2.19.1.2501.01-双击编辑核算结果

This commit is contained in:
lys 2025-03-26 17:02:52 +08:00
parent c4dff5d2b5
commit 2ecda3758b
1 changed files with 3 additions and 5 deletions

View File

@ -194,9 +194,7 @@ class EditCalcTable extends Component {
};
updateSalaryItemVal = (payload) => {
const { routeParams: { salaryAcctRecordId } } = this.props;
if (!_.every(payload, (value) => {
return !_.isEmpty(value) && value !== null && value !== undefined && value !== "";
})) return;
if (!payload.salaryItemId) return;
salaryacctBatchUpdate({ ...payload, salaryAcctRecordId }).then(({ status, errormsg }) => {
if (status) {
message.success(getLabel(30700, "操作成功!"));
@ -312,8 +310,8 @@ class EditCalcTable extends Component {
<Spin spinning={loading}>
<iframe
style={{ border: 0, width: "100%", height: "100%" }}
// src="http://localhost:7607/#/calcTable"
src="/spa/hrmSalary/hrmSalaryCalculateDetail/index.html#/calcTable"
src="http://localhost:7607/#/calcTable"
// src="/spa/hrmSalary/hrmSalaryCalculateDetail/index.html#/calcTable"
id="atdTable"
/>
<BatchUpdateSalaryItemValDialog {...batchUpdateDialog}