This commit is contained in:
parent
7af6df0972
commit
3b5c8e1ec9
|
|
@ -41,6 +41,9 @@
|
|||
|
||||
//退差
|
||||
.regressionWrapper {
|
||||
height: calc(100vh - 47px);
|
||||
overflow: auto;
|
||||
|
||||
.tdEllipsis {
|
||||
display: inline-block;
|
||||
width: 100%;
|
||||
|
|
|
|||
|
|
@ -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 };
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in New Issue