From 448be6b132e424b5a757302400c846a2ef41d44e Mon Sep 17 00:00:00 2001 From: gaojs <757918719@qq.com> Date: Fri, 16 Aug 2024 13:42:04 +0800 Subject: [PATCH] =?UTF-8?q?WMS=20bug=EF=BC=9AHL-5231=EF=BC=9A=E5=AE=A2?= =?UTF-8?q?=E6=88=B7=E9=80=80=E8=B4=A7=EF=BC=8C=E7=94=9F=E6=88=90=E6=A0=87?= =?UTF-8?q?=E7=AD=BE=E6=89=93=E5=8D=B0=EF=BC=8C=E5=8F=91=E5=88=B0=E5=AF=84?= =?UTF-8?q?=E5=94=AE=E5=BA=93=E6=98=AF=E5=8E=BB=E5=8C=85=E8=A3=85=E7=9A=84?= =?UTF-8?q?=EF=BC=8C=E9=80=80=E8=B4=A7=E7=94=B3=E8=AF=B7=E6=97=B6=E7=8E=B0?= =?UTF-8?q?=E5=9C=A8=E6=98=AF=E5=B8=A6=E5=87=BA=E5=8C=85=E8=A3=85=E7=9A=84?= =?UTF-8?q?=EF=BC=8C=E5=AF=BC=E8=87=B4pda=E7=9A=84=E5=8C=85=E8=A3=85?= =?UTF-8?q?=E4=B8=8D=E5=AF=B9=EF=BC=8C=E5=BA=94=E5=8E=BB=E6=8E=89=E9=80=80?= =?UTF-8?q?=E8=B4=A7=E7=94=B3=E8=AF=B7=E6=97=B6=E7=9A=84=E5=8C=85=E8=A3=85?= =?UTF-8?q?=EF=BC=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/wms/itempackage/index.ts | 11 +++++++++++ .../customerreturnRequestMain.data.ts | 3 ++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/src/api/wms/itempackage/index.ts b/src/api/wms/itempackage/index.ts index 352a0c9b1..9fa24c8cb 100644 --- a/src/api/wms/itempackage/index.ts +++ b/src/api/wms/itempackage/index.ts @@ -60,6 +60,17 @@ export const getItempackagingPageBySupplierdeliver = async (params) => { } } +// 查询物料包装信息 列表--客户退货申请 +export const getItempackagingPageByCustomerreturn = async (params) => { + if (params.isSearch) { + delete params.isSearch + const data = {...params} + return request.post({ url: '/wms/itempackage/seniorByCustomerreturn', data }) + } else { + return await request.get({ url: `/wms/itempackage/pageByCustomerreturn`, params }) + } +} + // 查询物料包装信息 列表--制品收货申请 export const getItempackagingPageByProductreceipt = async (params) => { if (params.isSearch) { diff --git a/src/views/wms/deliversettlementManage/customerreturn/customerreturnRequestMain/customerreturnRequestMain.data.ts b/src/views/wms/deliversettlementManage/customerreturn/customerreturnRequestMain/customerreturnRequestMain.data.ts index bf1e93890..468dd88ff 100644 --- a/src/views/wms/deliversettlementManage/customerreturn/customerreturnRequestMain/customerreturnRequestMain.data.ts +++ b/src/views/wms/deliversettlementManage/customerreturn/customerreturnRequestMain/customerreturnRequestMain.data.ts @@ -50,6 +50,7 @@ const requestsettingData = data?.list[0] || {} // 获取当前操作人的部门 import { useUserStore } from '@/store/modules/user' import { fa } from 'element-plus/es/locale' +import {getItempackagingPageByCustomerreturn} from "@/api/wms/itempackage/index"; const userStore = useUserStore() const userDept = userStore.userSelfInfo.dept // id 转str 否则form回显匹配不到 @@ -1474,7 +1475,7 @@ export const CustomerReturnRequestDetailLabel = useCrudSchemas(reactive