From 615e5ee71929ec8087d6451cc4a51e5cccd3fe86 Mon Sep 17 00:00:00 2001 From: chenfang Date: Fri, 29 Mar 2024 16:24:10 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=87=E8=B4=A7=E7=89=A9=E6=96=99=E5=B1=95?= =?UTF-8?q?=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../stockup/stockupMainRequest/index.vue | 9 ++------- .../stockupMainRequest/stockupMainRequest.data.ts | 2 +- 2 files changed, 3 insertions(+), 8 deletions(-) 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,