Browse Source

WMS bug:HL-5231:客户退货,生成标签打印,发到寄售库是去包装的,退货申请时现在是带出包装的,导致pda的包装不对,应去掉退货申请时的包装,

hella_online_20240816
gaojs 3 months ago
parent
commit
448be6b132
  1. 11
      src/api/wms/itempackage/index.ts
  2. 3
      src/views/wms/deliversettlementManage/customerreturn/customerreturnRequestMain/customerreturnRequestMain.data.ts

11
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) {

3
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<CrudSche
searchField: 'packQty',
searchTitle: '物品包装信息',
searchAllSchemas: Itempackaging.allSchemas,
searchPage: ItemPackageApi.getItempackagingPageBySupplierdeliver,
searchPage: ItemPackageApi.getItempackagingPageByCustomerreturn,
searchCondition: [
{
key: 'itemCode',

Loading…
Cancel
Save