|
|
@ -169,6 +169,7 @@ const { tableObject: detatableDataBom, tableMethods: detatableMethodsBom } =useT |
|
|
|
getListApi: BomDismantleApi.getProductscrapBomRecordPage |
|
|
|
}) |
|
|
|
const { getList:getDetailListBom } = detatableMethodsBom |
|
|
|
detatableDataBom.params.isRecord = false |
|
|
|
/** bom 列表 表单 按钮 */ |
|
|
|
const ButttondataBom = ref([ |
|
|
|
defaultButtons.formSaveBtn(null), // 保存 |
|
|
@ -255,6 +256,7 @@ const buttonOperationClick = async (row, label, index,isSave = false)=> { |
|
|
|
detatableDataBom.params.bomVersion = row.bomVersion |
|
|
|
detailQty.value = row.qty |
|
|
|
bomModelVisible.value = true |
|
|
|
detatableDataBom.params.isRecord = false |
|
|
|
await getDetailListBom() |
|
|
|
console.log(row.fromLocationCode); |
|
|
|
detatableDataBom.tableList.forEach(async (item) => { |
|
|
@ -351,6 +353,7 @@ const tableFormButton = async (val , row) => { |
|
|
|
} |
|
|
|
rowId.value = row.masterId |
|
|
|
detailQty.value = row.qty |
|
|
|
detatableDataBom.params.isRecord = true |
|
|
|
await getDetailListBom() |
|
|
|
//详情 |
|
|
|
isShowFooterButtton.value = false |
|
|
|