From 24c4699005da96f45562d7057d80c103b8e428a2 Mon Sep 17 00:00:00 2001 From: WangHan <wwh_work@126,com> Date: 星期五, 03 一月 2025 10:32:34 +0800 Subject: [PATCH] 子级分类在用删除 --- 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