From 81e2e31406a7ca549e4d48c7ebfcbcbbe0f304fa Mon Sep 17 00:00:00 2001
From: guoshilong <123456>
Date: Fri, 29 Jul 2022 14:26:55 +0800
Subject: [PATCH] "修复出入库时参数未填报错"

---
 src/views/farm/farmReport.vue |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/views/farm/farmReport.vue b/src/views/farm/farmReport.vue
index 5b48fbf..225556f 100644
--- a/src/views/farm/farmReport.vue
+++ b/src/views/farm/farmReport.vue
@@ -33,7 +33,7 @@
     </avue-crud>
   </basic-container>
 </template>
-
+ 
 <script>
 import { getDetail, getList, update, remove, save } from "@/api/farm/farmPaper";
 import { mapGetters } from "vuex";
@@ -155,7 +155,7 @@
   methods: {
     //新增
     rowSave(row, done, loading) {
-      row["deptId"] = this.farmId;
+      row["farmId"] = this.farmId;
       row["type"] = 1;
       save(row).then(
         () => {
@@ -282,5 +282,5 @@
   },
 };
 </script>
-
-<style></style>
+ 
+<style></style>
\ No newline at end of file

--
Gitblit v1.9.3