|
|
@ -116,7 +116,7 @@ const searchTableSuccess = (formField, searchField, val, formRef, type, row ) => |
|
|
|
if(tableData.value.find(item1=>item1['itemCode'] == val[0]['componentItemCode'])){ |
|
|
|
message.warning(`物料${val[0]['componentItemCode']}已经存在`) |
|
|
|
return |
|
|
|
} |
|
|
|
} |
|
|
|
row['itemCode'] = val[0]['componentItemCode'] |
|
|
|
row['uom'] = val[0]['componentUom'] |
|
|
|
} else if(formField == 'workStation'){ |
|
|
@ -419,7 +419,7 @@ const openForm =async (type: string, row?: number) => { |
|
|
|
/** 详情操作 */ |
|
|
|
const detailRef = ref() |
|
|
|
const openDetail = (row: any, titleName: any, titleValue: any) => { |
|
|
|
detailRef.value.openDetail(row, titleName, titleValue) |
|
|
|
detailRef.value.openDetail(row, titleName, titleValue,"planPreparetoissueMain") |
|
|
|
} |
|
|
|
|
|
|
|
/** 删除按钮操作 */ |
|
|
|