From d537d2590774736191a662ddde820c95d5f76414 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AD=A3=E5=9C=A3=E5=8D=8E?= <752718920@qq.com> Date: Fri, 24 Dec 2021 00:12:23 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=95=86=E5=93=81=E9=80=89?= =?UTF-8?q?=E6=8B=A9=E7=9A=84=E4=BB=93=E5=BA=93=E4=BC=A0=E5=80=BC=E9=80=BB?= =?UTF-8?q?=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../components/jeecgbiz/modal/JSelectMaterialModal.vue | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/jshERP-web/src/components/jeecgbiz/modal/JSelectMaterialModal.vue b/jshERP-web/src/components/jeecgbiz/modal/JSelectMaterialModal.vue index c27ca301..ac8c89c2 100644 --- a/jshERP-web/src/components/jeecgbiz/modal/JSelectMaterialModal.vue +++ b/jshERP-web/src/components/jeecgbiz/modal/JSelectMaterialModal.vue @@ -30,7 +30,7 @@ - {{ item.depotName }} @@ -166,7 +166,6 @@ this.resetScreenSize() this.loadTreeData() this.getDepotList() - this.loadData() }, methods: { initBarCode() { @@ -226,6 +225,7 @@ this.title = '选择商品' this.queryParam.q = barCode this.$nextTick(() => this.$refs.material.focus()); + this.initDepotSelect() this.loadData(); this.form.resetFields(); }, @@ -289,7 +289,6 @@ getAction('/depot/findDepotByCurrentUser').then((res) => { if(res.code === 200){ that.depotList = res.data - this.initDepotSelect() } }) }, @@ -300,6 +299,9 @@ } } }, + onDepotChange(value) { + this.queryParam.depotId = value + }, onSelectChange(selectedRowKeys, selectionRows) { this.selectedRowKeys = selectedRowKeys; this.selectionRows = selectionRows;