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