Compare commits

...

6 Commits

Author SHA1 Message Date
lys 41377704b1 Merge branch 'release/3.0.1.2504.01-合并业务线' into custom/钱智
# Conflicts:
#	pc4mobx/hrmSalary/pages/socialSecurityBenefits/standingBook/columns.js
2025-07-24 16:58:54 +08:00
lys 32162c9cba Merge branch 'release/2.19.1.2501.01' into release/3.0.1.2504.01-合并业务线 2025-07-24 16:54:25 +08:00
lys 3d8b242889 release/2.19.1.2501.01 2025-07-24 16:51:19 +08:00
lys 9121309221 Merge branch 'release/2.19.1.2501.01' into release/3.0.1.2504.01-合并业务线 2025-07-24 16:45:23 +08:00
lys 2871043810 release/2.19.1.2501.01 2025-07-17 17:28:48 +08:00
lys f3e2d878d0 release/3.0.1.2504.01-合并业务线 2025-07-08 10:18:34 +08:00
3 changed files with 8 additions and 6 deletions

View File

@ -127,7 +127,7 @@ class AssociativeSearchMult extends Component {
}
let options = data.map(d => <Option key={d.id} title={d.name}>{d.name}</Option>);
!tags && selectedValues && selectedValues.map((v) => {
v && options.unshift(<Option key={v} title={datas[v].name}>{datas[v].name}</Option>);
v && datas[v] && options.unshift(<Option key={v} title={datas[v].name}>{datas[v].name}</Option>);
});
const select = <Select
{...this.props}

View File

@ -91,11 +91,11 @@ class CustomBrowserDialog extends Component {
this.props.onCancel && this.props.onCancel();
};
getItemById = (id) => {
const { listDatas } = this.state;
const { listDatas } = this.state, dataSource = [...listDatas, ..._.values(this.props.datas)];
if (this.selectedData[id]) return this.selectedData[id];
if (!_.isEmpty(listDatas)) {
for (let i = 0; i < listDatas.length; i++) {
if (String(id) === String(listDatas[i].id)) return listDatas[i];
if (!_.isEmpty(dataSource)) {
for (let i = 0; i < dataSource.length; i++) {
if (String(id) === String(dataSource[i].id)) return dataSource[i];
}
}
};

View File

@ -22,7 +22,9 @@ export const socialAccountConditions = [
lanId: 537996,
labelcol: 6,
options: [],
multiple: true,
otherParams: {
showSearch: true, optionFilterProp: "children"
},
rules: "required|string",
viewAttr: 3
},