From 1b8db0473522c886428767f7eeaaf7f52d47ce42 Mon Sep 17 00:00:00 2001
From: futian.liu <liufutianyoo@163.com>
Date: 星期三, 20 十二月 2023 15:30:41 +0800
Subject: [PATCH] 1.盘带人级联 2.盘点物品为仓库内物品

---
 admin-web/src/views/stock/inventorycount/inventorytask/edit.vue |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/admin-web/src/views/stock/inventorycount/inventorytask/edit.vue b/admin-web/src/views/stock/inventorycount/inventorytask/edit.vue
index 449175e..5bca285 100644
--- a/admin-web/src/views/stock/inventorycount/inventorytask/edit.vue
+++ b/admin-web/src/views/stock/inventorycount/inventorytask/edit.vue
@@ -11,7 +11,7 @@
         />
       </el-form-item>
       <el-form-item label="鐩樼偣浠撳簱" prop="warehouseId">
-        <el-select v-model="formData.warehouseId" placeholder="璇烽�夋嫨" style="width: 100%">
+        <el-select @change="getPdr" v-model="formData.warehouseId" placeholder="璇烽�夋嫨" style="width: 100%">
           <el-option v-for="item in warehouseOptions" :key="item.id" :label="item.warehouseName" :value="item.id" />
         </el-select>
       </el-form-item>
@@ -97,7 +97,7 @@
       this.formData.businessFormName = formatDate(new Date(), 'yyyy骞碝M鏈堜唤鐩樼偣');
     }
     this.handleSelectTenantWarehouse();
-    this.getPdr();
+    //this.getPdr();
     this.getJpr();
   },
   methods: {
@@ -113,7 +113,7 @@
     },
     // 鑾峰彇鐩樼偣浜�
     getPdr() {
-      warehouseManagerList({ tenantId: this.userInfo.tenantId }).then((res) => {
+      warehouseManagerList({ warehouseId: this.formData.warehouseId }).then((res) => {
         this.count++
         this.operatorOptions = res;
         if(this.count>1){

--
Gitblit v1.9.1