diff --git a/src/views/wms/purchasereceiptManage/putaway/putawayRequestMain/putawayRequestMain.data.ts b/src/views/wms/purchasereceiptManage/putaway/putawayRequestMain/putawayRequestMain.data.ts index 9a8a5f16f..2435c71cd 100644 --- a/src/views/wms/purchasereceiptManage/putaway/putawayRequestMain/putawayRequestMain.data.ts +++ b/src/views/wms/purchasereceiptManage/putaway/putawayRequestMain/putawayRequestMain.data.ts @@ -3,8 +3,10 @@ import { dateFormatter } from '@/utils/formatTime' const { t } = useI18n() // 国际化 import * as getRequestsettingApi from '@/api/wms/requestsetting/index' -import * as SupplierApi from '@/api/wms/supplier' -import { Supplier } from '@/views/wms/basicDataManage/supplierManage/supplier/supplier.data' +// import * as SupplierApi from '@/api/wms/supplier' +// import { Supplier } from '@/views/wms/basicDataManage/supplierManage/supplier/supplier.data' +import * as InspectRequestMainApi from '@/api/wms/inspectRequestMain' +import { InspectRequestMain } from '@/views/wms/purchasereceiptManage/inspect/inspectRequestMain/inspectRequestMain.data' import * as ItembasicApi from '@/api/wms/itembasic' import { Itembasic } from '@/views/wms/basicDataManage/itemManage/itembasic/itembasic.data' @@ -36,8 +38,8 @@ const userDept = userStore.userSelfInfo.dept */ export const PutawayRequestMain = useCrudSchemas(reactive([ { - label: '供应商代码', - field: 'supplierCode', + label: '到货检验记录单号', + field: 'purchaseReceiptRecordNumber', sort: 'custom', table: { width: 150 @@ -47,11 +49,11 @@ export const PutawayRequestMain = useCrudSchemas(reactive([ // labelMessage: '信息提示说明!!!', componentProps: { isSearchList: true, // 开启查询弹窗 - searchListPlaceholder: '请选择供应商代码', // 输入框占位文本 + searchListPlaceholder: '请选择到货检验记录单号', // 输入框占位文本 searchField: 'code', // 查询弹窗赋值字段 - searchTitle: '供应商信息', // 查询弹窗标题 - searchAllSchemas: Supplier.allSchemas, // 查询弹窗所需类 - searchPage: SupplierApi.getSupplierPage // 查询弹窗所需分页方法 + searchTitle: '到货检验信息', // 查询弹窗标题 + searchAllSchemas: InspectRequestMain.allSchemas, // 查询弹窗所需类 + searchPage: InspectRequestMainApi.getInspectRequestMainPage // 查询弹窗所需分页方法 } } },