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