|
@@ -376,19 +376,19 @@
|
|
|
></el-table-column>
|
|
></el-table-column>
|
|
|
<el-table-column label="最小包装单元" width="120">
|
|
<el-table-column label="最小包装单元" width="120">
|
|
|
<template slot-scope="{ row }">
|
|
<template slot-scope="{ row }">
|
|
|
- {{ row.packingCountBase }}{{ row.measuringUnit }}/{{
|
|
|
|
|
|
|
+ {{ row.minPackingCount }}{{ row.measuringUnit }}/{{
|
|
|
row.minUnit
|
|
row.minUnit
|
|
|
}}
|
|
}}
|
|
|
</template>
|
|
</template>
|
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
<el-table-column label="包装数量" prop="availableCountBase">
|
|
<el-table-column label="包装数量" prop="availableCountBase">
|
|
|
<template slot-scope="{ row }">
|
|
<template slot-scope="{ row }">
|
|
|
- {{ row.availableCountBase }}{{ row.minUnit }}
|
|
|
|
|
|
|
+ {{ row.packingCountBase }}{{ row.minUnit }}
|
|
|
</template>
|
|
</template>
|
|
|
</el-table-column>
|
|
</el-table-column>
|
|
|
<el-table-column
|
|
<el-table-column
|
|
|
label="计量数量"
|
|
label="计量数量"
|
|
|
- prop="packingCountBase"
|
|
|
|
|
|
|
+ prop="availableCountBase"
|
|
|
></el-table-column>
|
|
></el-table-column>
|
|
|
<el-table-column
|
|
<el-table-column
|
|
|
label="计量单位"
|
|
label="计量单位"
|
|
@@ -785,7 +785,8 @@
|
|
|
this.batchDetailsVOList = packArr.map((item) => {
|
|
this.batchDetailsVOList = packArr.map((item) => {
|
|
|
return {
|
|
return {
|
|
|
...item,
|
|
...item,
|
|
|
- packingCountBase: dimension == 4 ? 1 : item.packingCountBase
|
|
|
|
|
|
|
+ packingCountBase:
|
|
|
|
|
+ dimension == 4 || dimension == 3 ? 1 : item.packingCountBase
|
|
|
};
|
|
};
|
|
|
});
|
|
});
|
|
|
//物料维度数据
|
|
//物料维度数据
|
|
@@ -826,7 +827,12 @@
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
- this.batchDetailsVOList = packArr;
|
|
|
|
|
|
|
+ this.batchDetailsVOList = packArr.map((item) => {
|
|
|
|
|
+ return {
|
|
|
|
|
+ ...item,
|
|
|
|
|
+ packingCountBase: dimension == 3 ? 1 : item.packingCountBase
|
|
|
|
|
+ };
|
|
|
|
|
+ });
|
|
|
//物料维度数据
|
|
//物料维度数据
|
|
|
let meteArr = [];
|
|
let meteArr = [];
|
|
|
for (const item of packArr) {
|
|
for (const item of packArr) {
|