Browse Source

上传质检报告

master_hella_20240701
chenfang 7 months ago
parent
commit
9b0b5cc2a7
  1. 5
      src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverInspectionDetail/supplierdeliverInspectionDetail.data.ts
  2. 4
      src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/index.vue

5
src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverInspectionDetail/supplierdeliverInspectionDetail.data.ts

@ -56,6 +56,11 @@ export const SupplierdeliverInspectionDetail = useCrudSchemas(reactive<CrudSchem
sort: 'custom', sort: 'custom',
isForm:false, isForm:false,
isSearch: true, isSearch: true,
tableForm: {
type: 'InputNumber',
min: 0,
precision: 6
}
}, },
{ {
label: '备注', label: '备注',

4
src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/index.vue

@ -87,7 +87,7 @@
subDetailTableData:{ subDetailTableData:{
queryParams:[{ queryParams:[{
queryField:'masterId', queryField:'masterId',
rowField:'id' rowField:'masterId'
}], // }], //
getSubList:SupplierdeliverInspectionDetailApi.getSupplierdeliverInspectionDetailPage,// getSubList:SupplierdeliverInspectionDetailApi.getSupplierdeliverInspectionDetailPage,//
tableColumns:SupplierdeliverInspectionDetail.allSchemas.tableColumns, tableColumns:SupplierdeliverInspectionDetail.allSchemas.tableColumns,
@ -625,7 +625,7 @@ const handleUploadQualityReport = async (row) => {
if(uploadFile){ if(uploadFile){
uploadFile['componentProps']['upData']['tableId'] = row.masterId uploadFile['componentProps']['upData']['tableId'] = row.masterId
} }
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 : ''

Loading…
Cancel
Save