Browse Source

HL-5853供应商发货申请增加上传履历表功能,非必填项

hella_online_20240913
yufei_wang 3 months ago
parent
commit
7fceab9a7b
  1. 4
      src/api/wms/supplierdeliverRequestDetail/index.ts
  2. 5
      src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/index.vue

4
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 })

5
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) => {

Loading…
Cancel
Save