diff --git a/src/api/wms/supplierdeliverRequestDetail/index.ts b/src/api/wms/supplierdeliverRequestDetail/index.ts index ab0609463..f610cb255 100644 --- a/src/api/wms/supplierdeliverRequestDetail/index.ts +++ b/src/api/wms/supplierdeliverRequestDetail/index.ts @@ -47,6 +47,10 @@ export const getSupplierdeliverRequestDetailPage = async (params) => { export const getGenerateLabelList = async (params) => { return await request.get({ url: `/wms/supplierdeliver-request-detail/generateLabelList`, params }) } +// 上传履历表 +export const uploadCurriculumVitae = async (data) => { + return await request.post({ url: `/wms/supplierdeliver-inspection-detail1/create`, data }) +} // 查询托规格列表 export const getGenerateLabelParentList = async (params) => { return await request.get({ url: `/wms/supplierdeliver-request-detail/generateLabelParentList`, params }) diff --git a/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/index.vue b/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/index.vue index 4f54705a5..bedc09039 100644 --- a/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/index.vue +++ b/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/index.vue @@ -974,7 +974,10 @@ const handleUploadQualityReport = async (row) => { const curriculumVitaeRef = ref() const submitCurriculumVitae = async (formType, data) => { console.log('上传履历表',data) - + await SupplierdeliverRequestDetailApi.uploadCurriculumVitae(data) + message.success(t('common.createSuccess')) + curriculumVitaeRef.value.dialogVisible = false + getList() } /** 上传质量报告 */ const handleUploadCurriculumVitae = async (row) => {