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