custom/钱智

This commit is contained in:
lys 2025-08-26 13:57:31 +08:00
parent 41377704b1
commit f749fbcea3
7 changed files with 18 additions and 6 deletions

View File

@ -7,7 +7,10 @@ export const queryConditions = [
fieldcol: 14,
label: "个税扣缴义务人",
lanI: 111,
multiple: true,
otherParams: {
showSearch: true, optionFilterProp: "children"
},
// multiple: true,
options: [],
labelcol: 6,
value: "",

View File

@ -289,6 +289,8 @@ class Index extends Component {
const { dataIndex } = item;
switch (dataIndex) {
case "taxAgentName":
width = "300px";
break;
case "departmentName":
width = "15%";
break;

View File

@ -192,7 +192,10 @@ export const reFrenceConditions = [
labelcol: 6,
valueList: [],
options: [],
multiple: true,
otherParams: {
showSearch: true, optionFilterProp: "children"
},
// multiple: true,
rules: "required|string",
viewAttr: 3
},

View File

@ -610,7 +610,7 @@ export const DataCollectionSelect = (props) => {
} = props;
return <WeaFormItem label={label} labelCol={{ span: labelCol }} wrapperCol={{ span: wrapperCol }}>
<WeaSelect value={value} onChange={(val) => onChange({ key, value: val })} options={options}
viewAttr={viewAttr} multiple={multiple}/>
viewAttr={viewAttr} multiple={multiple} showSearch optionFilterProp="children"/>
</WeaFormItem>;
};

View File

@ -175,7 +175,7 @@ class Index extends Component {
const { payrollFilesStore: { tableStore } } = this.props;
const columns = _.map(_.filter(toJS(tableStore.columns), (item) => item.display === "true"), (it, idx) => ({
dataIndex: it.dataIndex, title: it.title, align: "left",
width: (it.dataIndex === "taxAgentName" || it.dataIndex === "operate") ? 185 : 150,
width: it.dataIndex === "taxAgentName" ? 300 : it.dataIndex === "operate" ? 185 : 150,
fixed: it.dataIndex === "username" ? "left" : it.dataIndex === "operate" ? "right" : it.fixed ? it.fixed : false,
ellipsis: true
}));

View File

@ -328,7 +328,10 @@ export const salaryFileSearchConditions = [
fieldcol: 16,
label: getLabel(537996, "个税扣缴义务人"),
labelcol: 8,
multiple: true,
otherParams: {
showSearch: true, optionFilterProp: "children"
},
// multiple: true,
options: [],
viewAttr: 2
},

View File

@ -131,7 +131,8 @@ class WelfareRecordList extends Component {
this.setState({ loading: false });
if (status) {
const { pageInfo: result } = data;
const { columns, list: dataSource, pageNum: current, pageSize, total } = result;
let { columns, list: dataSource, pageNum: current, pageSize, total } = result;
columns = _.map(columns, o => ({ ...o, width: o.dataIndex === "paymentOrganization" ? 300 : o.width }));
this.setState({
pageInfo: { ...pageInfo, current, pageSize, total },
dataSource, columns