From 002cb5522b0382a06bd71dd42752e4b5b1c42ead Mon Sep 17 00:00:00 2001 From: lys <971387674@qq.com> Date: Thu, 13 Feb 2025 13:28:28 +0800 Subject: [PATCH] release/2.19.1.2501.01 --- .../pages/dataAcquisition/components/tableRecord.js | 8 +++++--- .../hrmSalary/pages/dataAcquisition/cumDeduct/index.js | 6 ++++-- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/pc4mobx/hrmSalary/pages/dataAcquisition/components/tableRecord.js b/pc4mobx/hrmSalary/pages/dataAcquisition/components/tableRecord.js index 4bba03cd..9c36b02a 100644 --- a/pc4mobx/hrmSalary/pages/dataAcquisition/components/tableRecord.js +++ b/pc4mobx/hrmSalary/pages/dataAcquisition/components/tableRecord.js @@ -5,11 +5,13 @@ * Date: 2023/2/20 */ import React, { Component } from "react"; -import { WeaSearchGroup, WeaTable } from "ecCom"; +import { WeaLocaleProvider, WeaSearchGroup, WeaTable } from "ecCom"; import { getTableRecordDate } from "../../../apis/cumDeduct"; import { DataCollectionDateRangePick, DataCollectionSelect, Input } from "../cumDeduct"; import "./index.less"; +const getLabel = WeaLocaleProvider.getLabel; + class TableRecord extends Component { constructor(props) { super(props); @@ -167,11 +169,11 @@ class TableRecord extends Component { }; const items = screenParams.length === 1 ? [ { - com: Input({ value: record.username }) + com: Input({ label: getLabel(111, "姓名"), value: record.username }) } ] : [ { - com: Input({ value: record.username }) + com: Input({ label: getLabel(111, "姓名"), value: record.username }) }, { com: DataCollectionSelect({ diff --git a/pc4mobx/hrmSalary/pages/dataAcquisition/cumDeduct/index.js b/pc4mobx/hrmSalary/pages/dataAcquisition/cumDeduct/index.js index 867c8423..d7d92744 100644 --- a/pc4mobx/hrmSalary/pages/dataAcquisition/cumDeduct/index.js +++ b/pc4mobx/hrmSalary/pages/dataAcquisition/cumDeduct/index.js @@ -557,8 +557,10 @@ export const DataCollectionSelect = (props) => { }; export const Input = (props) => { - const { value } = props; - return (); + const { value, label } = props; + return ( + + ); }; export const DataCollectionDateRangePick = (props) => { const { range, label, onChange, format = "YYYY-MM", key } = props;