{getLabel(537558, "保存")}
]}
>
- {getSearchs(payrollCopyForm, copyConditions, 1, false)}
+ {getSearchs(payrollCopyForm, conditions, 1, false)}
);
}
diff --git a/pc4mobx/hrmSalary/pages/payrollRelease/components/payrollTempBaseSet/index.js b/pc4mobx/hrmSalary/pages/payrollRelease/components/payrollTempBaseSet/index.js
index 56b9bfde..770c1665 100644
--- a/pc4mobx/hrmSalary/pages/payrollRelease/components/payrollTempBaseSet/index.js
+++ b/pc4mobx/hrmSalary/pages/payrollRelease/components/payrollTempBaseSet/index.js
@@ -129,7 +129,7 @@ class Index extends Component {
hide: _.isNil(fieldsEchoData["ackFeedbackStatus"]) ? o.hide : !fieldsEchoData["ackFeedbackStatus"],
helpfulTitle: getLabel(544273, "开启后,还需在计划任务中配置定时任务,执行自动确认任务;邮箱端查看工资单暂不支持确认及反馈;")
};
- } else if (getKey(o) === "feedbackUrl") {
+ } else if (getKey(o) === "feedbackUrl" || getKey(o) === "mobileFeedbackUrl") {
return {
...o,
hide: _.isNil(fieldsEchoData["ackFeedbackStatus"]) ? o.hide : !fieldsEchoData["ackFeedbackStatus"]
@@ -298,7 +298,7 @@ class Index extends Component {
if (it.title === getLabel(544092, "工资单确认反馈设置")) {
return {
...it, items: _.map(it.items, o => {
- if (getKey(o) === "autoAckDays" || getKey(o) === "feedbackUrl") {
+ if (getKey(o) === "autoAckDays" || getKey(o) === "feedbackUrl" || getKey(o) === "mobileFeedbackUrl") {
return {
...o, hide: params[key].value === "0"
};
@@ -312,7 +312,11 @@ class Index extends Component {
}, () => {
payrollTempFeedbackForm.initFormFields(this.state.fbConditions);
const ackFeedbackStatus = payrollTempFeedbackForm.getFormParams().ackFeedbackStatus;
- if (ackFeedbackStatus === "0") payrollTempFeedbackForm.updateFields({ autoAckDays: "7", feedbackUrl: "/" });
+ if (ackFeedbackStatus === "0") payrollTempFeedbackForm.updateFields({
+ autoAckDays: "7",
+ feedbackUrl: "/",
+ mobileFeedbackUrl: "/"
+ });
});
}
setHasBeenModify(true);
diff --git a/pc4mobx/hrmSalary/pages/payrollRelease/components/payrollTemplateTableList/index.js b/pc4mobx/hrmSalary/pages/payrollRelease/components/payrollTemplateTableList/index.js
index bc4fd61f..cb9c2402 100644
--- a/pc4mobx/hrmSalary/pages/payrollRelease/components/payrollTemplateTableList/index.js
+++ b/pc4mobx/hrmSalary/pages/payrollRelease/components/payrollTemplateTableList/index.js
@@ -22,7 +22,7 @@ class Index extends Component {
this.state = {
loading: false, columns: [], dataSource: [], selectedRowKeys: [],
pageInfo: { current: 1, pageSize: 10, total: 0 }, delLoading: false,
- copyDialog: { visible: false, title: "", copyId: "" },
+ copyDialog: { visible: false, title: "", copyId: "", salarySobId: "" },
tmplSlide: {
visible: false, tmplId: "", top: 0, width: 792, height: 100,
measureT: "%", measureX: "px", measureY: "%"
@@ -80,7 +80,7 @@ class Index extends Component {
};
handleOpts = ({ key }, record) => {
const { copyDialog, tmplSlide, selectedRowKeys } = this.state;
- const { id } = record;
+ const { id, salarySobId } = record;
switch (key) {
case "edit":
this.setState({
@@ -89,7 +89,10 @@ class Index extends Component {
break;
case "copy":
this.setState({
- copyDialog: { ...copyDialog, visible: true, copyId: id, title: getLabel(543599, "复制工资单") }
+ copyDialog: {
+ ...copyDialog, visible: true, copyId: id,
+ salarySobId: salarySobId + "", title: getLabel(543599, "复制工资单")
+ }
});
break;
case "del":
@@ -175,7 +178,7 @@ class Index extends Component {
{/*复制工资单模板*/}