Merge branch 'feature/v2-社保福利档案退差-1124' into develop

This commit is contained in:
黎永顺 2022-11-25 12:36:47 +08:00
commit ea41f65246
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 };
});