feature/核算表格双击编辑
lys 3 months ago
parent 4ad2bc0eba
commit 2aeac6e713

@ -80,6 +80,10 @@
}
}
.feedbackBg {
background: #FF0;
}
.danger {
font-size: var(--data-size);
color: rgb(217, 0, 27)

@ -130,6 +130,7 @@ const index: FunctionComponent<Props> = (props) => {
className: styles["td_odd"],
i18n: item.i18n,
onCell: (record: any) => ({
className: !_.isEmpty(record[`${item.dataIndex}_feedback`]) && styles["feedbackBg"],
onContextMenu: (e: any) => {
(!item.calcDetail || item.rightClickType) && e.preventDefault();
}

Loading…
Cancel
Save