Browse Source

达明--客户退货申请更换添加明细接口

hella_online_20240924
yufei_wang 2 months ago
parent
commit
7e8acb5d43
  1. 11
      src/api/wms/deliverRecordDetail/index.ts
  2. 4
      src/views/wms/deliversettlementManage/customerreturn/customerreturnRequestMain/index.vue

11
src/api/wms/deliverRecordDetail/index.ts

@ -33,7 +33,16 @@ export interface DeliverRecordDetailVO {
interfaceType: string
jobDetailId: string
}
// 查询发货记录子列表
export const getDeliverRecordDetailPageCustomerreturn = async (params) => {
if (params.isSearch) {
delete params.isSearch
const data = {...params}
return await request.post({ url: '/wms/deliver-record-detail/seniorCustomerreturn', data })
} else {
return await request.get({ url: `/wms/deliver-record-detail/pageCustomerreturn`, params })
}
}
// 查询发货记录子列表
export const getDeliverRecordDetailPage = async (params) => {
if (params.isSearch) {

4
src/views/wms/deliversettlementManage/customerreturn/customerreturnRequestMain/index.vue

@ -142,7 +142,7 @@ const onEnter = async (field,value)=>{
const dateTime = new Date().getTime()
if(field=='customerCode'){
//---
formRef.value.opensearchTable('deliverRecordNumber', 'number', '发货记录信息', DeliverRecordMain.allSchemas, DeliverRecordDetailApi.getDeliverRecordDetailPage,[{
formRef.value.opensearchTable('deliverRecordNumber', 'number', '发货记录信息', DeliverRecordMain.allSchemas, DeliverRecordDetailApi.getDeliverRecordDetailPageCustomerreturn,[{
key: 'available',
value: 'TRUE',
isMainValue: false
@ -215,7 +215,7 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) =>
setV['customerDockCode'] = val[0]['customerDockCode']
//
DeliverRecordDetailApi.getDeliverRecordDetailPage({pageSize:999,masterId:val[0]['masterId']}).then(res => {
DeliverRecordDetailApi.getDeliverRecordDetailPageCustomerreturn({pageSize:999,masterId:val[0]['masterId']}).then(res => {
res.list.forEach(obj => {
let value = null

Loading…
Cancel
Save