From 735027d05301cc3f1852942eb81503318a25d524 Mon Sep 17 00:00:00 2001
From: Administrator <admin>
Date: Tue, 14 Jun 2022 11:58:38 +0800
Subject: [PATCH] 采收,统计,首页,农产品及库存,农事操作等习惯

---
 src/views/traceability/recovery.vue |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

diff --git a/src/views/traceability/recovery.vue b/src/views/traceability/recovery.vue
index d4c2b84..52cc5ac 100644
--- a/src/views/traceability/recovery.vue
+++ b/src/views/traceability/recovery.vue
@@ -229,7 +229,7 @@
         data['recoveryId'] = this.selectionList[0].id;
         data['bind'] = '0';
       }
-      //新增
+      //修改
       update(data).then(
         () => {
           that.$emit("refreshOnLoad");
@@ -272,6 +272,8 @@
       this.onLoad(this.page, this.query);
     },
     onLoad(page, params = {}) {
+      params['tenantId'] = this.userInfo.tenant_id;
+      params['deptId'] = this.userInfo.dept_id;
       this.loading = true;
       getList(
         page.currentPage,

--
Gitblit v1.9.3