From b2d5b1a90c17ea255198d4c50f0664dd98740540 Mon Sep 17 00:00:00 2001 From: MustangDeng <670124965@qq.com> Date: Tue, 10 May 2022 15:31:13 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pc4mobx/hrmSalary/apis/item.js | 15 ++++++++ .../components/importModal/modalStep3.js | 19 ++++++---- .../calculateDetail/placeOnFileDetail.js | 18 ++++++++-- .../pages/calculateDetail/salaryDetail.js | 1 + .../cumDeduct/editSlideContent.js | 1 + .../cumSituation/editSlideContent.js | 1 + .../dataAcquisition/cumSituation/index.js | 8 ++++- .../otherDeduct/editSlideContent.js | 1 + .../hrmSalary/pages/ledger/salaryItemForm.js | 11 +++--- pc4mobx/hrmSalary/pages/mySalary/index.js | 27 +++++++++----- .../hrmSalary/pages/mySalary/payrollModal.js | 12 ++++--- .../hrmSalary/pages/payroll/SalarySendList.js | 11 ++++-- pc4mobx/hrmSalary/pages/payroll/index.js | 19 ++++++---- .../pages/payroll/payrollGrant/index.js | 2 +- .../templatePreview/computerTemplate/index.js | 8 +++-- .../templatePreview/phoneTemplate/index.js | 8 +++-- .../pages/payroll/templateSettingList.js | 17 ++++++--- pc4mobx/hrmSalary/pages/salaryFile/index.js | 16 +++++++-- .../pages/salaryItem/customSalaryItemSlide.js | 5 +-- .../pages/salaryItem/formalFormModal.js | 2 +- pc4mobx/hrmSalary/pages/salaryItem/index.js | 13 ++++--- pc4mobx/hrmSalary/stores/ledger.js | 35 +++++++++++-------- pc4mobx/hrmSalary/stores/mySalary.js | 16 +++++++++ pc4mobx/hrmSalary/stores/payroll.js | 18 ++++++---- pc4mobx/hrmSalary/stores/salaryItem.js | 21 +++++++++++ 25 files changed, 229 insertions(+), 76 deletions(-) diff --git a/pc4mobx/hrmSalary/apis/item.js b/pc4mobx/hrmSalary/apis/item.js index d63c0334..c8648ad5 100644 --- a/pc4mobx/hrmSalary/apis/item.js +++ b/pc4mobx/hrmSalary/apis/item.js @@ -154,3 +154,18 @@ export const detailFormual = params => { // *** 公式 end *** + + +// 列出可以删除的薪资项目 +export const listCanDelete = params => { + return fetch('/api/bs/hrmsalary/salaryitem/listCanDelete', { + method: 'POST', + mode: 'cors', + headers: { + 'Content-Type': 'application/json' + }, + body: JSON.stringify(params) + }).then(res => res.json()) +} + + diff --git a/pc4mobx/hrmSalary/components/importModal/modalStep3.js b/pc4mobx/hrmSalary/components/importModal/modalStep3.js index b77eb3ca..238d09e6 100644 --- a/pc4mobx/hrmSalary/components/importModal/modalStep3.js +++ b/pc4mobx/hrmSalary/components/importModal/modalStep3.js @@ -1,6 +1,6 @@ import React from "react" import successImg from "./success.svg" -import { Button, Table } from "antd" +import { Button, Table, Spin } from "antd" import { WeaTable } from 'ecCom' export default class ModalStep3 extends React.Component { @@ -20,11 +20,18 @@ export default class ModalStep3 extends React.Component { return (