|
|
@ -143,7 +143,8 @@ |
|
|
|
@handleAddTable="handleAddQualityReport" |
|
|
|
@handleDeleteTable="handleDeleteQualityReport" |
|
|
|
@submitForm="submitFormUploadQualityReport" |
|
|
|
:isShowReduceButton="true" |
|
|
|
:isShowReduceButton="false" |
|
|
|
:isShowButton="false" |
|
|
|
> |
|
|
|
<template #SupplierdeliverInspectionDetail> |
|
|
|
<span>1111</span> |
|
|
@ -642,11 +643,17 @@ const handleUploadQualityReport = async (row) => { |
|
|
|
} |
|
|
|
ploadQualityReportRef.value.open('create', null, {masterId:row.masterId},'上传质检报告','上传质检报告')//创建标签页面 createLabel 标题 |
|
|
|
const tableFormKeys = {} |
|
|
|
|
|
|
|
SupplierdeliverInspectionDetail.allSchemas.tableFormColumns.forEach((item) => { |
|
|
|
tableFormKeys[item.field] = item.default ? item.default : '' |
|
|
|
}) |
|
|
|
|
|
|
|
uploadQualityReportTableData.value = [tableFormKeys] |
|
|
|
await SupplierdeliverInspectionDetailApi.getSupplierdeliverDetailInfo(row.masterId).then(res => { |
|
|
|
if(res){ |
|
|
|
// console.log("返回结果:",res) |
|
|
|
uploadQualityReportTableData.value = res; |
|
|
|
} |
|
|
|
}) |
|
|
|
//uploadQualityReportTableData.value = [tableFormKeys] |
|
|
|
} |
|
|
|
|
|
|
|
const submitFormUploadQualityReport = async (formType, data) => { |
|
|
|