|
@@ -580,7 +580,7 @@
|
|
|
saleProductList: { type: Array, default: () => [] },
|
|
saleProductList: { type: Array, default: () => [] },
|
|
|
// extractedList: { type: Array, default: () => [] },
|
|
// extractedList: { type: Array, default: () => [] },
|
|
|
// wwType: { type: Number, default: null },
|
|
// wwType: { type: Number, default: null },
|
|
|
- activeNameProps: { type: Object, default: () => {} }
|
|
|
|
|
|
|
+ activeNameProps: { type: Object, default: {} }
|
|
|
},
|
|
},
|
|
|
directives: {
|
|
directives: {
|
|
|
'el-table-infinite-scroll': elTableInfiniteScroll
|
|
'el-table-infinite-scroll': elTableInfiniteScroll
|
|
@@ -684,7 +684,6 @@
|
|
|
});
|
|
});
|
|
|
},
|
|
},
|
|
|
getPickOrderDetail() {
|
|
getPickOrderDetail() {
|
|
|
- console.log(this.activeNameProps, 99999999999999999999);
|
|
|
|
|
getPickOrderById(this.activeNameProps.businessId).then((data) => {
|
|
getPickOrderById(this.activeNameProps.businessId).then((data) => {
|
|
|
data.detailList = data.detailList.map((item) => {
|
|
data.detailList = data.detailList.map((item) => {
|
|
|
item.code = data.code;
|
|
item.code = data.code;
|
|
@@ -971,7 +970,6 @@
|
|
|
type: this.wwType,
|
|
type: this.wwType,
|
|
|
taskIds: this.extractedList.map((item) => item.taskId),
|
|
taskIds: this.extractedList.map((item) => item.taskId),
|
|
|
workOrderIds: this.extractedList.map((item) => item.workOrderId),
|
|
workOrderIds: this.extractedList.map((item) => item.workOrderId),
|
|
|
- workOrderIds: this.extractedList.map((item) => item.workOrderId),
|
|
|
|
|
outsourceBatchNos: this.extractedList.map(
|
|
outsourceBatchNos: this.extractedList.map(
|
|
|
(item) => item.outsourceBatchNo
|
|
(item) => item.outsourceBatchNo
|
|
|
),
|
|
),
|
|
@@ -1008,7 +1006,11 @@
|
|
|
let pData2 = {
|
|
let pData2 = {
|
|
|
type: this.wwType,
|
|
type: this.wwType,
|
|
|
taskIds: this.extractedList.map((item) => item.taskId),
|
|
taskIds: this.extractedList.map((item) => item.taskId),
|
|
|
- workOrderIds: this.extractedList.map((item) => item.workOrderId)
|
|
|
|
|
|
|
+ workOrderIds: this.extractedList.map((item) => item.workOrderId),
|
|
|
|
|
+ outsourceBatchNos: this.extractedList.map(
|
|
|
|
|
+ (item) => item.outsourceBatchNo
|
|
|
|
|
+ ),
|
|
|
|
|
+ outsourceCodes: this.extractedList.map((item) => item.outsourceCode)
|
|
|
};
|
|
};
|
|
|
storageApi
|
|
storageApi
|
|
|
.getHierarchyFifo(this.wwType == 3 ? pData2 : pData)
|
|
.getHierarchyFifo(this.wwType == 3 ? pData2 : pData)
|