huang_an 2 سال پیش
والد
کامیت
6e1e93a70c
1فایلهای تغییر یافته به همراه9 افزوده شده و 9 حذف شده
  1. 9 9
      src/views/warehouseManagement/stockManagement/add.vue

+ 9 - 9
src/views/warehouseManagement/stockManagement/add.vue

@@ -1421,15 +1421,15 @@
 
 
             console.log('====>>', obj);
             console.log('====>>', obj);
 
 
-            // this.saveLoading = true;
-            // try {
-            //   const res = await outin.save(obj);
-            //   if (res.code == 0) {
-            //     this.$message.success('保存成功!');
-            //   }
-            // } catch (error) {}
-            // this.saveLoading = false;
-            // this.$router.push('/warehouseManagement/stockManagement');
+            this.saveLoading = true;
+            try {
+              const res = await outin.save(obj);
+              if (res.code == 0) {
+                this.$message.success('保存成功!');
+              }
+            } catch (error) {}
+            this.saveLoading = false;
+            this.$router.push('/warehouseManagement/stockManagement');
           }
           }
         });
         });
       },
       },