diff --git a/yxt-as-ui/src/views/storage/oldPartsInAndOutStorage/index.vue b/yxt-as-ui/src/views/storage/oldPartsInAndOutStorage/index.vue index 6a0f20bc84..9db9aa998a 100644 --- a/yxt-as-ui/src/views/storage/oldPartsInAndOutStorage/index.vue +++ b/yxt-as-ui/src/views/storage/oldPartsInAndOutStorage/index.vue @@ -343,9 +343,13 @@ export default { const choose = this.warehouseList.filter((item) => item.sid === val) if (choose !== null && choose.length > 0) { this.queryParams.params.warehouseName = choose[0].warehouseName + this.queryParams.params.warehouseAreaName = '' + this.queryParams.params.warehouseRackCode = '' this.getWarehouseAreaList(choose[0].sid) } else { this.queryParams.params.warehouseName = '' + this.queryParams.params.warehouseAreaName = '' + this.queryParams.params.warehouseRackCode = '' } }, getWarehouseAreaList(sid) { @@ -359,9 +363,11 @@ export default { const choose = this.warehouseAreaList.filter((item) => item.sid === val) if (choose !== null && choose.length > 0) { this.queryParams.params.warehouseAreaName = choose[0].areaName + this.queryParams.params.warehouseRackCode = '' this.getWareHouseCodeList(choose[0].sid) } else { this.queryParams.params.warehouseAreaName = '' + this.queryParams.params.warehouseRackCode = '' } }, getWareHouseCodeList(sid) { diff --git a/yxt-as-ui/src/views/storage/oldPartsInvertory/index.vue b/yxt-as-ui/src/views/storage/oldPartsInvertory/index.vue index f8a4e60e7b..c3dc4eb099 100644 --- a/yxt-as-ui/src/views/storage/oldPartsInvertory/index.vue +++ b/yxt-as-ui/src/views/storage/oldPartsInvertory/index.vue @@ -340,9 +340,13 @@ export default { const choose = this.warehouseList.filter((item) => item.sid === val) if (choose !== null && choose.length > 0) { this.queryParams.params.warehouseName = choose[0].warehouseName + this.queryParams.params.warehouseAreaName = '' + this.queryParams.params.warehouseRackCode = '' this.getWarehouseAreaList(choose[0].sid) } else { this.queryParams.params.warehouseName = '' + this.queryParams.params.warehouseAreaName = '' + this.queryParams.params.warehouseRackCode = '' } }, getWarehouseAreaList(sid) { @@ -356,9 +360,11 @@ export default { const choose = this.warehouseAreaList.filter((item) => item.sid === val) if (choose !== null && choose.length > 0) { this.queryParams.params.warehouseAreaName = choose[0].areaName + this.queryParams.params.warehouseRackCode = '' this.getWareHouseCodeList(choose[0].sid) } else { this.queryParams.params.warehouseAreaName = '' + this.queryParams.params.warehouseRackCode = '' } }, getWareHouseCodeList(sid) {