From d6bcfbf0a553ffa12f56280e30e68906a85827fa Mon Sep 17 00:00:00 2001
From: 18110972313 <780768673@qq.com>
Date: Tue, 29 Apr 2025 17:12:14 +0800
Subject: [PATCH] =?UTF-8?q?update=20=E6=97=A0=E6=9D=A5=E6=BA=90=E8=BD=AC?=
=?UTF-8?q?=E5=BA=93=EF=BC=8C=E8=A7=A3=E5=86=B31.=E8=BD=AC=E5=BA=93?=
=?UTF-8?q?=E7=BB=84=E7=BB=87=E8=A6=81=E7=94=A8=E4=B8=AD=E6=96=87=E6=98=BE?=
=?UTF-8?q?=E7=A4=BA=20=20=20=20=20=20=20=20=20=20=20=20=20=20=20=202.?=
=?UTF-8?q?=E8=BD=AC=E5=85=A5=E4=BB=93=E5=BA=93=E8=A6=81=E5=81=9A=E8=81=94?=
=?UTF-8?q?=E5=8A=A8=EF=BC=8C=E8=BD=AC=E5=85=A5=E7=BB=84=E7=BB=87=E5=8F=98?=
=?UTF-8?q?=E6=9B=B4=E6=97=B6=E5=88=9D=E5=A7=8B=E5=8C=96=E8=BD=AC=E5=85=A5?=
=?UTF-8?q?=E4=BB=93=E5=BA=93=E5=88=97=E8=A1=A8=EF=BC=8C=E5=8F=AA=E5=B1=95?=
=?UTF-8?q?=E7=A4=BA=E8=BD=AC=E5=85=A5=E7=BB=84=E7=BB=87=E7=9A=84=E4=BB=93?=
=?UTF-8?q?=E5=BA=93?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/views/stocked/NoOrMoveLibrary/index.vue | 27 +++++++++++++++++++--
1 file changed, 25 insertions(+), 2 deletions(-)
diff --git a/src/views/stocked/NoOrMoveLibrary/index.vue b/src/views/stocked/NoOrMoveLibrary/index.vue
index e88cda2..6a854b8 100644
--- a/src/views/stocked/NoOrMoveLibrary/index.vue
+++ b/src/views/stocked/NoOrMoveLibrary/index.vue
@@ -202,11 +202,12 @@
v-model="queryParams.params.destinationErpFactory"
placeholder="下拉选择组织"
size="small"
+ @change="changeSpcERPFactory"
>
@@ -644,7 +645,7 @@ function changeFac(e: any) {
(item.ERPFACTORY === e)
)
}
-
+ changeSpcERPFactory(e)
}
function changeERPLocation(e: any) {
// console.log(e)
@@ -681,6 +682,7 @@ function ERPFactoryQuery() {
(item.ERPFACTORY === state.queryParams.params.ERPFACTORY)
)
}
+ changeSpcERPFactory(state.queryParams.params.ERPFACTORY)
state.queryParams.params.destinationErpFactory = state.queryParams.params.ERPFACTORY
})
.catch(() => {})
@@ -1103,6 +1105,27 @@ async function getStorageSpecLocationList() {
state.locDecListAll = res.resultObj;
});
}
+
+function changeSpcERPFactory(e: any) {
+ state.locDecList1 = [] as any
+ getQueryList({
+ queryId: 'GetErpLocationList',
+ version: 'WEB00001',
+ params: {
+ SITENAME: localStorage.getItem('siteName') || 'SDK',
+ ERPFACTORYNAME: e
+ },
+ pageNum: 1,
+ pageSize: 10
+ })
+ .then((res: any) => {
+ state.locDecList1 = res.data
+ /* state.ERPLocationList.unshift({
+ ENUMVALUE: ''
+ })*/
+ })
+ .catch(() => {})
+}