Browse Source

质检明细

master_hella_20240701
yufei0306 7 months ago
parent
commit
1bc006f1f3
  1. 6
      src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/index.vue
  2. 11
      src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/supplierdeliverRequestMain.data.ts

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

@ -74,6 +74,11 @@
<!-- 详情 -->
<Detail
ref="detailRef"
:annexTable="[{
label: '质检明细',
prop: 'uploadFile',
tableName:'uploadFile'
}]"
:isBasic="false"
:allSchemas="SupplierdeliverRequestMain.allSchemas"
:detailAllSchemas="SupplierdeliverRequestDetail.allSchemas"
@ -580,6 +585,7 @@ const handleUploadQualityReport = async (id: number) => {
}
const submitFormUploadQualityReport = async (formType, data) => {
data.subList = ploadQualityReportTableData.value //
if (formType === 'create') {
await SupplierdeliverInspectionDetailApi.createSupplierdeliverInspectionDetail(data)
message.success(t('common.createSuccess'))

11
src/views/wms/purchasereceiptManage/supplierdeliver/supplierdeliverRequestMain/supplierdeliverRequestMain.data.ts

@ -1616,12 +1616,17 @@ export const UploadQualityReport = useCrudSchemas(reactive<CrudSchema[]>([
{
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: '数量',

Loading…
Cancel
Save