diff --git a/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/index.vue b/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/index.vue index 729446ffb..a906c8217 100644 --- a/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/index.vue +++ b/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/index.vue @@ -74,6 +74,11 @@ { } const submitFormUploadQualityReport = async (formType, data) => { + data.subList = ploadQualityReportTableData.value // 拼接子表数据参数 if (formType === 'create') { await SupplierdeliverInspectionDetailApi.createSupplierdeliverInspectionDetail(data) message.success(t('common.createSuccess')) diff --git a/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/supplierdeliverRequestMain.data.ts b/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/supplierdeliverRequestMain.data.ts index efeeb61fd..b03007f2d 100644 --- a/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/supplierdeliverRequestMain.data.ts +++ b/src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/supplierdeliverRequestMain.data.ts @@ -1616,12 +1616,17 @@ export const UploadQualityReport = useCrudSchemas(reactive([ { label: '计量单位', field: 'uom', - sort: 'custom', + dictType: DICT_TYPE.UOM, + dictClass: 'string', + isTable: true, isForm:false, - isTableForm:true, + sort: 'custom', table: { - width: 150, + width: 150 }, + tableForm: { + type: 'Select' + } }, { label: '数量',