|
|
@@ -40,7 +40,7 @@
|
|
|
<packingTgBom
|
|
|
:list="it.extInfo.pickOutInList"
|
|
|
:isWarehousing="true"
|
|
|
- :item='it'
|
|
|
+ :item="it"
|
|
|
></packingTgBom>
|
|
|
</div>
|
|
|
</div>
|
|
|
@@ -186,11 +186,26 @@
|
|
|
this.$message.warning(`仓库不能为空`);
|
|
|
return false;
|
|
|
}
|
|
|
- jobSave(_arr).then((res) => {
|
|
|
- console.log(res)
|
|
|
+
|
|
|
+ let _arr2 = JSON.parse(JSON.stringify(_arr));
|
|
|
+
|
|
|
+ _arr2.map((m) => {
|
|
|
+ m.storageInfo = {
|
|
|
+ warehouseId: m.warehouseId,
|
|
|
+ toWarehouseList: m.toWarehouseList
|
|
|
+ };
|
|
|
+ delete m.warehouseId
|
|
|
+ delete m.toWarehouseList
|
|
|
+ return {
|
|
|
+ ...m
|
|
|
+ };
|
|
|
+ });
|
|
|
+
|
|
|
+ jobSave(_arr2).then((res) => {
|
|
|
+ console.log(res);
|
|
|
this.$message.success('入库成功');
|
|
|
this.getList(this.idsList);
|
|
|
- })
|
|
|
+ });
|
|
|
}
|
|
|
}
|
|
|
};
|