|
@@ -253,14 +253,14 @@ export default {
|
|
|
id: "productSpecifications",
|
|
|
label: "规格",
|
|
|
},
|
|
|
- // {
|
|
|
- // id: "lotNum",
|
|
|
- // label: "批号",
|
|
|
- // },
|
|
|
- // {
|
|
|
- // id: "levels",
|
|
|
- // label: "等级",
|
|
|
- // },
|
|
|
+ {
|
|
|
+ id: "lotNum",
|
|
|
+ label: "批号",
|
|
|
+ },
|
|
|
+ {
|
|
|
+ id: "levels",
|
|
|
+ label: "等级",
|
|
|
+ },
|
|
|
{
|
|
|
// id: "actualWeight",
|
|
|
id: "boxNum",
|
|
@@ -310,7 +310,7 @@ export default {
|
|
|
}
|
|
|
const values = data.map((item) => Number(item[column.property]));
|
|
|
if (!values.every((value) => isNaN(value))) {
|
|
|
- if (index == 3 || index == 4 || index == 5) {
|
|
|
+ if (index == 5 || index == 6 || index == 7) {
|
|
|
sums[index] = values.reduce((prev, curr) => {
|
|
|
const value = Number(curr);
|
|
|
if (!isNaN(value)) {
|