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

This commit is contained in:
2025-06-12 17:07:05 +08:00
parent 39fb07af49
commit 12fbda1604
4 changed files with 11 additions and 7 deletions

View File

@@ -257,6 +257,7 @@
if (res.confirm) {
let ids : any = []
let checkIds : any = []
let ScanEntry : any = []
let param = {
FormId: 'PUR_ReceiveBill',
UserId: uni.getStorageSync('userInfo').Context.UserId,
@@ -272,10 +273,16 @@
})
resLIst.data.list.forEach((item : any) => {
checkIds.push(item.FID)
ScanEntry.push({
Ids:state.materialId,
EntryIds: item.FVHUBEntryId,
FQty: item.FVHUBScanQty + ' ',
})
})
PURReceiveBillScanCheck({
EntryIds: ids.toString(),
Ids: state.materialId
// EntryIds: ids.toString(),
// Ids: state.materialId
Items:ScanEntry
}).then((resCheck : any) => {
if (resCheck.code === 200) {
fStockFlexDetailDelete({ Ids: checkIds.toString() }).then((resDelete : any) => {