|
@@ -866,8 +866,8 @@
|
|
|
const codes = outInDetailRecordVOList[0].code;
|
|
const codes = outInDetailRecordVOList[0].code;
|
|
|
const index = outInDetailRecordVOList[0].code.indexOf('636');
|
|
const index = outInDetailRecordVOList[0].code.indexOf('636');
|
|
|
const result = parseInt(codes.substring(index + 3, index + 6));
|
|
const result = parseInt(codes.substring(index + 3, index + 6));
|
|
|
- console.log(result);
|
|
|
|
|
const dataArray = [];
|
|
const dataArray = [];
|
|
|
|
|
+ console.log('家变', row);
|
|
|
for (let i = 0; i < packingCount; i++) {
|
|
for (let i = 0; i < packingCount; i++) {
|
|
|
const newData = { ...row };
|
|
const newData = { ...row };
|
|
|
if (outInDetailRecordVOList.length != packingCount) {
|
|
if (outInDetailRecordVOList.length != packingCount) {
|
|
@@ -885,7 +885,6 @@
|
|
|
}
|
|
}
|
|
|
dataArray.push(newData);
|
|
dataArray.push(newData);
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
for (let j = 0; j < dataArray.length; j++) {
|
|
for (let j = 0; j < dataArray.length; j++) {
|
|
|
dataArray[j].code =
|
|
dataArray[j].code =
|
|
|
dataArray[j].categoryCode + dataArray[j].batchNo + 0 + (result + j);
|
|
dataArray[j].categoryCode + dataArray[j].batchNo + 0 + (result + j);
|