From 7fceab9a7b2b337f63876d2e1af7a2cbf8160491 Mon Sep 17 00:00:00 2001 From: yufei_wang <2267742828@qq.com> Date: Wed, 11 Sep 2024 13:40:22 +0800 Subject: [PATCH] =?UTF-8?q?HL-5853=E4=BE=9B=E5=BA=94=E5=95=86=E5=8F=91?= =?UTF-8?q?=E8=B4=A7=E7=94=B3=E8=AF=B7=E5=A2=9E=E5=8A=A0=E4=B8=8A=E4=BC=A0?= =?UTF-8?q?=E5=B1=A5=E5=8E=86=E8=A1=A8=E5=8A=9F=E8=83=BD=EF=BC=8C=E9=9D=9E?= =?UTF-8?q?=E5=BF=85=E5=A1=AB=E9=A1=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/wms/supplierdeliverRequestDetail/index.ts | 4 ++++ .../supplierdeliver/supplierdeliverRequestMain/index.vue | 5 ++++- 2 files changed, 8 insertions(+), 1 deletion(-) 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) => {