From 2b4b5623bc0be3d4c2ada199bd576fd91494535a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=8E=E6=B0=B8=E9=A1=BA?= <971387674@qq.com> Date: Wed, 6 Dec 2023 18:28:02 +0800 Subject: [PATCH 1/2] =?UTF-8?q?hotfix/2.9.9.2312.01=20=E6=9F=A5=E7=9C=8B?= =?UTF-8?q?=E8=96=AA=E8=B3=87=E6=A0=B8=E7=AE=97=E9=A1=B5=E9=9D=A2=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E6=9D=83=E9=99=90=EF=BC=8C=E7=A7=BB=E5=8A=A8=E7=AB=AF?= =?UTF-8?q?=E8=96=AA=E8=B5=84=E6=9F=A5=E7=9C=8B=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pc4mobx/hrmSalary/index.js | 2 +- .../hrmSalary/pages/calculate/calculate.js | 2 +- pc4mobx/hrmSalary/pages/calculate/index.less | 5 + .../calculateDetail/placeOnFileDetail.js | 117 +++++++++--------- .../hrmSalary/pages/mobilePayroll/index.js | 1 + 5 files changed, 68 insertions(+), 59 deletions(-) diff --git a/pc4mobx/hrmSalary/index.js b/pc4mobx/hrmSalary/index.js index 2179f9ee..c9c0e3cf 100644 --- a/pc4mobx/hrmSalary/index.js +++ b/pc4mobx/hrmSalary/index.js @@ -145,7 +145,7 @@ const Routes = ( - + diff --git a/pc4mobx/hrmSalary/pages/calculate/calculate.js b/pc4mobx/hrmSalary/pages/calculate/calculate.js index ae98e007..8f886557 100644 --- a/pc4mobx/hrmSalary/pages/calculate/calculate.js +++ b/pc4mobx/hrmSalary/pages/calculate/calculate.js @@ -123,7 +123,7 @@ class Calculate extends Component { break; case "3": //查看详情 - window.open(`/spa/hrmSalary/static/index.html#/main/hrmSalary/placeOnFileDetail?id=${id}`); + window.open(`/spa/hrmSalary/static/index.html#/main/hrmSalary/placeOnFileDetail/${id}?id=${id}`); break; case "4": //重新核算 diff --git a/pc4mobx/hrmSalary/pages/calculate/index.less b/pc4mobx/hrmSalary/pages/calculate/index.less index b0418614..98cfc21f 100644 --- a/pc4mobx/hrmSalary/pages/calculate/index.less +++ b/pc4mobx/hrmSalary/pages/calculate/index.less @@ -82,12 +82,17 @@ } .ant-table-tbody { + .ant-table-row-indent { + display: none; + } + td { span { width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; + display: inline-block; } } } diff --git a/pc4mobx/hrmSalary/pages/calculateDetail/placeOnFileDetail.js b/pc4mobx/hrmSalary/pages/calculateDetail/placeOnFileDetail.js index 3f5096fe..4cdd5a9c 100644 --- a/pc4mobx/hrmSalary/pages/calculateDetail/placeOnFileDetail.js +++ b/pc4mobx/hrmSalary/pages/calculateDetail/placeOnFileDetail.js @@ -8,8 +8,9 @@ import FileMergeDetail from "./fileMergeDetail"; import { getQueryString } from "../../util/url"; import { inject, observer } from "mobx-react"; import { getExportField } from "../../apis/calculate"; -import "./index.less"; import CustomExportDialog from "./customExportDialog"; +import Layout from "../calculate/doCalc/layout"; +import "./index.less"; const getLabel = WeaLocaleProvider.getLabel; @inject("calculateStore") @@ -162,17 +163,18 @@ export default class PlaceOnFileDetail extends React.Component { }; return ( -
- -
- 薪资所属月:{baseSalarySobCycle.salaryMonth} - +
+ +
+ 薪资所属月:{baseSalarySobCycle.salaryMonth} + +
+
+ 公式= + {toJS(columnDescList)[columnIndex] && toJS(columnDescList)[columnIndex].formulaContent} +
+
+