Commit 32e37470 authored by 左玲玲's avatar 左玲玲 😬

优化

parent d7450fbd
...@@ -203,6 +203,7 @@ const Materiel = (props) => { ...@@ -203,6 +203,7 @@ const Materiel = (props) => {
itemData: newSpecialData, itemData: newSpecialData,
}, },
]; ];
dataSource.newqualityGuaranteePeriod = dataSource.qualityGuaranteePeriod==0||dataSource.qualityGuaranteePeriod ? dataSource.qualityGuaranteePeriod + dataSource.qualityGuaranteePeriodUnitName : null;
let totalCard = materielDetail.concat(itemCol); let totalCard = materielDetail.concat(itemCol);
dispatch({ type: "see", dataSource, totalCard }); dispatch({ type: "see", dataSource, totalCard });
} }
......
...@@ -719,11 +719,11 @@ const materielDetail = [ ...@@ -719,11 +719,11 @@ const materielDetail = [
}, },
{ {
title: "库存单位", title: "库存单位",
key: "productionUnit", key: "productionUnitName",
}, },
{ {
title: "保质期", title: "保质期",
key: "qualityGuaranteePeriod", key: "newqualityGuaranteePeriod",
}, },
{ {
title: "发料类型", title: "发料类型",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment