From 9fe1d446eaf3497d241a1a657ab6ea6858d36897 Mon Sep 17 00:00:00 2001 From: wangyufei <2267742828@qq.com> Date: Mon, 26 Aug 2024 15:32:25 +0800 Subject: [PATCH] =?UTF-8?q?HL-5495=20=E9=80=80=E8=B4=A7=E5=BA=93=E4=BD=8D?= =?UTF-8?q?=E6=9B=B4=E6=8D=A2=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/wms/location/index.ts | 9 +++++++++ .../purchasereturnRequestMainNew.data.ts | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/src/api/wms/location/index.ts b/src/api/wms/location/index.ts index d50614a7e..4cde26921 100644 --- a/src/api/wms/location/index.ts +++ b/src/api/wms/location/index.ts @@ -128,6 +128,15 @@ export const selectBusinessTypeOutLocation = async (params) => { return request.get({ url: `/wms/location/pageBusinessTypeOutLocation`, params }) } } +export const selectBusinessTypeOutLocationAll = async (params) => { + if (params.isSearch) { + delete params.isSearch + const data = {...params} + return await request.post({ url: '/wms/location/pageBusinessTypeOutLocationSeniorAll', data }) + } else { + return request.get({ url: `/wms/location/pageBusinessTypeOutLocationAll`, params }) + } +} export const selectPageItemAreaToLocation = async (params) => { diff --git a/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMainNew/purchasereturnRequestMainNew.data.ts b/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMainNew/purchasereturnRequestMainNew.data.ts index e1eb42507..9b2400efc 100644 --- a/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMainNew/purchasereturnRequestMainNew.data.ts +++ b/src/views/wms/purchasereceiptManage/purchasereturn/purchasereturnRequestMainNew/purchasereturnRequestMainNew.data.ts @@ -22,7 +22,7 @@ import { Q2 } from '@/views/qms/inspectionQ2/inspectionQ2.data' import * as ItembasicApi from '@/api/wms/itembasic' import { Itembasic } from '@/views/wms/basicDataManage/itemManage/itembasic/itembasic.data' -let locationList = await LocationApi.selectBusinessTypeOutLocation({ +let locationList = await LocationApi.selectBusinessTypeOutLocationAll({ businessType:'PurchaseReturn', isIn:'out' })