diff --git a/pc4mobx/hrmSalary/pages/payrollRelease/components/payrollTempBaseSet/index.js b/pc4mobx/hrmSalary/pages/payrollRelease/components/payrollTempBaseSet/index.js index 99817be5..904d9ca4 100644 --- a/pc4mobx/hrmSalary/pages/payrollRelease/components/payrollTempBaseSet/index.js +++ b/pc4mobx/hrmSalary/pages/payrollRelease/components/payrollTempBaseSet/index.js @@ -298,16 +298,17 @@ class Index extends Component { if (it.title === getLabel(544092, "工资单确认反馈设置")) { return { ...it, items: _.map(it.items, o => { - if (getKey(o) === "autoAckDays") { + if (getKey(o) === "autoAckDays" && key === "ackFeedbackStatus") { return { - ...o, hide: key === "ackFeedbackStatus" && params["ackFeedbackStatus"].value === "0" + ...o, hide: params["ackFeedbackStatus"].value === "0" }; - } else if (getKey(o) === "feedbackUrl" || getKey(o) === "mobileFeedbackUrl") { + } else if (key === "feedbackStatus" && (getKey(o) === "feedbackUrl" || getKey(o) === "mobileFeedbackUrl")) { return { - ...o, hide: key === "feedbackStatus" && params["feedbackStatus"].value === "0" + ...o, hide: params["feedbackStatus"].value === "0" }; + } else { + return { ...o }; } - return { ...o }; }) }; }