From eecc1b6cb3b1e591fe2ef4183b2c9aaa822ca142 Mon Sep 17 00:00:00 2001 From: yufei_wang <2267742828@qq.com> Date: Sat, 12 Oct 2024 15:34:25 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=89=E6=8B=A9=E6=94=B6=E8=B4=A7=E5=8D=95?= =?UTF-8?q?=E6=98=8E=E7=BB=86-=E9=9A=90=E8=97=8F=E7=AD=9B=E9=80=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/wms/purchasereturnRequestDetail/index.ts | 8 +------- .../purchasereturnRequestSpareMain/index.vue | 2 +- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/src/api/wms/purchasereturnRequestDetail/index.ts b/src/api/wms/purchasereturnRequestDetail/index.ts index cead45278..6a7515879 100644 --- a/src/api/wms/purchasereturnRequestDetail/index.ts +++ b/src/api/wms/purchasereturnRequestDetail/index.ts @@ -117,13 +117,7 @@ export const importTemplate = () => { // 选择收货单明细 // 查询采购退货申请子列表 export const queryPurchasereceiptSpareRecordBySupplier = async (params) => { - if (params.isSearch) { - delete params.isSearch - const data = {...params} - return await request.post({ url: '/wms/purchasereceipt-record-detail/queryPurchasereceiptSpareRecordBySupplier', data }) - } else { - return await request.get({ url: `/wms/purchasereceipt-record-detail/queryPurchasereceiptSpareRecordBySupplier`, params }) - } + return await request.get({ url: `/wms/purchasereceipt-record-detail/queryPurchasereceiptSpareRecordBySupplier`, params }) } // 维修退货申请子表数据 diff --git a/src/views/wms/purchasereceiptManage/purchasereturnspare/purchasereturnRequestSpareMain/index.vue b/src/views/wms/purchasereceiptManage/purchasereturnspare/purchasereturnRequestSpareMain/index.vue index f7fac7ad2..5f3ee46ee 100644 --- a/src/views/wms/purchasereceiptManage/purchasereturnspare/purchasereturnRequestSpareMain/index.vue +++ b/src/views/wms/purchasereceiptManage/purchasereturnspare/purchasereturnRequestSpareMain/index.vue @@ -107,7 +107,7 @@ - +