form.updateFields({ username: v })}
searchsBaseValue={form.getFormParams().username}
+ buttons={showOperateBtn ? tabBtns : []}
/>
{children}
diff --git a/pc4mobx/hrmSalary/pages/declareDetail/index.less b/pc4mobx/hrmSalary/pages/declareDetail/index.less
index 485966f0..596d9423 100644
--- a/pc4mobx/hrmSalary/pages/declareDetail/index.less
+++ b/pc4mobx/hrmSalary/pages/declareDetail/index.less
@@ -149,6 +149,14 @@
}
}
+ .ant-modal-footer {
+ .ext-link {
+ padding-left: 0 !important;
+ padding-right: 10px !important;
+ text-align: left !important;
+ }
+ }
+
.paymentDialogContent {
padding: 16px 25px;
background: #f6f6f6;
diff --git a/pc4mobx/hrmSalary/stores/cumDeduct.js b/pc4mobx/hrmSalary/stores/cumDeduct.js
index 55d2cf60..34306f2e 100644
--- a/pc4mobx/hrmSalary/stores/cumDeduct.js
+++ b/pc4mobx/hrmSalary/stores/cumDeduct.js
@@ -8,6 +8,8 @@ import { removePropertyCondition } from "../util/response";
const { TableStore } = WeaTableNew;
export class CumDeductStore {
+ @observable cumTaxPeriodForm = new WeaForm(); // 新增form
+
@observable tableStore = new TableStore(); // new table
@observable slideTableStore = new TableStore();
@observable form = new WeaForm(); // new 一个form
@@ -30,6 +32,9 @@ export class CumDeductStore {
@observable slidePageObj = {}; //详情分页列表数据
@observable slideTableDataSource = []; //详情列表数据
+
+ @action changeCumTaxPeriodForm = () => this.cumTaxPeriodForm = new WeaForm();
+
// ** 设置导入参数 start **
@action
setSlideDataSource = (slideDataSource) => {
diff --git a/pc4mobx/hrmSalary/util/index.js b/pc4mobx/hrmSalary/util/index.js
index 918106c3..18ff50e2 100644
--- a/pc4mobx/hrmSalary/util/index.js
+++ b/pc4mobx/hrmSalary/util/index.js
@@ -107,6 +107,21 @@ export const format_with_regex = (number) => {
});
};
+/**
+ * 打印指定dom内容
+ * @param printParams
+ */
+export const printDom = (printParams) => {
+ const { hideDomId } = printParams;
+ let hideDom = document.getElementById(hideDomId);
+ if (hideDom) {
+ hideDom.style.display = "none";
+ }
+ window.print();
+ if (hideDom) {
+ hideDom.style.display = "";
+ }
+};
export const getDomkes = (conditions) => {
return _.map(conditions[0].items, it => it.domkey[0]);
};
@@ -131,18 +146,3 @@ export const toDecimal_n = (x, num) => {
}
return s;
};
-/**
- * 打印指定dom内容
- * @param printParams
- */
-export const printDom = (printParams) => {
- const { hideDomId } = printParams;
- let hideDom = document.getElementById(hideDomId);
- if (hideDom) {
- hideDom.style.display = "none";
- }
- window.print();
- if (hideDom) {
- hideDom.style.display = "";
- }
-};