|
@@ -971,13 +971,22 @@
|
|
|
this.formData.extInfo.verifyDeptCode = this.form.deptId;
|
|
this.formData.extInfo.verifyDeptCode = this.form.deptId;
|
|
|
this.formData.extInfo.verifyDeptName = this.form.deptName;
|
|
this.formData.extInfo.verifyDeptName = this.form.deptName;
|
|
|
});
|
|
});
|
|
|
|
|
+ let pData = {
|
|
|
|
|
+ type: '1',
|
|
|
|
|
+ builders: this.form.productList.map((item) => {
|
|
|
|
|
+ return {
|
|
|
|
|
+ categoryId: item.id,
|
|
|
|
|
+ num: item.totalCount
|
|
|
|
|
+ };
|
|
|
|
|
+ })
|
|
|
|
|
+ };
|
|
|
let pData2 = {
|
|
let pData2 = {
|
|
|
type: 3,
|
|
type: 3,
|
|
|
taskIds: this.form.productList.map((item) => item.taskId),
|
|
taskIds: this.form.productList.map((item) => item.taskId),
|
|
|
workOrderIds: [this.form.sourceId]
|
|
workOrderIds: [this.form.sourceId]
|
|
|
};
|
|
};
|
|
|
storageApi
|
|
storageApi
|
|
|
- .getHierarchyFifo(pData2)
|
|
|
|
|
|
|
+ .getHierarchyFifo(this.form.sourceId?pData2:pData)
|
|
|
.then((data) => {
|
|
.then((data) => {
|
|
|
this.detailData(data, this.dimension);
|
|
this.detailData(data, this.dimension);
|
|
|
})
|
|
})
|