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);
 
-            // 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');
           }
         });
       },