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

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

@ -288,9 +288,6 @@
Ids:state.materialId,
EntryIds: item.FVHUBEntryId,
FQty: item.FVHUBScanQty + ' ',
// Flot: item.FVHUBFlot,
// StockId: item.FVHUBStock,
// StockFlex: item.FVHUBStockFlex,
FMaxcessSNo: item.FVHUBJSON
})
})

View File

@ -256,7 +256,7 @@
};
uni.showLoading({ mask: true });
//
temporaryScanList(param).then(res => {
temporaryScanList(param).then((res :any) => {
if (res.code == 200) {
if (res.data.list.length != 0) {
res.data.list.forEach((item : any) => {

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) => {

View File

@ -24954,7 +24954,7 @@ This will fail in production if not fixed.`);
FMaxcessSNo: item.FVHUBJSON
});
});
PRD_FeedMtrlCheck({ Item: ScanEntry }).then((resA) => {
PRD_FeedMtrlCheck({ Items: ScanEntry }).then((resA) => {
if (resA.code === 200) {
fStockFlexDetailDelete({ Ids: ids.toString() }).then((res3) => {
if (res3.code === 200) {