|
|
@@ -2032,15 +2032,16 @@
|
|
|
api(obj)
|
|
|
.then(async (res) => {
|
|
|
console.log('入库成功', res);
|
|
|
+ console.log('入库成功', obj.id);
|
|
|
if (res.code == 0) {
|
|
|
try {
|
|
|
if (type != 'save') {
|
|
|
if (obj.bizType == '12') {
|
|
|
await storageApi.qualityInspectionTwo({
|
|
|
- outInId: res.data[0]
|
|
|
+ outInIds: res.data
|
|
|
});
|
|
|
} else {
|
|
|
- await storageApi.submitTwo({ outInId: res.data[0] });
|
|
|
+ await storageApi.submitTwo({ outInIds:res.data});
|
|
|
}
|
|
|
this.$message.success('入库成功');
|
|
|
} else {
|