Browse Source

报废收货报错问题修复

master_hella_20240701
zhaoxuebing 7 months ago
parent
commit
502840f7e8
  1. 1
      src/views/wms/productionManage/productreceiptscrap/productreceiptscrapRequestMain/index.vue
  2. 4
      src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/supplierinvoiceRequestMain.data.ts

1
src/views/wms/productionManage/productreceiptscrap/productreceiptscrapRequestMain/index.vue

@ -545,6 +545,7 @@ const submitForm = async (formType, data) => {
} }
try { try {
if (formType === 'create') { if (formType === 'create') {
data.productionLineCode = data.subList[0].productionLineCode;
await ProductreceiptRequestMainApi.createProductreceiptRequestMain(data) await ProductreceiptRequestMainApi.createProductreceiptRequestMain(data)
message.success(t('common.createSuccess')) message.success(t('common.createSuccess'))
} else { } else {

4
src/views/wms/supplierManage/supplierinvoice/supplierinvoiceRequestMain/supplierinvoiceRequestMain.data.ts

@ -453,7 +453,6 @@ export const SupplierinvoiceRequestMain = useCrudSchemas(reactive<CrudSchema[]>(
{ {
label: '创建者', label: '创建者',
field: 'creator', field: 'creator',
sort: 'custom',
table: { table: {
width: 150 width: 150
}, },
@ -508,9 +507,8 @@ export const SupplierinvoiceRequestMain = useCrudSchemas(reactive<CrudSchema[]>(
}, },
}, },
{ {
label: '采购', label: '采购价格审批人',
field: 'procurementCreator', field: 'procurementCreator',
sort: 'custom',
sortTableDefault:1003, sortTableDefault:1003,
table: { table: {
width: 150 width: 150

Loading…
Cancel
Save