From 64d90222481f93707421743d614fe45ac212b401 Mon Sep 17 00:00:00 2001 From: lys <971387674@qq.com> Date: Thu, 30 Oct 2025 10:16:55 +0800 Subject: [PATCH] =?UTF-8?q?custom/=E9=92=B1=E6=99=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/CustomSelect/index.less | 17 +++++++++++++++++ .../components/welfareRecordQuery.js | 11 ++++++++--- .../standingBook/index.less | 6 +++++- 3 files changed, 30 insertions(+), 4 deletions(-) diff --git a/pc4mobx/hrmSalary/components/CustomSelect/index.less b/pc4mobx/hrmSalary/components/CustomSelect/index.less index 2f2d7288..1ce20fb4 100644 --- a/pc4mobx/hrmSalary/components/CustomSelect/index.less +++ b/pc4mobx/hrmSalary/components/CustomSelect/index.less @@ -11,6 +11,23 @@ min-height: 30px; border: 1px solid #d9d9d9; user-select: none; + height: 30px; + white-space: nowrap; + -webkit-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + -o-text-overflow: ellipsis; + text-overflow: ellipsis; + overflow: hidden; + + .wdb { + word-break: break-all !important; + word-wrap: break-word !important; + } + + .cursor-pointer { + cursor: pointer; + } &:hover, &:focus { border-color: #57c5f7; diff --git a/pc4mobx/hrmSalary/pages/socialSecurityBenefits/standingBook/components/welfareRecordQuery.js b/pc4mobx/hrmSalary/pages/socialSecurityBenefits/standingBook/components/welfareRecordQuery.js index 6d2408aa..52c339ab 100644 --- a/pc4mobx/hrmSalary/pages/socialSecurityBenefits/standingBook/components/welfareRecordQuery.js +++ b/pc4mobx/hrmSalary/pages/socialSecurityBenefits/standingBook/components/welfareRecordQuery.js @@ -7,11 +7,11 @@ import React, { Component } from "react"; import { inject, observer } from "mobx-react"; import { WeaFormItem, WeaLocaleProvider, WeaSearchGroup, WeaTools } from "ecCom"; -import { WeaSwitch } from "comsMobx"; import { welfareRQConditions } from "../columns"; import { postFetch } from "../../../../util/request"; import { MonthRangePicker } from "../../../reportView/components/statisticalMicroSettingsSlide"; import moment from "moment"; +import CustomSelect from "../../../../components/CustomSelect"; const getLabel = WeaLocaleProvider.getLabel; const getKey = WeaTools.getKey; @@ -67,7 +67,12 @@ class WelfareRecordQuery extends Component { com: ( - + { + form.updateFields({ taxAgents: { value: v } }); + this.forceUpdate(); + this.getWelfareRecordList(); + }}/> + {/**/} ) }); }); @@ -100,4 +105,4 @@ class WelfareRecordQuery extends Component { } } -export default WelfareRecordQuery; +export default WelfareRecordQuery; \ No newline at end of file diff --git a/pc4mobx/hrmSalary/pages/socialSecurityBenefits/standingBook/index.less b/pc4mobx/hrmSalary/pages/socialSecurityBenefits/standingBook/index.less index 8da302a1..4bbebe4a 100644 --- a/pc4mobx/hrmSalary/pages/socialSecurityBenefits/standingBook/index.less +++ b/pc4mobx/hrmSalary/pages/socialSecurityBenefits/standingBook/index.less @@ -78,6 +78,10 @@ width: 100%; padding: 0; + .wea-form-item-wrapper { + display: inline-block !important; + } + .wea-content, .wea-form-cell { padding: 0; @@ -134,4 +138,4 @@ } } } -} +} \ No newline at end of file