@ -545,6 +545,7 @@ const submitForm = async (formType, data) => {
}
try {
if (formType === 'create') {
data.productionLineCode = data.subList[0].productionLineCode;
await ProductreceiptRequestMainApi.createProductreceiptRequestMain(data)
message.success(t('common.createSuccess'))
} else {
@ -453,7 +453,6 @@ export const SupplierinvoiceRequestMain = useCrudSchemas(reactive<CrudSchema[]>(
{
label: '创建者',
field: 'creator',
sort: 'custom',
table: {
width: 150
},
@ -508,9 +507,8 @@ export const SupplierinvoiceRequestMain = useCrudSchemas(reactive<CrudSchema[]>(
label: '采购员',
label: '采购价格审批人',
field: 'procurementCreator',
sortTableDefault:1003,