来料验证,成套领料验证,生产退料验证,下推接口入参更换

This commit is contained in:
刘晓鹏 2025-06-12 17:07:19 +08:00
parent 12fbda1604
commit 41583629d4
2 changed files with 30 additions and 17 deletions

View File

@ -262,18 +262,25 @@
res.data.list.forEach((item : any) => { res.data.list.forEach((item : any) => {
EntryIds.push(item.FVHUBEntryId) EntryIds.push(item.FVHUBEntryId)
ids.push(item.FID) ids.push(item.FID)
// ScanEntry.push({
// FENTRYID: item.FVHUBEntryId,
// Qty: item.FVHUBScanQty,
// Flot: item.FVHUBFlot,
// StockId: item.FVHUBStock,
// StockFlex: item.FVHUBStockFlex
// })
ScanEntry.push({ ScanEntry.push({
FENTRYID: item.FVHUBEntryId, Ids: state.materialId,
Qty: item.FVHUBScanQty, EntryIds: item.FVHUBEntryId,
Flot: item.FVHUBFlot, FQty: item.FVHUBScanQty + ' ',
StockId: item.FVHUBStock,
StockFlex: item.FVHUBStockFlex
}) })
}) })
// //
PRD_ReturnMtrlCheck({ PRD_ReturnMtrlCheck({
EntryIds: EntryIds.toString(), // EntryIds: EntryIds.toString(),
Ids: state.materialId // Ids: state.materialId
Items: ScanEntry
}).then((resA : any) => { }).then((resA : any) => {
if (resA.code === 200) { if (resA.code === 200) {
fStockFlexDetailDelete({ Ids: ids.toString() }).then((res : any) => { fStockFlexDetailDelete({ Ids: ids.toString() }).then((res : any) => {

View File

@ -113,7 +113,7 @@
inputFocus: true, inputFocus: true,
scanFrameDataFeedback: {}, scanFrameDataFeedback: {},
shortcutDataFeedback: {}, shortcutDataFeedback: {},
code:'' code: ''
}) })
onLoad((pageData : any) => { onLoad((pageData : any) => {
console.log(pageData); console.log(pageData);
@ -135,7 +135,7 @@
}) })
const scanConfirmFun = (e : any) => { const scanConfirmFun = (e : any) => {
if(e != '') state.code = e if (e != '') state.code = e
getReceiveBillScanData(state.code) getReceiveBillScanData(state.code)
} }
const shortcutBoxShowShow = (val : boolean) => { const shortcutBoxShowShow = (val : boolean) => {
@ -165,7 +165,7 @@
if (debounceTimer.value !== null) clearTimeout(debounceTimer.value) if (debounceTimer.value !== null) clearTimeout(debounceTimer.value)
debounceTimer.value = setTimeout(() => { debounceTimer.value = setTimeout(() => {
state.queryString = e state.queryString = e
if(e != '') state.code = e if (e != '') state.code = e
if (state.queryString !== '') getReceiveBillScanData(e) if (state.queryString !== '') getReceiveBillScanData(e)
}, 500) }, 500)
} }
@ -272,18 +272,24 @@
res.data.list.forEach((item : any) => { res.data.list.forEach((item : any) => {
EntryIds.push(item.FVHUBEntryId) EntryIds.push(item.FVHUBEntryId)
ids.push(item.FID) ids.push(item.FID)
// ScanEntry.push({
// FENTRYID: item.FVHUBEntryId,
// Qty: item.FVHUBScanQty,
// Flot: item.FVHUBFlot,
// StockId: item.FVHUBStock,
// StockFlex: item.FVHUBStockFlex
// })
ScanEntry.push({ ScanEntry.push({
FENTRYID: item.FVHUBEntryId, Ids: state.materialId,
Qty: item.FVHUBScanQty, EntryIds: item.FVHUBEntryId,
Flot: item.FVHUBFlot, FQty: item.FVHUBScanQty + ' ',
StockId: item.FVHUBStock,
StockFlex: item.FVHUBStockFlex
}) })
}) })
// //
PRD_PickMtrlCheck({ PRD_PickMtrlCheck({
EntryIds: EntryIds.toString(), // EntryIds: EntryIds.toString(),
Ids: state.materialId // Ids: state.materialId
Items: ScanEntry
}).then((res : any) => { }).then((res : any) => {
console.log(); console.log();
if (res.code === 200) { if (res.code === 200) {