瀏覽代碼

修改入库查看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();
           });
     },