diff --git a/src/api/wms/bomDismantle/index.ts b/src/api/wms/bomDismantle/index.ts index 83b2da219..ac6c85ef8 100644 --- a/src/api/wms/bomDismantle/index.ts +++ b/src/api/wms/bomDismantle/index.ts @@ -16,8 +16,17 @@ export const getProductscrapBomDismantlePage = async (params) => { } -export const getProductscrapBomRecordPage = async (params) => { - return await request.get({ url: `/wms/productscrap-request-main/bomRecordPage`, params }) +export const getProductscrapBomRecordPage = async (params1) => { + console.log('getProductscrapBomRecordPage',params1) + let params = {...params1} + if(params.isRecord){ + delete params.isRecord + return await request.get({ url: `/wms/productscrap-request-main/bomRecordPage`, params }) + }else{ + delete params.isRecord + return await request.get({ url: `/wms/productscrap-request-main/bomPage`, params }) + + } } diff --git a/src/views/qms/inspectionQ3/index.vue b/src/views/qms/inspectionQ3/index.vue index f84c2ead1..8fbbc3a33 100644 --- a/src/views/qms/inspectionQ3/index.vue +++ b/src/views/qms/inspectionQ3/index.vue @@ -71,13 +71,6 @@ @searchTableSuccess="searchTableSuccess" @submitForm="submitForm" @inputNumberChange="inputNumberChange" - :sumFormDataByTableCustom=" - (formRef, formModel, tableData) => { - tableData.forEach((item) => { - item.qty = item.countQty * item.packQty - }) - } - " > - + - - + + - -