diff --git a/src/views/wms/deliversettlementManage/stockup/stockupMainRequest/index.vue b/src/views/wms/deliversettlementManage/stockup/stockupMainRequest/index.vue index 21dcd5810..648331491 100644 --- a/src/views/wms/deliversettlementManage/stockup/stockupMainRequest/index.vue +++ b/src/views/wms/deliversettlementManage/stockup/stockupMainRequest/index.vue @@ -90,7 +90,6 @@ import TableHead from '@/components/TableHead/src/TableHead.vue' import ImportForm from '@/components/ImportForm/src/ImportForm.vue' import Detail from '@/components/Detail/src/Detail.vue' import * as DeliverPlanDetailApi from '@/api/wms/deliverPlanDetail' -import {DeliverRequestDetail} from '../../deliver/deliverRequestMain/deliverRequestMain.data' // 备货申请 defineOptions({ name: 'StockupMainRequest' }) @@ -119,12 +118,8 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) => const setV = {} setV[formField] = val[0][searchField] if (type == 'tableForm') { - if(formField == 'packingNumber') { - row['packingNumber'] = val[0]['packingNumber'] - row['containerNumber'] = val[0]['containerNumber'] - row['batch'] = val[0]['batch'] - row['inventoryStatus'] = val[0]['inventoryStatus'] - row['itemCode'] = val[0]['itemCode'] + if(formField == 'itemCode') { + row['itemCode'] = val[0]['code'] row['uom'] = val[0]['uom'] } if(formField == 'toLocationCode'){ diff --git a/src/views/wms/deliversettlementManage/stockup/stockupMainRequest/stockupMainRequest.data.ts b/src/views/wms/deliversettlementManage/stockup/stockupMainRequest/stockupMainRequest.data.ts index 9e4097441..ee348fd14 100644 --- a/src/views/wms/deliversettlementManage/stockup/stockupMainRequest/stockupMainRequest.data.ts +++ b/src/views/wms/deliversettlementManage/stockup/stockupMainRequest/stockupMainRequest.data.ts @@ -572,7 +572,7 @@ export const StockupDetailRequest = useCrudSchemas(reactive([ tableForm:{ isInpuFocusShow: true, // 开启查询弹窗 searchListPlaceholder: '请选择物料代码', - searchField: 'itemCode', + searchField: 'code', searchTitle: '物料基础信息', searchAllSchemas: Itembasic.allSchemas, searchPage: ItemBasicApi.getItembasicPage,