فهرست منبع

修改入库查看id相同问题

caojunjie 4 سال پیش
والد
کامیت
93efedaabb
1فایلهای تغییر یافته به همراه3 افزوده شده و 4 حذف شده
  1. 3 4
      src/views/Warehousing/inStock/AddOrUpdate.vue

+ 3 - 4
src/views/Warehousing/inStock/AddOrUpdate.vue

@@ -8413,6 +8413,7 @@ export default {
       if (this.$route.query.id) {
         this.$router.push({query: {}});
       }
+      this.form.fId = ''
       this.resetForm("form");
       this.resetForm("importList");
       this.detailList = [];
@@ -8427,11 +8428,9 @@ export default {
         confirmButtonText: "保存",
         cancelButtonText: "取消",
         type: "warning",
-      })
-          .then(() => {
+      }).then(() => {
             this.saveForm("goBack");
-          })
-          .catch(() => {
+          }).catch(() => {
             this.cancel();
           });
     },