From 2564f03f0c6e3d83d8a5d6a3368391362c104d6e Mon Sep 17 00:00:00 2001
From: guoshilong <123456>
Date: Fri, 12 Aug 2022 15:14:23 +0800
Subject: [PATCH] 修复选择农场后,还能在地块选择中选择其他农场地块

---
 src/views/farmplant/farmproductstock.vue |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/src/views/farmplant/farmproductstock.vue b/src/views/farmplant/farmproductstock.vue
index 6723798..0f3f548 100644
--- a/src/views/farmplant/farmproductstock.vue
+++ b/src/views/farmplant/farmproductstock.vue
@@ -354,7 +354,6 @@
                 user: "",
                 region: "",
             },
-            selectFarm:"",
             dic:[],
             //销售字段
             form: {
@@ -1139,7 +1138,7 @@
             this.onLoad(this.page)
         },
         selectLand(strainId,index){
-            selectByStrainId(strainId,this.selectFarm).then((res)=>{
+            selectByStrainId(strainId,this.$farmId).then((res)=>{
                 var data = res.data.data
                 if(index == 0){//销售
                     const column = this.findObject(this.option.column, "id")

--
Gitblit v1.9.3