yusheng 11 ماه پیش
والد
کامیت
2770fb0e65
1فایلهای تغییر یافته به همراه3 افزوده شده و 2 حذف شده
  1. 3 2
      src/views/warehouseManagement/stockManagement/add.vue

+ 3 - 2
src/views/warehouseManagement/stockManagement/add.vue

@@ -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 {