This commit is contained in:
黎永顺 2022-11-25 12:36:24 +08:00
parent 7af6df0972
commit 3b5c8e1ec9
2 changed files with 6 additions and 3 deletions

View File

@ -41,6 +41,9 @@
//退差
.regressionWrapper {
height: calc(100vh - 47px);
overflow: auto;
.tdEllipsis {
display: inline-block;
width: 100%;

View File

@ -139,7 +139,7 @@ class RegEditDetial extends Component {
case "social":
const sociallist = _.map(socialData.dataSource, item => {
if (item.insuranceId === record.insuranceId) {
return { ...item, [dataIndex]: String(value) };
return { ...item, [dataIndex]: !_.isNil(value) ? String(value): "0" };
}
return { ...item };
});
@ -150,7 +150,7 @@ class RegEditDetial extends Component {
case "fund":
const fundlist = _.map(foundData.dataSource, item => {
if (item.insuranceId === record.insuranceId) {
return { ...item, [dataIndex]: String(value) };
return { ...item, [dataIndex]: !_.isNil(value) ? String(value): "0" };
}
return { ...item };
});
@ -161,7 +161,7 @@ class RegEditDetial extends Component {
case "other":
const otherlist = _.map(otherData.dataSource, item => {
if (item.insuranceId === record.insuranceId) {
return { ...item, [dataIndex]: String(value) };
return { ...item, [dataIndex]: !_.isNil(value) ? String(value): "0" };
}
return { ...item };
});